[jboss-user] [JBoss jBPM] - Urgent, Please help
vpnuser
do-not-reply at jboss.com
Mon Jun 11 07:55:32 EDT 2007
Hi,
This is regarding Hello World Bpel process again. I am stuck at the deployment stage. Please give guidance in moving on.
The error in eclipse is given below
| Buildfile: D:\Va\jbpm-bpel-1.1.Beta3\examples\hello\build.xml
| pack-definition:
| deploy-definition:
| [deployprocess] target url: http://localhost:8080/jbpm-bpel/deploy?processfile=file%3A%2FD%3A%2FVeena%2Fjbpm-bpel-1.1.Beta3%2Fexamples%2Fhello%2Ftarget%2Fhello-process.zip
| [deployprocess] got response code: 500
| BUILD FAILED: D:\Va\jbpm-bpel-1.1.Beta3\examples\common\bpel-build-hello.xml:68: deployment failed, see details in the server console
| Total time: 5 seconds
|
The error in the console is
| 08:32,731 ERROR [[processDeployServlet]] Servlet.service() for servlet processDeployServlet threw exception
| .java.lang.NullPointerException
| at java.util.Properties$LineReader.readLine(Properties.java:365)
| at java.util.Properties.load(Properties.java:293)
| at org.jbpm.util.ClassLoaderUtil.getProperties(ClassLoaderUtil.java:63)
| at org.jbpm.graph.def.ProcessDefinition.createNewProcessDefinition(ProcessDefinition.java:98)
| at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:77)
| 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:595)
|
| The bpel, wsdl and xml files are pasted below.
|
| BPEL is,
|
| |
| | <process name="HelloWorld" targetNamespace="http://jbpm.org/examples/hello"
| | xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
| | xmlns:tns="http://jbpm.org/examples/hello"
| | xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
| |
| | <partnerLinks>
| | <!-- establishes the relationship with the caller agent -->
| | <partnerLink name="caller" partnerLinkType="tns:Greeter-Caller"
| | myRole="Greeter" />
| | </partnerLinks>
| |
| | <variables>
| | <!-- holds the incoming message -->
| | <variable name="request" messageType="tns:nameMessage" />
| | <!-- holds the outgoing message -->
| | <variable name="response" messageType="tns:greetingMessage" />
| | </variables>
| |
| | <sequence>
| |
| | <!-- receive the name of a person -->
| | <receive operation="sayHello" partnerLink="caller" portType="tns:Greeter"
| | variable="request" createInstance="yes" />
| |
| | <!-- compose a greeting phrase -->
| | <assign>
| | <copy>
| | <from expression="concat('Hello, ',
| | bpel:getVariableData('request', 'name'), '!')" />
| | <to variable="response" part="greeting" />
| | </copy>
| | </assign>
| |
| | <!-- reply with the greeting -->
| | <reply operation="sayHello" partnerLink="caller" portType="tns:Greeter"
| | variable="response" />
| | </sequence>
| |
| | </process>
| |
|
| WSDL is,
|
| |
| | <definitions targetNamespace="http://jbpm.org/examples/hello"
| | xmlns="http://schemas.xmlsoap.org/wsdl/"
| | xmlns:tns="http://jbpm.org/examples/hello"
| | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| | xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
| |
| | <!-- characterizes the relationship between the greeter and its caller -->
| | <plt:partnerLinkType name="Greeter-Caller">
| | <plt:role name="Greeter">
| | <plt:portType name="tns:Greeter" />
| | </plt:role>
| | <!-- the Caller does not provide services to the Greeter,
| | this is why we omit the "Caller" role -->
| | </plt:partnerLinkType>
| |
| | <!-- carries the name of a person -->
| | <message name="nameMessage">
| | <part name="name" type="xsd:string" />
| | </message>
| |
| | <!-- carries the greeting -->
| | <message name="greetingMessage">
| | <part name="greeting" type="xsd:string" />
| | </message>
| |
| | <!-- describes the interface presented to callers -->
| | <portType name="Greeter">
| | <operation name="sayHello">
| | <input message="tns:nameMessage" />
| | <output message="tns:greetingMessage" />
| | </operation>
| | </portType>
| |
| | </definitions>
| |
|
| bpel-definition.xml is given below.
|
|
| | <?xml version="1.0" encoding="UTF-8"?>
| | <bpelDefinition location="hello.bpel" xmlns="http://jbpm.org/bpel"
| | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| |
| |
| | <!-- makes WSDL interface elements available to the process -->
| | <imports>
| | <wsdl location="hello.wsdl" />
| | </imports>
| |
| | </bpelDefinition>
| |
| |
|
|
| It is creating the hello-process.zip file in the target directory however not getting deployed. I tried the same for JBoss application server 4.0.4GA and 4.0.5GA. And jbpm-bpel-1.1.Beta3 is used.
|
| Please help me in this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053056#4053056
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053056
More information about the jboss-user
mailing list