My app throws this on startup: WARN [main] Invocation of destroy method 'shutdown' failed on bean with name 'cxf': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'cmps.hibernateProperties': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
I shutdown the app before I rebuilt, so I'm not sure why this is thrown. Then it throws this: ERROR [main] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.transport.servlet.ServletTransportFactory' defined in class path resource [META-INF/cxf/cxf-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (2) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'bus' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernate.sessionFactory' defined in ServletContext resource [/WEB-INF/classes/webservice.beans.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [hibernate.cfg.xml] cannot be resolved to URL because it does not exist PropertyAccessException 2: org.springframework.beans.MethodInvocationException: Property 'transportIds' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernate.sessionFactory' defined in ServletContext resource [/WEB-INF/classes/webservice.beans.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [hibernate.cfg.xml] cannot be resolved to URL because it does not exist The hibernate.cfg.xml file is in the /WEB-INF/classes directory. -- View this message in context: http://cxf.547215.n5.nabble.com/WARN-main-Invocation-of-destroy-method-shutdown-failed-tp3285155p3285155.html Sent from the cxf-user mailing list archive at Nabble.com.
