2 Replies Latest reply on May 9, 2007 3:32 AM by Jean-Paul Huybens

    use of partnerlinks in bpel process gives javax.servlet.Serv

    Jean-Paul Huybens Newbie

      Hello there,

      I am working with the BPEL graphics designer plugin for eclipse (versio 0.2.0 in JBoss IDE version 2.0.0 (beta2)., jboss-4.0.5.GA and jbpm-bpel-1.1.Beta3

      I rebuild the hello process succesfully with the graphical designer.

      However, when I extend this project with a partnerlink based upon the account.wsdl file from the account example there is a problem.

      I can successfully run targets ant deploy-definition, generate-service, generate-artifacts, deploy and the webservice of the process comes up.

      When I try to surf to the wsdl link of the service (http://bez2915c:8080/hello/greeter?wsdl) I get the next error:

      javax.servlet.ServletException: no protocol: REPLACE_WITH_ACTUAL_URI
      org.jboss.ws.core.server.AbstractServiceEndpointServlet.handleException(AbstractServiceEndpointServlet.java:129)
      org.jboss.ws.core.server.AbstractServiceEndpointServlet.doGet(AbstractServiceEndpointServlet.java:93)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URI
      java.net.URL.(URL.java:567)
      java.net.URL.(URL.java:464)
      java.net.URL.(URL.java:413)
      org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(WSDLRequestHandler.java:159)
      org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(WSDLRequestHandler.java:183)
      org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(WSDLRequestHandler.java:183)
      org.jboss.ws.core.server.WSDLRequestHandler.getDocumentForPath(WSDLRequestHandler.java:95)
      org.jboss.ws.core.server.ServiceEndpoint.handleWSDLRequest(ServiceEndpoint.java:149)
      org.jboss.ws.core.server.ServiceEndpointManager.processWSDLRequest(ServiceEndpointManager.java:392)
      org.jboss.ws.core.server.AbstractServiceEndpointServlet.doGet(AbstractServiceEndpointServlet.java:89)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      The content of my bpel file:
      --------------------------------
      <?xml version="1.0" encoding="UTF-8"?>
      <bpws:process xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:ns="urn:samples:account" xmlns:tns="http://jbpm.org/examples/hello" exitOnStandardFault="yes" name="HelloWorld" suppressJoinFailure="yes" targetNamespace="http://jbpm.org/examples/hello">
      <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="hello.wsdl" namespace="http://jbpm.org/examples/hello"/>
      <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="account.wsdl" namespace="urn:samples:account"/>
      <bpws:partnerLinks>
      <bpws:partnerLink myRole="Greeter" name="caller" partnerLinkType="tns:Greeter-Caller"/>
      <bpws:partnerLink myRole="accountRequester" name="accountLink" partnerLinkType="ns:AccountLinkType" partnerRole="accountProvider"/>
      </bpws:partnerLinks>
      <bpws:variables>
      <bpws:variable messageType="tns:nameMessage" name="request"/>
      <bpws:variable messageType="tns:greetingMessage" name="response"/>
      <bpws:variable messageType="ns:accessMessage" name="accountLinkResponse"/>
      <bpws:variable messageType="ns:customerMessage" name="accountLinkRequest"/>
      </bpws:variables>
      <bpws:sequence name="main">
      <bpws:receive createInstance="yes" name="receiveInput" operation="sayHello" partnerLink="caller" portType="tns:Greeter" variable="request"/>
      <bpws:assign name="Assign" validate="no">
      <bpws:copy>
      <bpws:from><![CDATA[concat('hello ', $request.name,'!')]]></bpws:from>
      <bpws:to part="greeting" variable="response"/>
      </bpws:copy>
      </bpws:assign>
      <bpws:assign name="copyAccount" validate="no">
      <bpws:copy>
      <bpws:from part="name" variable="request"/>
      <bpws:to part="customerName" variable="accountLinkRequest"/>
      </bpws:copy>
      </bpws:assign>
      <bpws:invoke inputVariable="accountLinkRequest" name="callAccount" operation="checkAccess" outputVariable="accountLinkResponse" partnerLink="accountLink" portType="ns:AccountSystem"/>
      <bpws:reply name="replyOutput" operation="sayHello" partnerLink="caller" portType="tns:Greeter" variable="response"/>
      </bpws:sequence>
      </bpws:process>


      Content of the hello.wsdl:
      -----------------------------
      <?xml version="1.0" encoding="UTF-8"?>
      <bpws:process xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:ns="urn:samples:account" xmlns:tns="http://jbpm.org/examples/hello" exitOnStandardFault="yes" name="HelloWorld" suppressJoinFailure="yes" targetNamespace="http://jbpm.org/examples/hello">
      <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="hello.wsdl" namespace="http://jbpm.org/examples/hello"/>
      <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="account.wsdl" namespace="urn:samples:account"/>
      <bpws:partnerLinks>
      <bpws:partnerLink myRole="Greeter" name="caller" partnerLinkType="tns:Greeter-Caller"/>
      <bpws:partnerLink myRole="accountRequester" name="accountLink" partnerLinkType="ns:AccountLinkType" partnerRole="accountProvider"/>
      </bpws:partnerLinks>
      <bpws:variables>
      <bpws:variable messageType="tns:nameMessage" name="request"/>
      <bpws:variable messageType="tns:greetingMessage" name="response"/>
      <bpws:variable messageType="ns:accessMessage" name="accountLinkResponse"/>
      <bpws:variable messageType="ns:customerMessage" name="accountLinkRequest"/>
      </bpws:variables>
      <bpws:sequence name="main">
      <bpws:receive createInstance="yes" name="receiveInput" operation="sayHello" partnerLink="caller" portType="tns:Greeter" variable="request"/>
      <bpws:assign name="Assign" validate="no">
      <bpws:copy>
      <bpws:from><![CDATA[concat('hello ', $request.name,'!')]]></bpws:from>
      <bpws:to part="greeting" variable="response"/>
      </bpws:copy>
      </bpws:assign>
      <bpws:assign name="copyAccount" validate="no">
      <bpws:copy>
      <bpws:from part="name" variable="request"/>
      <bpws:to part="customerName" variable="accountLinkRequest"/>
      </bpws:copy>
      </bpws:assign>
      <bpws:invoke inputVariable="accountLinkRequest" name="callAccount" operation="checkAccess" outputVariable="accountLinkResponse" partnerLink="accountLink" portType="ns:AccountSystem"/>
      <bpws:reply name="replyOutput" operation="sayHello" partnerLink="caller" portType="tns:Greeter" variable="response"/>
      </bpws:sequence>
      </bpws:process>



      Output of the build process:
      --------------------------------
      D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account>ant clean
      Buildfile: build.xml

      clean:
      [delete] Deleting directory D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\tar
      get

      BUILD SUCCESSFUL
      Total time: 0 seconds
      D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account>ant deploy-definition
      Buildfile: build.xml

      pack-definition:
      [mkdir] Created dir: D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\target
      [zip] Building zip: D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\target\h
      ello-process.zip

      deploy-definition:
      [deployprocess] target url: http://localhost:8080/jbpm-bpel/deploy?processfile=file%3A%2FD%3A%2Fdeve
      lop%2Feclipse%2FworkspaceBPEL%2FBPEL_PROJ%2Fexamples%2Fhello2account%2Ftarget%2Fhello-process.zip
      [deployprocess] got response code: 200

      BUILD SUCCESSFUL
      Total time: 1 second
      D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account>ant generate-service
      Buildfile: build.xml

      pack-definition:

      generate-service:
      [servicegen] 15:54:32,681 INFO JbpmConfiguration : using jbpm configuration resource 'jbpm.cfg.xml'

      [servicegen] 15:54:32,712 DEBUG JbpmConfiguration : loading defaults in jbpm configuration
      [servicegen] 15:54:32,853 DEBUG ObjectFactoryImpl : adding object info 'default.jbpm.context'
      [servicegen] 15:54:32,853 DEBUG ObjectFactoryImpl : adding object info 'resource.hibernate.cfg.xml'
      [servicegen] 15:54:32,868 DEBUG ObjectFactoryImpl : adding object info 'resource.business.calendar'
      [servicegen] 15:54:32,868 DEBUG ObjectFactoryImpl : adding object info 'resource.default.modules'
      [servicegen] 15:54:32,868 DEBUG ObjectFactoryImpl : adding object info 'resource.converter'
      [servicegen] 15:54:32,868 DEBUG ObjectFactoryImpl : adding object info 'resource.action.types'
      [servicegen] 15:54:32,884 DEBUG ObjectFactoryImpl : adding object info 'resource.node.types'
      [servicegen] 15:54:32,884 DEBUG ObjectFactoryImpl : adding object info 'resource.parsers'
      [servicegen] 15:54:32,884 DEBUG ObjectFactoryImpl : adding object info 'resource.varmapping'
      [servicegen] 15:54:32,884 DEBUG ObjectFactoryImpl : adding object info 'resource.mail.templates'
      [servicegen] 15:54:32,884 DEBUG ObjectFactoryImpl : adding object info 'jbpm.byte.block.size'
      [servicegen] 15:54:32,884 DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.smtp.host'
      [servicegen] 15:54:32,884 DEBUG ObjectFactoryImpl : adding object info 'jbpm.task.instance.factory'
      [servicegen] 15:54:32,899 DEBUG ObjectFactoryImpl : adding object info 'jbpm.variable.resolver'
      [servicegen] 15:54:32,899 DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.address.resolver'
      [servicegen] 15:54:32,915 DEBUG ObjectFactoryImpl : adding object info 'jbpm.job.executor'
      [servicegen] 15:54:32,915 DEBUG JbpmConfiguration : loading specific configuration...
      [servicegen] 15:54:32,931 DEBUG ObjectFactoryImpl : adding object info 'default.jbpm.context'
      [servicegen] 15:54:32,931 DEBUG ObjectFactoryImpl : adding object info 'resource.hibernate.cfg.xml'
      [servicegen] 15:54:32,931 DEBUG ObjectFactoryImpl : adding object info 'resource.business.calendar'
      [servicegen] 15:54:32,931 DEBUG ObjectFactoryImpl : adding object info 'resource.converter'
      [servicegen] 15:54:32,931 DEBUG ObjectFactoryImpl : adding object info 'resource.action.types'
      [servicegen] 15:54:32,931 DEBUG ObjectFactoryImpl : adding object info 'resource.node.types'
      [servicegen] 15:54:32,931 DEBUG ObjectFactoryImpl : adding object info 'resource.mail.templates'
      [servicegen] 15:54:32,946 DEBUG ObjectFactoryImpl : adding object info 'resource.default.modules'
      [servicegen] 15:54:32,946 DEBUG ObjectFactoryImpl : adding object info 'resource.parsers'
      [servicegen] 15:54:32,946 DEBUG ObjectFactoryImpl : adding object info 'resource.varmapping'
      [servicegen] 15:54:32,946 DEBUG ObjectFactoryImpl : adding object info 'resource.activity.readers'
      [servicegen] 15:54:32,946 DEBUG ObjectFactoryImpl : adding object info 'resource.catalog.readers'
      [servicegen] 15:54:32,946 DEBUG ObjectFactoryImpl : adding object info 'resource.endpoint.factories'

      [servicegen] 15:54:32,946 DEBUG ObjectFactoryImpl : adding object info 'jbpm.byte.block.size'
      [servicegen] 15:54:32,962 DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.smtp.host'
      [servicegen] 15:54:32,962 DEBUG ObjectFactoryImpl : adding object info 'jbpm.task.instance.factory'
      [servicegen] 15:54:32,962 DEBUG ObjectFactoryImpl : adding object info 'jbpm.variable.resolver'
      [servicegen] 15:54:32,962 DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.address.resolver'
      [servicegen] 15:54:32,962 DEBUG ObjectFactoryImpl : adding object info 'jbpm.job.executor'
      [servicegen] 15:54:32,978 DEBUG ObjectFactoryImpl : adding object info 'jbpm.bpel.soap.fault.writers
      '
      [servicegen] 15:54:32,978 DEBUG ObjectFactoryImpl : adding object info 'jbpmConfiguration'
      [servicegen] 15:54:33,103 DEBUG BpelDefinition : registered module class: org.jbpm.bpel.graph.def.Im
      portsDefinition
      [servicegen] 15:54:33,103 DEBUG BpelDefinition : registered module class: org.jbpm.context.def.Conte
      xtDefinition
      [servicegen] 15:54:33,290 DEBUG LocalEntityResolver : system id 'http://jbpm.org/bpel/bpel_definitio
      n_1_0.xsd' maps to resource: bpel_definition_1_0.xsd
      [servicegen] 15:54:33,431 DEBUG BpelReader : registered activity reader: name=receive, class=org.jbp
      m.bpel.xml.ReceiveReader
      [servicegen] 15:54:33,431 DEBUG BpelReader : registered activity reader: name=reply, class=org.jbpm.
      bpel.xml.ReplyReader
      [servicegen] 15:54:33,431 DEBUG BpelReader : registered activity reader: name=invoke, class=org.jbpm
      .bpel.xml.InvokeReader
      [servicegen] 15:54:33,431 DEBUG BpelReader : registered activity reader: name=empty, class=org.jbpm.
      bpel.xml.EmptyReader
      [servicegen] 15:54:33,446 DEBUG BpelReader : registered activity reader: name=assign, class=org.jbpm
      .bpel.xml.AssignReader
      [servicegen] 15:54:33,462 DEBUG BpelReader : registered activity reader: name=throw, class=org.jbpm.
      bpel.xml.ThrowReader
      [servicegen] 15:54:33,462 DEBUG BpelReader : registered activity reader: name=exit, class=org.jbpm.b
      pel.xml.ExitReader
      [servicegen] 15:54:33,478 DEBUG BpelReader : registered activity reader: name=wait, class=org.jbpm.b
      pel.xml.WaitReader
      [servicegen] 15:54:33,478 DEBUG BpelReader : registered activity reader: name=sequence, class=org.jb
      pm.bpel.xml.SequenceReader
      [servicegen] 15:54:33,478 DEBUG BpelReader : registered activity reader: name=if, class=org.jbpm.bpe
      l.xml.IfReader
      [servicegen] 15:54:33,493 DEBUG BpelReader : registered activity reader: name=switch, class=org.jbpm
      .bpel.xml.SwitchReader
      [servicegen] 15:54:33,493 DEBUG BpelReader : registered activity reader: name=while, class=org.jbpm.
      bpel.xml.WhileReader
      [servicegen] 15:54:33,493 DEBUG BpelReader : registered activity reader: name=repeatUntil, class=org
      .jbpm.bpel.xml.RepeatUntilReader
      [servicegen] 15:54:33,493 DEBUG BpelReader : registered activity reader: name=pick, class=org.jbpm.b
      pel.xml.PickReader
      [servicegen] 15:54:33,493 DEBUG BpelReader : registered activity reader: name=flow, class=org.jbpm.b
      pel.xml.FlowReader
      [servicegen] 15:54:33,509 DEBUG BpelReader : registered activity reader: name=scope, class=org.jbpm.
      bpel.xml.ScopeReader
      [servicegen] 15:54:33,509 DEBUG BpelReader : registered activity reader: name=compensate, class=org.
      jbpm.bpel.xml.CompensateReader
      [servicegen] 15:54:33,524 DEBUG BpelReader : registered activity reader: name=validate, class=org.jb
      pm.bpel.xml.ValidateReader
      [servicegen] 15:54:33,978 INFO BpelReader : read wsdl definitions: hello.wsdl
      [servicegen] 15:54:33,993 INFO BpelReader : read wsdl definitions: hello.wsdl
      [servicegen] 15:54:33,993 INFO BpelReader : read wsdl definitions: account.wsdl
      [servicegen] 15:54:34,024 DEBUG Scope : looking for fault handler with name '{http://schemas.xmlsoap
      .org/ws/2004/03/business-process/}forcedTermination' and no variable
      [servicegen] 15:54:34,118 INFO BpelReader : read bpel process: hello.bpel
      [servicegen] 15:54:34,149 INFO ServiceGenerator : wrote interface definition: locationURI=hello.wsd
      l, basePath=D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account/target/resources/web/w
      sdl
      [servicegen] 15:54:34,165 INFO ServiceGenerator : wrote interface definition: locationURI=account.w
      sdl, basePath=D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account/target/resources/web
      /wsdl
      [servicegen] 15:54:34,181 INFO ServiceGenerator : wrote binding definition: hello-binding-1.wsdl
      [servicegen] 15:54:34,181 INFO ServiceGenerator : wrote binding definition: hello-binding-2.wsdl
      [servicegen] 15:54:34,181 INFO ServiceGenerator : wrote service definition: hello-service.wsdl

      BUILD SUCCESSFUL
      Total time: 2 seconds
      D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account>ant generate-artifacts
      Buildfile: build.xml

      detect-wsgenerator:

      generate-artifacts:
      [mkdir] Created dir: D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\target\ja
      va

      setup-wstools:

      setup-wscompile:
      [mkdir] Created dir: D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\target\cl
      asses

      call-wscompile:
      [wscompile] command line: wscompile "C:\Program Files\Java\jdk1.5.0_11\jre\bin\java.exe" -Duser.dir=
      D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account -classpath "D:\jwsdp-1.6\jaxrpc\li
      b\jaxrpc-api.jar;D:\jwsdp-1.6\jaxrpc\lib\jaxrpc-impl.jar;D:\jwsdp-1.6\jaxrpc\lib\jaxrpc-spi.jar;C:\P
      rogram Files\Java\jdk1.5.0_11\lib\tools.jar;D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hell
      o2account\src\main\resources" com.sun.xml.rpc.tools.wscompile.Main -d D:\develop\eclipse\workspaceBP
      EL\BPEL_PROJ\examples\hello2account\target\classes -features:norpcstructures,wsi,strict -import -kee
      p -mapping D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\target\resources\web\ja
      xrpc-mapping.xml -s D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\target\java -v
      erbose D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\src\main\resources\wscompil
      e.xml
      [wscompile] [ServiceInterfaceGenerator: creating service interface: org.jbpm.bpel.tutorial.hello.Hel
      loWorldService]
      [wscompile] [CustomClassGenerator: generating JavaClass for: AccountOperation]
      [delete] Deleting 2 files from D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\
      target\java
      [delete] Deleting 2 files from D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\
      target\classes

      BUILD SUCCESSFUL
      Total time: 7 seconds
      D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account>ant deploy
      Buildfile: build.xml

      compile:
      [javac] Compiling 1 source file to D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2acc
      ount\target\classes

      pack-web:
      [war] Building war: D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\target\h
      ello.war

      deploy:
      [copy] Copying 1 file to D:\jboss-4.0.5.GA\server\default\deploy

      BUILD SUCCESSFUL
      Total time: 3 seconds
      D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account>ant clean
      Buildfile: build.xml

      clean:
      [delete] Deleting directory D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account\tar
      get

      BUILD SUCCESSFUL
      Total time: 0 seconds
      D:\develop\eclipse\workspaceBPEL\BPEL_PROJ\examples\hello2account>



      output of JBoss console:
      ------------------------------
      15:54:54,915 DEBUG [MainDeployer] Undeployed file:/D:/jboss-4.0.5.GA/server/defa
      ult/deploy/hello.war
      15:54:54,915 DEBUG [MainDeployer] Starting deployment of package: file:/D:/jboss
      -4.0.5.GA/server/default/deploy/hello.war
      15:54:54,930 DEBUG [MainDeployer] Starting deployment (init step) of package at:
      file:/D:/jboss-4.0.5.GA/server/default/deploy/hello.war
      15:54:54,930 DEBUG [MainDeployer] Copying file:/D:/jboss-4.0.5.GA/server/default
      /deploy/hello.war -> D:\jboss-4.0.5.GA\server\default\tmp\deploy\tmp52478hello.w
      ar
      15:54:54,930 DEBUG [MainDeployer] using deployer MBeanProxyExt[jboss.web:service
      =WebServer]
      15:54:54,946 DEBUG [Tomcat5] Begin init
      15:54:54,946 DEBUG [Tomcat5] Unpacking war to: D:\jboss-4.0.5.GA\server\default\
      tmp\deploy\tmp52478hello-exp.war
      15:54:54,977 DEBUG [Tomcat5] Replaced war with unpacked contents
      15:54:54,977 DEBUG [Tomcat5] Was unable to delete war file
      15:54:54,977 DEBUG [Tomcat5] webContext: null
      15:54:54,977 DEBUG [Tomcat5] warURL: file:/D:/jboss-4.0.5.GA/server/default/tmp/
      deploy/tmp52478hello-exp.war/
      15:54:54,977 DEBUG [Tomcat5] End init
      15:54:54,977 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRe
      positoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=De
      fault, repositoryClassName: null, configParserClassName: null, repositoryConfig:
      null)
      15:54:54,993 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.m
      x.loading.UnifiedLoaderRepository3@10e3293, cl=org.jboss.mx.loading.UnifiedClass
      Loader3@18a24e9{ url=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp52478h
      ello-exp.war/ ,addedOrder=0}
      15:54:54,993 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.m
      x.loading.UnifiedLoaderRepository3@10e3293, cl=org.jboss.mx.loading.UnifiedClass
      Loader3@18a24e9{ url=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp52478h
      ello-exp.war/ ,addedOrder=0}
      15:54:54,993 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.Unifie
      dClassLoader3@18a24e9{ url=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp
      52478hello-exp.war/ ,addedOrder=0}
      15:54:54,993 DEBUG [MainDeployer] found 0 subpackages of file:/D:/jboss-4.0.5.GA
      /server/default/deploy/hello.war
      15:54:54,993 DEBUG [MainDeployer] Watching new file: file:/D:/jboss-4.0.5.GA/ser
      ver/default/deploy/hello.war
      15:54:55,008 DEBUG [MainDeployer] create step for deployment file:/D:/jboss-4.0.
      5.GA/server/default/deploy/hello.war
      15:54:55,008 DEBUG [Tomcat5] create, hello.war
      15:54:55,008 DEBUG [ServiceController] Creating service jboss.web.deployment:war
      =hello.war,id=-1347486923
      15:54:55,008 DEBUG [ServiceController] adding depends in ServiceController.regis
      ter: []
      15:54:55,008 DEBUG [WebModule] Creating jboss.web.deployment:war=hello.war,id=-1
      347486923
      15:54:55,008 DEBUG [WebModule] Created jboss.web.deployment:war=hello.war,id=-13
      47486923
      15:54:55,008 DEBUG [ServiceController] Creating dependent components for: jboss.
      web.deployment:war=hello.war,id=-1347486923 dependents are: []
      15:54:55,024 DEBUG [DeployerInterceptorJSE] create: file:/D:/jboss-4.0.5.GA/serv
      er/default/deploy/hello.war
      15:54:55,024 DEBUG [ServiceEndpointDeployer] create: hello.war
      15:54:55,024 DEBUG [JAXRPCServerMetaDataBuilder] START buildMetaData: [name=hell
      o.war]
      15:54:55,024 DEBUG [WSDLDefinitionsFactory] parse: file:/D:/jboss-4.0.5.GA/serve
      r/default/tmp/deploy/tmp52478hello-exp.war/WEB-INF/wsdl/hello-service.wsdl
      15:54:55,040 DEBUG [JBossWSEntityResolver] resolveEntity: [pub=file:/D:/jboss-4.
      0.5.GA/server/default/tmp/deploy/tmp52478hello-exp.war/WEB-INF/wsdl/hello-bindin
      g-1.wsdl,sysid=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp52478hello-e
      xp.war/WEB-INF/wsdl/hello-binding-1.wsdl]
      15:54:55,040 DEBUG [JBossWSEntityResolver] resolveEntity: [pub=file:/D:/jboss-4.
      0.5.GA/server/default/tmp/deploy/tmp52478hello-exp.war/WEB-INF/wsdl/account.wsdl
      ,sysid=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp52478hello-exp.war/W
      EB-INF/wsdl/account.wsdl]
      15:54:55,055 DEBUG [JBossWSEntityResolver] resolveEntity: [pub=file:/D:/jboss-4.
      0.5.GA/server/default/tmp/deploy/tmp52478hello-exp.war/WEB-INF/wsdl/hello-bindin
      g-2.wsdl,sysid=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp52478hello-e
      xp.war/WEB-INF/wsdl/hello-binding-2.wsdl]
      15:54:55,055 DEBUG [JBossWSEntityResolver] resolveEntity: [pub=file:/D:/jboss-4.
      0.5.GA/server/default/tmp/deploy/tmp52478hello-exp.war/WEB-INF/wsdl/hello.wsdl,s
      ysid=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp52478hello-exp.war/WEB
      -INF/wsdl/hello.wsdl]
      15:54:55,071 DEBUG [JavaToXSD] Load schema: urn:samples:account=file:/D:/jboss-4
      .0.5.GA/server/default/tmp/jbossws/JBossWS_urn_samples_account52479.xsd
      15:54:55,071 DEBUG [JBossWSEntityResolver] resolveEntity: [pub=null,sysid=file:/
      D:/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_urn_samples_account52479.xs
      d]
      15:54:55,133 DEBUG [JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xm
      lsoap.org/soap/encoding/,sysid=null]
      15:54:55,165 DEBUG [MetaDataBuilder] Replace service endpoint address 'REPLACE_W
      ITH_ACTUAL_URI' with 'http://bez2915c:8080/hello/greeter'
      15:54:55,165 DEBUG [JAXRPCServerMetaDataBuilder] END buildMetaData:
      UnifiedMetaData:
      implementation: jbossws-1.2.0.GA (build=200703021344)
      deploymentName: hello.war
      securityDomain: null

      ServiceMetaData:
      qname={http://jbpm.org/examples/hello}HelloWorldService
      refName=null
      wsdName=Hello World
      wsdlFile=WEB-INF/wsdl/hello-service.wsdl
      wsdlLocation=null
      jaxrpcMapping=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp52478hello-e
      xp.war/WEB-INF/jaxrpc-mapping.xml
      handlerChain=null
      publishLocation=null
      securityConfig=null
      properties=null

      TypesMetaData:
      [complexType={urn:samples:account}AccountOperation,javaType=org.jbpm.bpel.tuto
      rial.hello.AccountOperation]
      <schema targetNamespace='urn:samples:account' xmlns='http://www.w3.org/2001/XMLS
      chema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='u
      rn:samples:account' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>









      ServerEndpointMetaData:
      type=JAXRPC
      qname={http://jbpm.org/examples/hello}GreeterPort
      id=jboss.ws:context=hello,endpoint=greeterServlet
      address=http://bez2915c:8080/hello/greeter
      binding=http://schemas.xmlsoap.org/wsdl/soap/http
      linkName=greeterServlet
      implName=org.jbpm.bpel.tutorial.hello.Greeter_Impl
      seiName=org.jbpm.bpel.tutorial.hello.Greeter
      serviceMode=null
      portComponentName=GreeterPort
      contextRoot=/hello
      urlPattern=/greeter
      configFile=META-INF/standard-jaxrpc-endpoint-config.xml
      configName=Standard Endpoint
      authMethod=null
      transportGuarantee=null
      secureWSDLAccess=true
      properties=null

      OperationMetaData:
      qname={http://jbpm.org/examples/hello}sayHello
      javaName=sayHello
      style=rpc/literal
      oneWay=false
      soapAction=http://jbpm.org/examples/sayHello
      ParameterMetaData:
      xmlName=name
      partName=name
      xmlType={http://www.w3.org/2001/XMLSchema}string
      javaType=java.lang.String
      mode=IN
      inHeader=false
      index=0
      ReturnMetaData:
      xmlName=greeting
      partName=greeting
      xmlType={http://www.w3.org/2001/XMLSchema}string
      javaType=java.lang.String
      mode=OUT
      inHeader=false
      index=-1

      HandlerMetaDataJAXRPC:
      type=ENDPOINT
      name=GreeterHandler
      class=org.jbpm.bpel.integration.server.SoapHandler
      params=[[name=partnerLinkHandle,value=caller]]
      headers=[]
      roles=[]
      ports=[]
      15:54:55,258 DEBUG [EndpointMetaData] Create new config [name=Standard Endpoint,
      file=META-INF/standard-jaxrpc-endpoint-config.xml]
      15:54:55,258 DEBUG [JBossWSConfigFactory] getConfig: [name=Standard Endpoint,url
      =META-INF/standard-jaxrpc-endpoint-config.xml]
      15:54:55,258 DEBUG [JBossWSConfigFactory] parse: file:/D:/jboss-4.0.5.GA/server/
      default/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml
      15:54:55,524 DEBUG [EndpointMetaData] Configure EndpointMetaData
      15:54:55,524 DEBUG [EndpointMetaData] Added 0 PRE handlers
      15:54:55,524 DEBUG [EndpointMetaData] Added 1 ENDPOINT handlers
      15:54:55,524 DEBUG [EndpointMetaData] Added 0 POST handlers
      15:54:55,524 DEBUG [EndpointMetaData] Configure SOAPBinding
      15:54:55,540 DEBUG [ServiceEndpointManager] WebService created: jboss.ws:context
      =hello,endpoint=greeterServlet
      15:54:55,540 DEBUG [MainDeployer] Done with create step of deploying hello.war
      15:54:55,540 DEBUG [MainDeployer] Begin deployment start file:/D:/jboss-4.0.5.GA
      /server/default/deploy/hello.war
      15:54:55,540 DEBUG [ServiceController] starting service jboss.web.deployment:war
      =hello.war,id=-1347486923
      15:54:55,555 DEBUG [WebModule] Starting jboss.web.deployment:war=hello.war,id=-1
      347486923
      15:54:55,555 DEBUG [TomcatDeployer] webContext: null
      15:54:55,555 DEBUG [TomcatDeployer] warURL: file:/D:/jboss-4.0.5.GA/server/defau
      lt/tmp/deploy/tmp52478hello-exp.war/
      15:54:55,555 DEBUG [TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeplo
      yer$DescriptorParser@e6619b
      15:54:55,555 DEBUG [WebPermissionMapping] Qualified url patterns: {/=PatternInfo
      [pattern=/,type=3,isOverriden=false,qualifiers=[]]}
      15:54:55,587 INFO [TomcatDeployer] deploy, ctxPath=/hello, warUrl=.../tmp/deplo
      y/tmp52478hello-exp.war/
      15:54:55,587 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors,
      Begin
      15:54:55,587 DEBUG [TomcatDeployer] Creating ENC using ClassLoader: java.net.Fac
      toryURLClassLoader@1120aa6
      15:54:55,602 DEBUG [TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@1
      8a24e9{ url=file:/D:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp52478hello-exp.
      war/ ,addedOrder=66}
      15:54:55,602 DEBUG [TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLCla
      ssLoader@5d173
      15:54:55,602 DEBUG [TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@92e78c
      15:54:55,602 DEBUG [TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@9fbe93
      15:54:55,602 DEBUG [TomcatDeployer] Bound java:comp/ORB
      15:54:55,602 DEBUG [TomcatDeployer] Linked java:comp/UserTransaction to JNDI nam
      e: UserTransaction
      15:54:55,602 DEBUG [TomcatDeployer] addEnvEntries
      15:54:55,602 DEBUG [TomcatDeployer] linkResourceEnvRefs
      15:54:55,602 DEBUG [TomcatDeployer] linkResourceRefs
      15:54:55,602 DEBUG [TomcatDeployer] linkMessageDestinationRefs
      15:54:55,618 DEBUG [TomcatDeployer] linkEjbRefs
      15:54:55,618 DEBUG [TomcatDeployer] linkEjbLocalRefs
      15:54:55,618 DEBUG [TomcatDeployer] linkServiceRefs
      15:54:55,618 DEBUG [TomcatDeployer] linkSecurityDomain
      15:54:55,618 DEBUG [TomcatDeployer] No security-domain given, using default: jav
      a:/jaas/other
      15:54:55,618 DEBUG [TomcatDeployer] Linking security/securityMgr to JNDI name: j
      ava:/jaas/other
      15:54:55,618 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors,
      End
      15:54:55,649 DEBUG [TomcatDeployer] Using session cookies default setting
      15:54:55,712 DEBUG [LocalEntityResolver] system id 'http://jbpm.org/bpel/bpel_ap
      plication_1_0.xsd' maps to resource: bpel_application_1_0.xsd
      15:54:55,712 DEBUG [JmsIntegrationServiceFactory] creating integration control:
      processDefinition=BpelDefinition(HelloWorld)
      15:54:55,727 DEBUG [IntegrationControl] could not retrieve jms context, falling
      back to initial context
      15:54:55,727 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.d
      ef.CompositeActivity - this operation breaks ==
      15:54:55,743 DEBUG [IntegrationControl] could not retrieve jms context, falling
      back to initial context
      15:54:55,743 DEBUG [IntegrationControl] jms connection factory not found: Integr
      ationConnectionFactory
      15:54:55,743 DEBUG [IntegrationControl] falling back to default from integration
      service factory
      15:54:55,743 DEBUG [StartListener] opened start listener: process=BpelDefinition
      (HelloWorld)#46, receiver=org.jbpm.bpel.integration.def.Receiver@c011fe[partnerL
      ink=caller,operation=sayHello,messageExchange=,activity=Receive(receiveInp
      ut),id=53]
      15:54:55,758 INFO [IntegrationConfigurator] Message reception enabled for proce
      ss: HelloWorld
      15:54:55,774 DEBUG [ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet
      2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5'
      15:54:55,790 DEBUG [TomcatDeployer] Initialized: {WebApplication: /D:/jboss-4.0.
      5.GA/server/default/tmp/deploy/tmp52478hello-exp.war/, URL: file:/D:/jboss-4.0.5
      .GA/server/default/tmp/deploy/tmp52478hello-exp.war/, classLoader: java.net.Fact
      oryURLClassLoader@1120aa6:17959590} jboss.web:j2eeType=WebModule,name=//localhos
      t/hello,J2EEApplication=none,J2EEServer=none
      15:54:55,790 DEBUG [WebModule] Started jboss.web.deployment:war=hello.war,id=-13
      47486923
      15:54:55,790 DEBUG [ServiceController] Starting dependent components for: jboss.
      web.deployment:war=hello.war,id=-1347486923 dependent components: []
      15:54:55,805 DEBUG [DeployerInterceptorJSE] start: file:/D:/jboss-4.0.5.GA/serve
      r/default/deploy/hello.war
      15:54:55,805 DEBUG [ServiceEndpointDeployer] start: hello.war
      15:54:55,805 DEBUG [WSDLFilePublisher] Publish WSDL file: WEB-INF/wsdl/hello-ser
      vice.wsdl
      15:54:55,805 INFO [WSDLFilePublisher] WSDL published to: file:/D:/jboss-4.0.5.G
      A/server/default/data/wsdl/hello.war/hello-service.wsdl
      15:54:55,821 DEBUG [WSDLFilePublisher] WSDL import published to: file:/D:/jboss-
      4.0.5.GA/server/default/data/wsdl/hello.war/hello-binding-1.wsdl
      15:54:55,821 DEBUG [WSDLFilePublisher] WSDL import published to: file:/D:/jboss-
      4.0.5.GA/server/default/data/wsdl/hello.war/account.wsdl
      15:54:55,821 DEBUG [WSDLFilePublisher] WSDL import published to: file:/D:/jboss-
      4.0.5.GA/server/default/data/wsdl/hello.war/hello-binding-2.wsdl
      15:54:55,821 DEBUG [WSDLFilePublisher] WSDL import published to: file:/D:/jboss-
      4.0.5.GA/server/default/data/wsdl/hello.war/hello.wsdl
      15:54:55,837 DEBUG [UnifiedMetaData] Eagerly initialize the meta data model
      15:54:55,837 DEBUG [OperationMetaData] Found best matching java method: public a
      bstract java.lang.String org.jbpm.bpel.tutorial.hello.Greeter.sayHello(java.lang
      .String) throws java.rmi.RemoteException
      15:54:55,837 INFO [ServiceEndpointManager] WebService started: http://bez2915c:
      8080/hello/greeter
      15:54:55,852 DEBUG [MainDeployer] End deployment start on package: hello.war
      15:54:55,852 DEBUG [MainDeployer] Deployed package: file:/D:/jboss-4.0.5.GA/serv
      er/default/deploy/hello.war
      15:55:25,773 DEBUG [ServiceEndpoint] WSDL request, using host: bez2915c
      15:55:25,773 ERROR [AbstractServiceEndpointServlet] Error processing web service
      request
      java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URI
      at java.net.URL.(URL.java:567)
      at java.net.URL.(URL.java:464)
      at java.net.URL.(URL.java:413)
      at org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(W
      SDLRequestHandler.java:159)
      at org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(W
      SDLRequestHandler.java:183)
      at org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(W
      SDLRequestHandler.java:183)
      at org.jboss.ws.core.server.WSDLRequestHandler.getDocumentForPath(WSDLRe
      questHandler.java:95)
      at org.jboss.ws.core.server.ServiceEndpoint.handleWSDLRequest(ServiceEnd
      point.java:149)
      at org.jboss.ws.core.server.ServiceEndpointManager.processWSDLRequest(Se
      rviceEndpointManager.java:392)
      at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doGet(Abstrac
      tServiceEndpointServlet.java:89)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(Abstr
      actServiceEndpointServlet.java:75)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      15:55:25,773 ERROR [[greeterServlet]] Servlet.service() for servlet greeterServl
      et threw exception
      java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URI
      at java.net.URL.(URL.java:567)
      at java.net.URL.(URL.java:464)
      at java.net.URL.(URL.java:413)
      at org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(W
      SDLRequestHandler.java:159)
      at org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(W
      SDLRequestHandler.java:183)
      at org.jboss.ws.core.server.WSDLRequestHandler.modifyAddressReferences(W
      SDLRequestHandler.java:183)
      at org.jboss.ws.core.server.WSDLRequestHandler.getDocumentForPath(WSDLRe
      questHandler.java:95)
      at org.jboss.ws.core.server.ServiceEndpoint.handleWSDLRequest(ServiceEnd
      point.java:149)
      at org.jboss.ws.core.server.ServiceEndpointManager.processWSDLRequest(Se
      rviceEndpointManager.java:392)
      at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doGet(Abstrac
      tServiceEndpointServlet.java:89)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(Abstr
      actServiceEndpointServlet.java:75)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)




      Does anyone have a clue of what might be the problem?
      [url][list=][/url]