[JBoss jBPM] - Re: Problem when deploying jbpm-bpel and Jboss Portal
by eddydiaz
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)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204054#4204054
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204054
17 years, 2 months
[JBoss jBPM] - Re: DeploymentDescriptor not setted on IntegrationControl af
by dhanushgopinath
Carlos,
As a workaround You may try setting the deployment descriptor again on the integration control after checking if it has a deployment descriptor. Like this may be
| IntegrationControl integControl = factory
| .getIntegrationControl(bpelProcDef);
|
| // Create DeploymentDescriptor instance
| DeploymentDescriptor deployDesc = new DeploymentDescriptor();
|
| // Create InputSource
| InputSource is = new InputSource(deploymentDescriptorContent input stream
| );
| // Read the deployment descriptor into the deployDesc object
|
| DeploymentDescriptorReader reader = new DeploymentDescriptorReader();
| reader.read(deployDesc, is);
|
| integControl.setDeploymentDescriptor(deployDesc);
Hope this helps. I faced this issue (integration control not holding deploy descriptor) in a different way, a code like this help it fix.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204002#4204002
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204002
17 years, 2 months
[JBoss jBPM] - DeploymentDescriptor not setted on IntegrationControl after
by karluqs
Hi,
I deployed a BPEL process on jBPM. This process has an invoke node to a WS then an wait node and after that another invoke. Everything was working fine, i tested a few times. So for crash recovery test, i shutdown jboss when reached the wait node. After the restart, i waited for the process to continue. It restarted ok but an error ocurred when the second invoke WS was reached.
| java.lang.NullPointerException
| org.jbpm.bpel.integration.jms.IntegrationControl.getPartnerCatalog(IntegrationControl.java:293)
| org.jbpm.bpel.integration.jms.IntegrationControl.createCaller(IntegrationControl.java:261)
| org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:162)
| org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:75)
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
I put a debug on it, so i discovered the following, the property deploymentDescriptor (org.jbpm.bpel.integration.server.DeploymentDescriptor) was not setted on org.jbpm.bpel.integration.jms.IntegrationControl. This property is only setted on org.jbpm.bpel.integration.server.IntegrationConfigurator.contextInitialized(... that it's called when the process is deployed.
When i restart JBoss all my process already deployed can't call WS because the IntegrationControl related to the process don't receive the deploymentDescriptor object on JmsIntegrationServiceFactory.getIntegrationControl(
And another problem, since this deploymentDescriptor is only read from the current deployed process, the old version from the same process will fail after a JBoss restart, because the deployment file don't exist anywhere.
This is a bug, right?
Anybody has a workround for this?
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203999#4203999
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203999
17 years, 2 months
customized user forms
by Abid Hussain
Hello,
I'm wondering about jBPM's capabilities in defining customized user forms for
process tasks to somehow generate "automatically" (more or less) a running web
application (like some commercial tools do provide) from a process definition.
I have been able to define a process and deploy it using jBoss Tools but didn't
find anything about customizing the user's front end.
I found some infos about SEAM integration but nothing which gave me the desired
information.
Have I overlooked something? Does jBPM provide such a feature?
Would be happy if someone could answer my questin or point me to the right place
where to find more information...
Regards,
Abid Hussain
--
Abid Hussain
17 years, 2 months