-
1. Re: Problem when deploying jbpm-bpel and Jboss Portal
gagan_123456 May 21, 2008 6:37 AM (in response to jannis84)Hey .. when youy are running then have you cretaed Databse schema or not ??
If not then create database schema "http://localhost:8080/jbpm-bpel" Database schema Section.. -
2. Re: Problem when deploying jbpm-bpel and Jboss Portal
aguizar May 23, 2008 12:29 PM (in response to jannis84)To avoid conflicts with other applications that use the default hibernate configuration file name (hibernate.cfg.xml) it was renamed jbpm.hibernate.cfg.xml in jBPM BPEL. Who throws the exception, Portal or jBPM?
-
3. Re: Problem when deploying jbpm-bpel and Jboss Portal
eddydiaz Jan 22, 2009 10:45 AM (in response to jannis84)I have the same problem. I have installed jboss-portal-2.7.0.GA and jbpm-bpel-1.1.1. The problem when deploying jbpm-bpel in jboss is:
10:35:29,700 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/JbpmCommandQueue
10:35:29,700 WARN [JMSContainerInvoker] destination not found: queue/JbpmCommandQueue reason: javax.naming.NameNotFoundException: JbpmCommandQueue not bound
10:35:29,700 WARN [JMSContainerInvoker] creating a new temporary destination: queue/JbpmCommandQueue
10:35:29,705 INFO [JbpmCommandQueue] Bound to JNDI name: queue/JbpmCommandQueue
10:35:29,816 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/JbpmJobQueue
10:35:29,816 WARN [JMSContainerInvoker] destination not found: queue/JbpmJobQueue reason: javax.naming.NameNotFoundException: JbpmJobQueue not bound
10:35:29,816 WARN [JMSContainerInvoker] creating a new temporary destination: queue/JbpmJobQueue
10:35:29,820 INFO [JbpmJobQueue] Bound to JNDI name: queue/JbpmJobQueue
10:35:29,825 INFO [EJBDeployer] Deployed: file:/usr/java/jboss-portal/server/default/tmp/deploy/tmp8608262276747418004jbpm-bpel.ear-contents/jbpm-enterprise.jar
10:35:29,918 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-bpel, warUrl=.../tmp/deploy/tmp8608262276747418004jbpm-bpel.ear-contents/jbpm-bpel-exp.war/
10:35:30,095 INFO [Configuration] configuring from resource: hibernate.cfg.xml
10:35:30,095 INFO [Configuration] Configuration resource: hibernate.cfg.xml
10:35:30,098 ERROR [[/jbpm-bpel]] Exception sending context initialized event to listener instance of class org.jbpm.bpel.web.JbpmConfigurationLoader
org.hibernate.HibernateException: hibernate.cfg.xml not found
at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147) -
4. Re: Problem when deploying jbpm-bpel and Jboss Portal
bdavis Jan 22, 2009 4:28 PM (in response to jannis84)@eddydiaz
Do you see hibernate.cfg.xml within your EAR?
It should be either in a jbpm-configuration.jar in the lib of the EAR, or the file placed at the root of the EAR. -
5. Re: Problem when deploying jbpm-bpel and Jboss Portal
eddydiaz Jan 23, 2009 7:10 PM (in response to jannis84)Inside jbpm-configuration.jar are jbpm.hibernate.cfg.xml and jbpm.cfg.xml files. I tried adding to .jar file another hibernate.cfg.xml with the same content of the jbpm.hibernate.cfg.xml, but new error appears:
18:58:55,495 ERROR [[/jbpm-bpel]] Exception sending context initialized event to listener instance of class org.jbpm.bpel.web.JbpmConfigurationLoader
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
.
.
.
.
Caused by: org.jbpm.configuration.ConfigurationException: name 'resource.bpel.modules' is not defined in the configuration. configured names: [resource.parsers, resource.mail.templates, jbpm.mail.from.address, resource.hibernate.cfg.xml, jbpm.task.instance.factory, jbpm.mail.smtp.host, jbpm.variable.resolver, resource.action.types, jbpm.byte.block.size, resource.varmapping, resource.business.calendar, resource.default.modules, jbpm.job.executor, resource.node.types, jbpm.mail.address.resolver, default.jbpm.context, resource.converter, jbpmConfiguration]
at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:76)
at org.jbpm.JbpmConfiguration$Configs.getObject(JbpmConfiguration.java:431)
at org.jbpm.JbpmConfiguration$Configs.getString(JbpmConfiguration.java:434)
at org.jbpm.bpel.graph.def.BpelProcessDefinition.readModuleClasses(BpelProcessDefinition.java:213)
at org.jbpm.bpel.graph.def.BpelProcessDefinition.(BpelProcessDefinition.java:54)