I think the problem is that Hibernate is included in JBoss and you need to configure JBoss so the JARs in your WAR take precedence over the appserver's JARs.
Matt On Tue, Sep 23, 2008 at 7:39 AM, Daniele De Francesco <[EMAIL PROTECTED]> wrote: > > Hi, > > actually in my war there were hibernate-annotations.jar and > hibernate-commons-annotations.jar. > Even removing them from the war was useless: the scenario has not changed... > > thx anyway... :-) > > -- > Daniele De Francesco > > > gordian yuan wrote: >> >> hello , >> check your war file WEB-INF/lib already have a hibernate.jar there ? >> >> Regards >> >> gordian >> >> On Tue, Sep 23, 2008 at 6:48 PM, Daniele De Francesco < >> [EMAIL PROTECTED]> wrote: >> >>> >>> Hi all, >>> >>> upon deploying on JBoss 4.x, Tomcat 5/6 and Jetty 6 an appfuse >>> jsf-spring-hibernate war artifact, the following issue came up, every >>> time. >>> >>> 2008-09-23 12:31:32.554:/:INFO: Initializing Spring root >>> WebApplicationContext >>> ERROR [main] ContextLoader.initWebApplicationContext(215) | Context >>> initialization failed >>> org.springframework.beans.factory.BeanCreationException: Error creating >>> bean >>> with name '_filterChainProxyPostProcessor': BeanPostPro >>> cessor before instantiation of bean failed; nested exception is >>> org.springframework.beans.factory.BeanCreationException: Error creat >>> ing bean with name >>> 'org.springframework.transaction.config.internalTransactionAdvisor': >>> Cannot >>> create inner bean '(inner bean)' of t >>> ype [org.springframework.transaction.interceptor.TransactionInterceptor] >>> while setting bean property 'transactionInterceptor'; neste >>> d exception is org.springframework.beans.factory.BeanCreationException: >>> Error creating bean with name '(inner bean)#1': Cannot resol >>> ve reference to bean 'transactionManager' while setting bean property >>> 'transactionManager'; nested exception is org.springframework. >>> beans.factory.BeanCreationException: Error creating bean with name >>> 'transactionManager' defined in class path resource [applicationC >>> ontext-dao.xml]: Instantiation of bean failed; nested exception is >>> java.lang.NoClassDefFoundError: org/hibernate/HibernateException >>> at >>> >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.jav >>> .............. >>> (follows stacktrace) >>> >>> >>> I googled back and forth and I'm still not sure whether this issue is >>> given >>> from spring or jsf or both or something else, the fact is that it's >>> appearing on all appservers I've tried so far... >>> >>> Any idea? >>> >>> TIA >>> >>> -- >>> Daniele De Francesco >>> Senior Java Architect >>> Value Team Italia >>> -- >>> View this message in context: >>> http://www.nabble.com/Deploy-problem-on-all-Application-Servers-tp19625203s2369p19625203.html >>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/Deploy-problem-on-all-Application-Servers-tp19625203s2369p19627907.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
