Problema in Example "ConcurrencyGraphBased"
by Rogerio Baldini das Neves
Hi Guys,
I am trying to run ConcurrencyGraphBased example.
When I tried to start a new process instance, I've gotten this error:
15:01:47,710 ERROR [STDERR] 10523781 [http-127.0.0.1-80-3] ERROR
org.jboss.resteasy.core.SynchronousDispatcher - failed to execute
15:01:47,710 ERROR [STDERR] javax.ws.rs.WebApplicationException:
java.lang.RuntimeException: Unexpected invocation exception: null
15:01:47,710 ERROR [STDERR] at
org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade
.java:194)
15:01:47,710 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:01:47,710 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
15:01:47,710 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
15:01:47,710 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:597)
15:01:47,710 ERROR [STDERR] at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:11
7)
15:01:47,710 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:26
0)
15:01:47,711 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
15:01:47,711 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
15:01:47,711 ERROR [STDERR] at
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtili
ties.java:142)
15:01:47,711 ERROR [STDERR] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.j
ava:356)
15:01:47,711 ERROR [STDERR] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.j
ava:173)
15:01:47,711 ERROR [STDERR] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(Http
ServletDispatcher.java:93)
15:01:47,711 ERROR [STDERR] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(Http
ServletDispatcher.java:68)
15:01:47,711 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
15:01:47,711 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
15:01:47,711 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
15:01:47,711 ERROR [STDERR] at
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:
59)
15:01:47,712 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
15:01:47,712 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
15:01:47,712 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:96)
15:01:47,712 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
15:01:47,712 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
15:01:47,712 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:235)
15:01:47,712 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
15:01:47,712 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:190)
15:01:47,712 ERROR [STDERR] at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:433)
15:01:47,712 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
92)
15:01:47,712 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(Secu
rityContextEstablishmentValve.java:126)
15:01:47,712 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(Secur
ityContextEstablishmentValve.java:70)
15:01:47,713 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
)
15:01:47,713 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102
)
15:01:47,713 ERROR [STDERR] at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnecti
onValve.java:158)
15:01:47,713 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
15:01:47,713 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
15:01:47,713 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
15:01:47,713 ERROR [STDERR] at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
11Protocol.java:601)
15:01:47,713 ERROR [STDERR] at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
15:01:47,713 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
15:01:47,713 ERROR [STDERR] Caused by: java.lang.RuntimeException:
Unexpected invocation exception: null
15:01:47,714 ERROR [STDERR] at
org.jboss.bpm.console.server.util.InvocationProxy.invoke(InvocationProxy.jav
a:80)
15:01:47,714 ERROR [STDERR] at $Proxy146.newInstance(Unknown Source)
15:01:47,714 ERROR [STDERR] at
org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade
.java:189)
15:01:47,714 ERROR [STDERR] ... 38 more
15:01:47,714 ERROR [STDERR] Caused by:
java.lang.reflect.InvocationTargetException
15:01:47,714 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:01:47,714 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
15:01:47,714 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
15:01:47,714 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:597)
15:01:47,714 ERROR [STDERR] at
org.jboss.bpm.console.server.util.InvocationProxy.invoke(InvocationProxy.jav
a:64)
15:01:47,714 ERROR [STDERR] ... 40 more
15:01:47,715 ERROR [STDERR] Caused by: java.lang.NullPointerException
15:01:47,715 ERROR [STDERR] at
org.jbpm.integration.console.ModelAdaptor.execution2TokenReference(ModelAdap
tor.java:101)
15:01:47,715 ERROR [STDERR] at
org.jbpm.integration.console.ModelAdaptor.adoptExecution(ModelAdaptor.java:7
3)
15:01:47,715 ERROR [STDERR] at
org.jbpm.integration.console.ProcessManagementImpl.newInstance(ProcessManage
mentImpl.java:250)
15:01:47,715 ERROR [STDERR] ... 45 more
Can anybody help me ?
Thanks,
Rogerio.
15 years, 4 months
[jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
by pbaltz
Yes, I tried that, and it still has issues. Here's the relevant bean definition. (I tried the mbean name both the way you specified, and the way it shows up in JMX console.) Also, I've tried with and without the dataSource property specified in addition to the dependency.
| <bean name="org.jbpm:service=ProcessEngine"
| class="org.jbpm.integration.spi.JBPMService">
| <property name="serverConfig"><inject bean="org.jbpm:service=ServerConfig"/></property>
| <!--
| <property name="dataSource">
| <inject bean="jboss.jca:service=DataSourceBinding,name=JbpmDS" />
| </property>
| -->
| <depends>jboss.jca:name=JbpmDS,service=DataSourceBinding</depends>
| </bean>
|
This results in the following error with the ProcessEngine not bound in JNDI.
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.beans:service=JBossBeanDeployment,name='jbpm-service.sar#jbpm-service.beans'
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Cannot start AbstractKernelDeployment@17b51e8{name=file:/opt/jboss/jboss-4.2.3.GA/server/TDS/deploy/jbpm/jbpm-service.sar/jbpm-service.beans/META-INF/jboss-beans.xml installed=true beans=[AbstractBeanMetaData@13e6577{name=org.jbpm:service=KernelLocator bean=org.jbpm.integration.util.KernelLocator properties=[kernel] constructor=null}, AbstractBeanMetaData@1776d65{name=org.jbpm:service=ProcessEngine bean=org.jbpm.integration.spi.JBPMService properties=[serverConfig] constructor=null demands=[jboss.jca:name=JbpmDS,service=DataSourceBinding]}, AbstractBeanMetaData@1af1934{name=org.jbpm:service=ServerConfig bean=org.jbpm.integration.jboss4.mgmt.ServerConfig properties=[webServiceHost] constructor=null}]}; - nested throwable: (java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS MISSING DEPENDENCIES:
| org.jbpm:service=ProcessEngine -> org.jbpm:service=ServerConfig{Configured:Installed}, jboss.jca:name=JbpmDS,service=DataSourceBinding{Create:NOT FOUND}, jboss.jca:name=JbpmDS,service=DataSourceBinding{Start:NOT FOUND}
| )
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.beans:service=JBossBeanDeployment,name='jbpm-service.sar#jbpm-service.beans'
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Cannot start AbstractKernelDeployment@17b51e8{name=file:/opt/jboss/jboss-4.2.3.GA/server/TDS/deploy/jbpm/jbpm-service.sar/jbpm-service.beans/META-INF/jboss-beans.xml installed=true beans=[AbstractBeanMetaData@13e6577{name=org.jbpm:service=KernelLocator bean=org.jbpm.integration.util.KernelLocator properties=[kernel] constructor=null}, AbstractBeanMetaData@1776d65{name=org.jbpm:service=ProcessEngine bean=org.jbpm.integration.spi.JBPMService properties=[serverConfig] constructor=null demands=[jboss.jca:name=JbpmDS,service=DataSourceBinding]}, AbstractBeanMetaData@1af1934{name=org.jbpm:service=ServerConfig bean=org.jbpm.integration.jboss4.mgmt.ServerConfig properties=[webServiceHost] constructor=null}]}; - nested throwable: (java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS MISSING DEPENDENCIES:
| org.jbpm:service=ProcessEngine -> org.jbpm:service=ServerConfig{Configured:Installed}, jboss.jca:name=JbpmDS,service=DataSourceBinding{Create:NOT FOUND}, jboss.jca:name=JbpmDS,service=DataSourceBinding{Start:NOT FOUND}
| )
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257967#4257967
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257967
15 years, 4 months
[jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
by pbaltz
"kukeltje" wrote : I'm no jboss service /.sar specialist, but afaik, it should wait until the datasource is deployed.
|
| At least is does this for JBoss AS 5 in distro/src/main/files/install/src/jboss/config.jboss5/deploy/jbpm/jbpm-service.sar/jbpm-service-jboss-beans.xml
|
| for 4 in distro/src/main/files/install/src/jboss/config.jboss4/deploy/jbpm/jbpm-service.sar/jboss-beans.xml this seams missing. Can you try adding something similar in this file and see if it works then.
I had been trying this initially, somewhat unintentionally, and injecting the datasource there didn't make a difference. I also tried various configurations of adding the state attribute to the JbpmDS injection and the demand and depends elements, none of which worked.
I don't know if it is a difference with the microcontainer, because all the links to version 1.x of that on jboss.org seem to be broken. Perhaps, there is some low-level configuration with the microcontainer that will make it wait?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257924#4257924
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257924
15 years, 4 months