[JBoss jBPM] - Re: How to deploy a BPEL process using the APIs?
by dhanushgopinath
HI,
I tried doing the same thing jsports mentioned.. and I was successful to some extend. Some logs came :).
But I hit upon this error. Anyone have any idea?
| 2:41:57,494 DEBUG [Configuration] resolving reference to class: com.ibm.wsdl.PortTypeImpl
| 12:41:57,494 DEBUG [Configuration] resolving reference to class: org.jbpm.bpel.wsdl.impl.OutputImpl
| 12:41:57,494 DEBUG [Configuration] resolving reference to class: com.ibm.wsdl.MessageImpl
| 12:41:57,494 DEBUG [Configuration] resolving reference to class: com.ibm.wsdl.OperationImpl
| 12:41:57,494 DEBUG [Configuration] resolving reference to class: com.ibm.wsdl.MessageImpl
| 12:41:57,494 DEBUG [Configuration] resolving reference to class: org.jbpm.bpel.graph.def.ImportDefinition
| 12:41:57,635 INFO [NamingHelper] JNDI InitialContext properties:{}
| 12:41:58,135 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/DefaultDS
| javax.naming.NameNotFoundException: jbpmbpel-client not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
|
Thanks
Dhanush
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161526#4161526
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161526
15 years, 11 months
[JBoss jBPM] - [Process Image Not Available] on jbpm-console
by Andre1001
Hi,
I am using JBoss JBPM 3.2.2 and deploying Seam's TODO quickstart in an 4.2.2 server. I noticed that the process (todo) shows up in jbpm-console process list, but there is no process image available (I get [Process Image Not Available] message on screen) followed by the warning above.
When I deploy the same process by Eclipse, the image is available. I also noticed that JBPM_BYTEARRAY table is updated with Eclipse Deployment. The same doesn't happens with .ear deployment.
Is it possible to see a process image deployed in an .ear package?
Thanks.
| 09:13:30,452 WARN [lifecycle] phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1ed25db) threw exception: java.lang.NullPointerException null
| org.jbpm.jsf.core.phase.ProcessFilePhaseListener.beforePhase(ProcessFilePhaseListener.java:102)
| com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
| com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| java.lang.Thread.run(Thread.java:619)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161516#4161516
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161516
15 years, 11 months
[JBoss jBPM] - Error when calling a process from a java class
by ssidhanta
Hi,
I am calling a JBPM process from a java class using the following code:
JbpmConfiguration jbpmConfiguration = JbpmConfiguration.parseResource("jbpm.cfg.xml");
//ProcessDefinition processDefinition=ProcessDefinition.parseParResource("D:\jbpm/src/process.examples/simple.par/processdefinition.xml");
ProcessDefinition processDefinition=ProcessDefinition.parseParResource("simple.war/processdefinition.xml");
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
ProcessInstance processInstance=new ProcessInstance();
jbpmContext.deployProcessDefinition(processDefinition);
Token token=processInstance.getRootToken();
assertSame(processDefinition.getStartState(), token.getNode());
token.signal();
assertSame(processDefinition.getNode("first"), token.getNode());
token.signal();
assertSame(processDefinition.getNode("end"), token.getNode());
On deploying the WR file I am getting this error in the above java class.
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: in is null
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
java.lang.NullPointerException: in is null
java.util.zip.ZipInputStream.(ZipInputStream.java:55)
org.jbpm.graph.def.ProcessDefinition.parseParResource(ProcessDefinition.java:201)
simple.CallProcess.testCallProcess(CallProcess.java:17)
org.apache.jsp.CallMethod_jsp._jspService(org.apache.jsp.CallMethod_jsp:58)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Please help me how can i solve this problem?
thanks in anticipation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161493#4161493
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161493
15 years, 11 months