Results 1 to 2 of 2

Thread: Trace the real exception during startup

  1. #1
    Join Date
    Jan 2012
    Posts
    3

    Question Trace the real exception during startup

    Hi to all:
    I'm migration from Spring 2 to 3 and I'm finding difficulties to solve the problems because I cannot see the real exception that prevents Spring from launching, for example in my log file I get:

    2012/01/09 13:52:33 | [DEBUG] [WrapperSimpleAppMain] org.springframework.beans.factory.support.DefaultL istableBeanFactory - Autowiring by type from bean name 'comServer' via factory method to bean named 'moduleList'
    2012/01/09 13:52:33 | [DEBUG] [WrapperSimpleAppMain] org.springframework.beans.factory.support.DefaultL istableBeanFactory - Returning cached instance of singleton bean 'comServerMonitoring'
    2012/01/09 13:52:33 | [INFO] [WrapperSimpleAppMain] org.springframework.beans.factory.support.DefaultL istableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@12462b3: defining beans [org.springframework.context.annotation.internalCon figurationAnnotationProcessor,org.springframework. context.annotation.internalAutowiredAnnotationProc essor,org.springframework.context.annotation.inter nalRequiredAnnotationProcessor,org.springframework .context.annotation.internalCommonAnnotationProces sor,systemSettings,placeholderConfig,inMemoryNodeR epositoryConfig,tmbStandaloneConfig,transactionMod ule,monitoringModule,downloadModule,tmbAdapterModu le,moduleList,ftpServer,ebsServiceLocator,dbServer Storage,bussinessOnlineMessageDispacther,nodeRepos itory,mbeanRegistry,imdb,nodeBalancer,nodeBalancer Server,nodeBalancerClient,comServerMonitoring,comS erver,serverShell,serverMBeanExporter,baseTransSer ver,defaultTransactionEncoder,defaultTransactionDe coder,transactionRegistry,defaultMessageEncoder,de faultMessageDecoder,onlineMessageRegistry,queueSto rage,imdbWrapper,serverTracking,nodeValidator,serv erStorage,transactionServer,dbClientStorage,pipeTr acking,dbPipe,transactionOnlineMessageRouter,local TransactionFeeder,remoteServerAddressProvider,clie ntStorage,clientTracking,baseTransClient,transacti onClient,transactionMBeanExporter,nodeDistributor, downloadFilePatternRegistry,finalList,draftList,fi nalRepository,draftRepository,inboundInspector,ftp PropertiesProvider,distributor,localActivator,repo sitoryTracking,downloadRepository,downloadVersionL ist,versionSupervisor,downloadDeltaTracking,downlo adDeltaManager,downloadMBeanExporter]; root of factory hierarchy
    But internally a ClassCastException is ocurring (I found it using the debugger). Is there any way to see it in the console or in the log file (I'm using Red5 Server)

  2. #2
    Join Date
    Jan 2009
    Location
    Huntington Beach, CA
    Posts
    718

    Default

    So you console logger isn't logging out the Exception thrown. Is this running through Tomcat or some server like that where there is a log file that logs more and your exception might be printed out there. In what you posted, that isn't an exception stack trace.

    Ah you posted that you are using Red5. I have no experience with it at all. But I am sure it is in their configuration that needs to be fixed and it isn't specific to Spring.

    Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •