[jboss-user] [JBoss jBPM] - JBpm BPEL deploy error

peetair do-not-reply at jboss.com
Thu Aug 2 04:31:51 EDT 2007


Hi!

I'm trying to deploy my BPEL under jboss. The example hello.bpel deployed, so the server is working. 

I made the .bpel with the eclipse BPEL editor. I have a wsdl and an xsd file from a webservice that i'd like to invoke from the bpel process.

my bpel-definition.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<bpelDefinition location="IopUpload.bpel" xmlns="http://myns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.iop.hu/2004 http://localhost/wsp-jaxws?xsd=1">

  
    
    
  



the ant target deploy-definition creates the .zip package but it gives error code 500. And in the jboss log:

2007-08-02 09:41:50,852 ERROR [org.jbpm.bpel.xml.ProblemHandler]  IopUpload.bpel could not read process document
java.lang.NullPointerException
	at org.jbpm.bpel.graph.def.ImportsDefinition.getMessage(ImportsDefinition.java:162)
	at org.jbpm.bpel.graph.def.ImportsDefinition.getMessageType(ImportsDefinition.java:260)
	at org.jbpm.bpel.xml.BpelReader.getMessageType(BpelReader.java:789)
	at org.jbpm.bpel.xml.BpelReader.getVariableType(BpelReader.java:765)
	at org.jbpm.bpel.xml.BpelReader.readVariable(BpelReader.java:744)
	at org.jbpm.bpel.xml.BpelReader.readVariables(BpelReader.java:725)
	at org.jbpm.bpel.xml.BpelReader.readScope(BpelReader.java:490)
	at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:251)
	at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:200)
	at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser.java:48)
	at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:81)
	at org.jbpm.bpel.web.ProcessDeployServlet.doGet(ProcessDeployServlet.java:50)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
	at java.lang.Thread.run(Thread.java:619)
2007-08-02 09:41:50,852 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-bpel].[processDeployServlet]] Servlet.service() for servlet processDeployServlet threw exception
org.jbpm.jpdl.JpdlException: [[ERROR] IopUpload.bpel could not read process document]
	at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:84)
	at org.jbpm.bpel.web.ProcessDeployServlet.doGet(ProcessDeployServlet.java:50)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
	at java.lang.Thread.run(Thread.java:619)


I looked in the src. The null pointer comes when it tries to getMessage and go through the imports List.

I use soap with attachment as input for receive in the process which is defined in the XSD file. 

Any ideas?

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

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



More information about the jboss-user mailing list