[jboss-user] [JBoss jBPM] - Re: Deploying Jbpm BPEL with PostGres

karthizap do-not-reply at jboss.com
Wed Apr 8 13:49:06 EDT 2009


I am trying to deploy jbpm-bpel.ear into Jboss 5.0.1EA app server with Oracle 10g environment. Here is the stacktrace i am getting.

10:40:13,770 INFO  [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.2.0.4.0
10:40:13,804 INFO  [Dialect] Using dialect: org.hibernate.dialect.Oracle10gDialect
10:40:13,812 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
10:40:13,815 INFO  [NamingHelper] JNDI InitialContext properties:{}
10:40:13,817 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
10:40:13,819 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
10:40:13,819 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
10:40:13,819 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
10:40:13,819 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
10:40:13,819 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
10:40:13,820 INFO  [SettingsFactory] JDBC batch size: 15
10:40:13,820 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
10:40:13,821 INFO  [SettingsFactory] Scrollable result sets: enabled
10:40:13,821 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
10:40:13,821 INFO  [SettingsFactory] Connection release mode: auto
10:40:13,823 INFO  [SettingsFactory] Default batch fetch size: 1
10:40:13,823 INFO  [SettingsFactory] Generate SQL with comments: enabled
10:40:13,823 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
10:40:13,823 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
10:40:13,823 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
10:40:13,827 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
10:40:13,827 INFO  [SettingsFactory] Query language substitutions: {}
10:40:13,828 INFO  [SettingsFactory] JPA-QL strict compliance: disabled
10:40:13,828 INFO  [SettingsFactory] Second-level cache: enabled
10:40:13,828 INFO  [SettingsFactory] Query cache: disabled
10:40:13,837 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
10:40:13,837 INFO  [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
10:40:13,839 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
10:40:13,839 INFO  [SettingsFactory] Structured second-level cache entries: disabled
10:40:13,847 INFO  [SettingsFactory] Statistics: disabled
10:40:13,847 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
10:40:13,847 INFO  [SettingsFactory] Default entity-mode: pojo
10:40:13,848 INFO  [SettingsFactory] Named query checking : enabled
10:40:13,914 INFO  [SessionFactoryImpl] building session factory
10:40:16,442 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
10:40:16,442 INFO  [NamingHelper] JNDI InitialContext properties:{}
10:40:17,976 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:312)
	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
	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:585)
	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 $Proxy36.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:1598)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
	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:1598)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
	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:698)
	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
	at org.jboss.Main.boot(Main.java:209)
	at org.jboss.Main$1.run(Main.java:547)
	at java.lang.Thread.run(Thread.java:613)
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:1348)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:813)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:829)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
	at javax.naming.InitialContext.lookup(InitialContext.java:351)
	at org.jbpm.msg.jms.JmsMessageServiceFactoryImpl.lookup(JmsMessageServiceFactoryImpl.java:95)
	at org.jbpm.msg.jms.JmsMessageServiceFactoryImpl.getDestination(JmsMessageServiceFactoryImpl.java:83)
	... 63 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:722)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
	at javax.naming.InitialContext.lookup(InitialContext.java:351)
	at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1342)


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224451#4224451

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224451



More information about the jboss-user mailing list