[JBoss Tools] - Run Packaging is missing
by stevenchan Chan
stevenchan Chan [http://community.jboss.org/people/hksteven] created the discussion
"Run Packaging is missing"
To view the discussion, visit: http://community.jboss.org/message/576943#576943
--------------------------------------------------------------
Hi all,
I was using JBossIDE for eclipse 2.0.0 beta 2 and I can freely pack different classes into a EAR, WAR or HAR by selecting "Run Packaging".
However, after upgrading to eclipse 3.6.0 with JBoss Tools 3.2, I find this option is missing and I can no longer run packaging.
Is there any similiar option in the latest version? If there is, could anyone please tell me where it is?
Thanks all!
Hi all,
I was using JBossIDE for eclipse 2.0.0 beta 2 and I can freely pack different classes into a EAR, WAR or HAR by selecting "Run Packaging".
However, after upgrading to eclipse 3.6.0 with JBoss Tools 3.2, I find this option is missing and I can no longer run packaging.
Is there any similiar option in the latest version? If there is, could anyone please tell me where it is?
Thanks all!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576943#576943]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
[JBoss Tools] - JBoss AS 4.2 Server Adapter
by mdrg mdrg
mdrg mdrg [http://community.jboss.org/people/mdrg] created the discussion
"JBoss AS 4.2 Server Adapter"
To view the discussion, visit: http://community.jboss.org/message/576737#576737
--------------------------------------------------------------
Hello,
I'm developing a project for some time, and now I grew tired of lengthy deployments every time I do some change. I tried to use JBoss Tools before, but I had no success in a short timeframe, so I gave up, but now I'm decided to make it work, and use exploded/incremental deployment. As I read, Archiver could do the job, but it requires a lot of configs, so I prefer something more automated, like the server adapers, which are recommended. I want the 4.2 server adapter, as I can only choose between 4.0 and 4.2 in our host provider.
I was using Eclipse 3.6, but I see the compatible release is still beta, so I downloaded Eclipse 3.5 and the latest GA Tools (JBoss AS Tools 2.1.1.v201006011046R only, as I need none of the other tools). I put the feateres and plugins files in place, but the server adapters didn't show up. I used the update site to install all Eclipse dev tools from WTP 3.1.2, but still nothing.
I feel bad for asking for such simple question, but the server adapters simply do not show up (I only have 'JBoss' adapters, not 'JBoss Community').
What am I missing to get started on this?
Any help is welcome!
Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576737#576737]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
[JNDI and Naming] - javax.naming.NameNotFoundException: persistence not bound
by R G
rac-tech [http://community.jboss.org/people/rac-tech] created the discussion
"javax.naming.NameNotFoundException: persistence not bound"
To view the discussion, visit: http://community.jboss.org/message/576880#576880
--------------------------------------------------------------
Hi
I have an ear that consists of a ejb module and a war module. The SpringInitialisationServiceImpl (ejb) listed in the following jboss xml is in a jar file(sss.jar). The sss.jar file is in the lib folder in the ear root(ear/lib) . When this is deployed in JBoss 5, an exception is thrown(list at the bottom).
I can see that just after this exception is thrown, the persistent unit is loading.
Is this a loading sequence issue?
------------------------------------
12:04:55,542 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=Services-ProCat.ear/Services-ProCat.jar#smalllake-bopc
12:04:55,589 INFO [Version] Hibernate Annotations 3.4.0.GA
12:04:55,589 INFO [Environment] Hibernate 3.3.1.GA
12:04:55,605 INFO [Environment] hibernate.properties not found
12:04:55,605 INFO [Environment] Bytecode provider name : javassist
12:04:55,605 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
12:04:55,667 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
12:04:55,667 INFO [Version] Hibernate EntityManager 3.4.0.GA
12:04:55,683 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: smalllake-bopc
-----------------------------------
Any help would be highly appreciated.
The more required details are listed below.
--------------------------------------------------------------------------------------
Struture
-----------
ear/lib
- sss.jar
........
........
ear/META-INF
-application.xml
-jboss-app.xml
ear/abc.jar
-com
-META-INF
-jboss.xml
-persistence.xml
ear/abc.war
---------------------------------------------------------------------------------------
jboss.xml
--------------
<?xml version='1.0' encoding='UTF-8' ?>
<jboss
xmlns=" http://www.jboss.com/xml/ns/javaee http://www.jboss.com/xml/ns/javaee"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://www.jboss.com/xml/ns/javaee http://www.jboss.com/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
version="3.0">
<webservices>
<context-root>@APPLICATION_NAME@/ws</context-root>
</webservices>
<enterprise-beans>
<service>
<ejb-name>SpringInitialisationService</ejb-name>
<ejb-class>com.smalllake.services.util.SpringInitialisationServiceImpl</ejb-class>
<object-name>@APPLICATION_NAME@:service=SpringInitialisationService</object-name>
<management>com.smalllake.services.util.SpringInitialisationService</management>
</service>
</enterprise-beans>
</jboss>
-----------------------------------------------------------------------------------------
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:381)
at org.jboss.ejb3.service.ServiceContainer.create(ServiceContainer.java:206)
....
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:369)
... 61 more
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [null]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [vfszip:/D:/JavaDev/software/jboss-5.1.0.GA/server/default/deploy/Services-ProductCatalogue.ear/Services-ProductCatalogue.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.productCatalogue' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:389)
at com.smalllake.services.util.SpringInitialisationServiceImpl.create(SpringInitialisationServiceImpl.java:25)
... 66 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [vfszip:/D:/JavaDev/software/jboss-5.1.0.GA/server/default/deploy/Services-ProductCatalogue.ear/Services-ProductCatalogue.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.productCatalogue' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:281)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:888)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)
at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143)
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)
... 67 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.productCatalogue' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:273)
... 80 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.productCatalogue' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
... 82 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 101 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1055)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 111 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:108)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:510)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:492)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:656)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:629)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:338)
... 119 more
Caused by: javax.naming.NameNotFoundException: persistence not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201)
at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)
... 133 more
Error
-------
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:381)
at org.jboss.ejb3.service.ServiceContainer.create(ServiceContainer.java:206)
....
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:369)
... 61 more
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [null]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [vfszip:/D:/JavaDev/software/jboss-5.1.0.GA/server/default/deploy/Services-ProCat.ear/Services-ProCat.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.ProCat' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:389)
at com.smalllake.services.util.SpringInitialisationServiceImpl.create(SpringInitialisationServiceImpl.java:25)
... 66 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [vfszip:/D:/JavaDev/software/jboss-5.1.0.GA/server/default/deploy/Services-ProCat.ear/Services-ProCat.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.ProCat' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:281)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:888)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)
at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143)
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)
... 67 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.ProCat' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:273)
... 80 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.ProCat' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
... 82 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 101 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1055)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 111 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:108)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:510)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:492)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:656)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:629)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:338)
... 119 more
Caused by: javax.naming.NameNotFoundException: persistence not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201)
at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)
... 133 more
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576880#576880]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
[Datasource Configuration] - error in deploying the jbpm3.2.3 into the jboss5.0.1
by f rj
f rj [http://community.jboss.org/people/triff] created the discussion
"error in deploying the jbpm3.2.3 into the jboss5.0.1"
To view the discussion, visit: http://community.jboss.org/message/570081#570081
--------------------------------------------------------------
i'm deploying jbpm3.2.3 into jboss 5.0.1,and i get these error:
21:42:35,673 INFO [DatasourceConnectionProvider] Using datasource: java:comp/env/jdbc/JbpmDataSource
21:42:35,674 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.22-community-nt
21:42:35,674 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.10 ( Revision: ${svn.Revision} )
21:42:35,748 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLInnoDBDialect
21:42:35,755 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
21:42:35,758 INFO [NamingHelper] JNDI InitialContext properties:{}
21:42:35,759 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
21:42:35,762 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
21:42:35,763 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
21:42:35,763 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
21:42:35,763 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
21:42:35,763 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
21:42:35,763 INFO [SettingsFactory] JDBC batch size: 15
21:42:35,763 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
21:42:35,764 INFO [SettingsFactory] Scrollable result sets: enabled
21:42:35,764 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
21:42:35,764 INFO [SettingsFactory] Connection release mode: auto
21:42:35,765 INFO [SettingsFactory] Maximum outer join fetch depth: 2
21:42:35,765 INFO [SettingsFactory] Default batch fetch size: 1
21:42:35,765 INFO [SettingsFactory] Generate SQL with comments: enabled
21:42:35,765 INFO [SettingsFactory] Order SQL updates by primary key: disabled
21:42:35,766 INFO [SettingsFactory] Order SQL inserts for batching: disabled
21:42:35,766 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
21:42:35,770 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
21:42:35,770 INFO [SettingsFactory] Query language substitutions: {}
21:42:35,770 INFO [SettingsFactory] JPA-QL strict compliance: disabled
21:42:35,770 INFO [SettingsFactory] Second-level cache: enabled
21:42:35,770 INFO [SettingsFactory] Query cache: disabled
21:42:35,778 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
21:42:35,778 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
21:42:35,779 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
21:42:35,779 INFO [SettingsFactory] Structured second-level cache entries: disabled
21:42:35,786 INFO [SettingsFactory] Echoing all SQL to stdout
21:42:35,787 INFO [SettingsFactory] Statistics: disabled
21:42:35,787 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
21:42:35,787 INFO [SettingsFactory] Default entity-mode: pojo
21:42:35,788 INFO [SettingsFactory] Named query checking : enabled
21:42:35,843 INFO [SessionFactoryImpl] building session factory
21:42:37,788 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
21:42:37,789 INFO [NamingHelper] JNDI InitialContext properties:{}
21:42:42,194 ERROR [[/jbpm-bpel]] Exception sending context initialized event to listener instance of class org.jbpm.bpel.web.JbpmConfigurationLoader
org.jbpm.JbpmException: could not retrieve message destination
at org.jbpm.msg.jms.JmsMessageServiceFactoryImpl.getDestination(JmsMessageServiceFactoryImpl.java:86)
at org.jbpm.msg.jms.JmsMessageServiceFactoryImpl.openService(JmsMessageServiceFactoryImpl.java:112)
at org.jbpm.svc.Services.getService(Services.java:150)
at org.jbpm.svc.Services.getMessageService(Services.java:186)
at org.jbpm.bpel.web.JbpmConfigurationLoader.contextInitialized(JbpmConfigurationLoader.java:54)
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)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: JbpmJobQueue not bound]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1352)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:817)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:833)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jbpm.msg.jms.JmsMessageServiceFactoryImpl.lookup(JmsMessageServiceFactoryImpl.java:95)
at org.jbpm.msg.jms.JmsMessageServiceFactoryImpl.getDestination(JmsMessageServiceFactoryImpl.java:83)
... 69 more
Caused by: javax.naming.NameNotFoundException: JbpmJobQueue not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1346)
... 75 more
how to solve this problem?thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/570081#570081]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months