Deployment problem with AS 5.1
smorelli Aug 3, 2009 10:38 AMHello
I'm trying to transport my ear application (with seam 2.2.0) from jboss AS 4.2.2.GA to AS 5.1.0.GA, I use the JBossEsb 4.6 version.
With AS 5.1.0 I need to remove the spring.esb directory, otherwise at start up the AS first create and next destroy the spring singleton and I get an exception, like this:
2009-08-03 11:08:53,470 INFO [org.hibernate.impl.SessionFactoryObjectFactory] (main) Not binding factory to JNDI, no JNDI name configured 2009-08-03 11:08:53,494 INFO [org.springframework.orm.hibernate3.HibernateTransactionManager] (main) Using DataSource [org.jboss.resource.adapter.jdbc.WrapperDataSource@d5a575] of Hibernate SessionFactory for HibernateTransactionManager 2009-08-03 11:08:54,142 INFO [org.springframework.scheduling.quartz.SchedulerFactoryBean] (main) Loading Quartz config from [ServletContext resource [/WEB-INF/quartz.properties]] 2009-08-03 11:08:54,187 INFO [org.quartz.core.QuartzScheduler] (main) Quartz Scheduler v.1.5.2 created. 2009-08-03 11:08:54,187 INFO [org.quartz.plugins.management.ShutdownHookPlugin] (main) Registering Quartz shutdown hook. 2009-08-03 11:08:54,202 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (main) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1f72309: defining beans [dataSource,storeProcedureManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor,txManager,sessionFactory,usersDao,rolesDao,violazioniDao,immaginiDao,imgContextDao,tipoveicoloDao,stepelaborazioneDao,listeNereDao,processViolDao,contatoriDao,operatorActivityDao,elencovarchiDao,alarmGateGroupDao,alarmDao,statusDao,alarmGestDao,alarmLevelDao,whiteListDao,conversionePermessiDao,conversioneAccessiDao,tipoGiornoDao,tipoFasciaDao,tipoCalendarioDao,workCycleDao,tipoGiornoGroupDao,cfgGateDao,refreshViewDao,prmGateDao,proprietarioDao,specialListDao,categoriaLSDao,logEventiPccDao,eventiPccDao,groupPccDao,cancellazioneDao,propertyPlaceholderConfigurer,mailSender,blackListMailSender,contatoriMailSender,gateMaintenanceMailSender,mailTransformResource,operatorActivityTransformResource,processViolTransformResource,specialListTransformResource,logEventiPccTransformResource,blackListMessageConverter,org.jboss.seam.ioc.spring.SeamScopePostProcessor,register,scheduler,activityDao,comunicationManagerDao,schedulTaskDao,serviceSchedConfig,serviceAuthentication,serviceUsers,serviceElencovarchi,serviceViolazioni,serviceStatusViolazioni,serviceCancellazione,serviceContatori,serviceAlarmGest,serviceAlarmStatus,serviceAlarmLevel,spViewConversioneAccessi,serviceListe,serviceAlarmGateGroup,serviceSignal,serviceMonitor,alarmSender,serviceLogEventi,serviceLog,cacheManager,cacheProviderFacade,cachingAttributeSource,cachingInterceptor,cachingAttributeSourceAdvisor,flushingAttributeSource,flushingInterceptor,flushingAttributeSourceAdvisor]; root of factory hierarchy 2009-08-03 11:08:54,202 INFO [org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean] (main) Closing Hibernate SessionFactory 2009-08-03 11:08:54,202 INFO [org.hibernate.impl.SessionFactoryImpl] (main) closing 2009-08-03 11:08:54,204 INFO [org.springframework.cache.ehcache.EhCacheManagerFactoryBean] (main) Shutting down EHCache CacheManager 2009-08-03 11:08:54,226 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/SirioWeb]] (main) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.ioc.spring.contextLoader at org.jboss.seam.Component.newInstance(Component.java:2144) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:116) at org.jboss.seam.init.Initialization.init(Initialization.java:740) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at org.jboss.web.deployers.WebModule.start(WebModule.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Thank you
Stefano