Andres Bravo [https://community.jboss.org/people/sirandy] created the discussion
"War correctly deployed in Tomcat 6, But failed in JBoss 5.5" To view the discussion, visit: https://community.jboss.org/message/756807#756807 -------------------------------------------------------------- Hi, I have a WAR that was deployed into Tomcat 6 correctly. However when I try to deploy it into JBoss, it is throwing exceptiones, refering to JPA, EntityManager Factory etc, etc... Here a piece of the log: . . . Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [config/context-jpa.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: application] Unable to configure EntityManagerFactory at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) . . . Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '/ProcedureServiceHessian' defined in class path resource [config/context-webservice.xml]: Cannot resolve reference to bean 'procedureService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'procedureService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private mx.gob.conocer.prototype.jpa.dao.CatStageDAO mx.gob.conocer.prototype.service.procedure.impl.ProcedureServiceImpl.catStageDAO; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'catStageDAO': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [config/context-jpa.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: application] Unable to configure EntityManagerFactory Why this could be possible? -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/756807#756807] Start a new discussion in Beginner's Corner at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
