3 Replies Latest reply on May 19, 2008 7:02 PM by peterj

    Issue with deployment

    ami999

      I am trying to deploy the hello world example of BPEL on JBOSS and I am getting the following error. Please help.

      D:\Dev\jbpm-bpel-1.1.GA\examples\atm>ant deploy.process
      Buildfile: build.xml

      package.process:

      deploy.process:
      [deployprocess] 11:40:52,703 INFO [HttpMethodDirector] I/O exception (java.net.
      ConnectException) caught when processing request: Connection refused: connect
      [deployprocess] 11:40:52,703 INFO [HttpMethodDirector] Retrying request
      [deployprocess] 11:40:53,796 INFO [HttpMethodDirector] I/O exception (java.net.
      ConnectException) caught when processing request: Connection refused: connect
      [deployprocess] 11:40:53,796 INFO [HttpMethodDirector] Retrying request
      [deployprocess] 11:40:55,000 INFO [HttpMethodDirector] I/O exception (java.net.
      ConnectException) caught when processing request: Connection refused: connect
      [deployprocess] 11:40:55,000 INFO [HttpMethodDirector] Retrying request
      [deployprocess] java.net.ConnectException: Connection refused: connect
      [deployprocess] at java.net.PlainSocketImpl.socketConnect(Native Method)

      [deployprocess] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.ja
      va:333)
      [deployprocess] at java.net.PlainSocketImpl.connectToAddress(PlainSocket
      Impl.java:195)
      [deployprocess] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java
      :182)
      [deployprocess] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java
      :366)
      [deployprocess] at java.net.Socket.connect(Socket.java:519)
      [deployprocess] at java.net.Socket.connect(Socket.java:469)
      [deployprocess] at java.net.Socket.(Socket.java:366)
      [deployprocess] at java.net.Socket.(Socket.java:240)
      [deployprocess] at org.apache.commons.httpclient.protocol.DefaultProtoco
      lSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
      [deployprocess] at org.apache.commons.httpclient.protocol.DefaultProtoco
      lSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
      [deployprocess] at org.apache.commons.httpclient.HttpConnection.open(Htt
      pConnection.java:706)
      [deployprocess] at org.apache.commons.httpclient.HttpMethodDirector.exec
      uteWithRetry(HttpMethodDirector.java:386)
      [deployprocess] at org.apache.commons.httpclient.HttpMethodDirector.exec
      uteMethod(HttpMethodDirector.java:170)
      [deployprocess] at org.apache.commons.httpclient.HttpClient.executeMetho
      d(HttpClient.java:396)
      [deployprocess] at org.apache.commons.httpclient.HttpClient.executeMetho
      d(HttpClient.java:324)
      [deployprocess] at org.jbpm.bpel.tools.ant.DeploymentTask.execute(Deploy
      mentTask.java:61)
      [deployprocess] at org.apache.tools.ant.UnknownElement.execute(UnknownEl
      ement.java:275)
      [deployprocess] at org.apache.tools.ant.Task.perform(Task.java:364)
      [deployprocess] at org.apache.tools.ant.Target.execute(Target.java:341)
      [deployprocess] at org.apache.tools.ant.Target.performTasks(Target.java:
      369)
      [deployprocess] at org.apache.tools.ant.Project.executeSortedTargets(Pro
      ject.java:1216)
      [deployprocess] at org.apache.tools.ant.Project.executeTarget(Project.ja

        • 1. Re: Issue with deployment
          ami999

          Additional piece of information.. I had to change the port address to 8081 as there was a conflict. It seems like deploy is till looking for 8080. How to resolve the issue?

          • 2. Re: Issue with deployment
            shruthi

            Hiiii,

            I am also facing the same problem, I changed my port number of JBoss AS from 8080. But its still looking for 8080. How to change? Do you know where org.jbpm.bpel.tools.ant.DeploymentTask resides?

            If you have found a solution for your problem, please share with me.

            Thanks in advance
            Shruthi

            • 3. Re: Issue with deployment
              peterj

              Try adding a serviceUri attribute to the deployprocess task. For example, if you are now using HTTP port 9090:

              <deployprocess serviceUri="http://localhost:9090/jbpm-bpel/deployment">