ODE deployment service API

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

ODE deployment service API

Marzie Dehghanipour
Hi,
I am looking for sample implementation of deploying a process on Apache ODE
engine using deployment service API. I want to use the deployment API
exposed by ODE. This allows for transferring deployment units (zip files
containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the deployment.

Any help in this regard would be appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Sathwik B P
Hi Marzie,

You basically need to read the process artifact (zip file) and encode it
with Base64 and use it as the payload contents for deploy operation of
Deployment Service.

Have a look at fileupload.jsp under ODE webapp.

regards,
sathwik

On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
[hidden email]> wrote:

> Hi,
> I am looking for sample implementation of deploying a process on Apache ODE
> engine using deployment service API. I want to use the deployment API
> exposed by ODE. This allows for transferring deployment units (zip files
> containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the deployment.
>
> Any help in this regard would be appreciated.
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Marzie Dehghanipour
Dear Sathwik,

Thanks a lot for your answer. I know already the concept. but I need some
implementation sample.

Thanks

On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <[hidden email]> wrote:

> Hi Marzie,
>
> You basically need to read the process artifact (zip file) and encode it
> with Base64 and use it as the payload contents for deploy operation of
> Deployment Service.
>
> Have a look at fileupload.jsp under ODE webapp.
>
> regards,
> sathwik
>
> On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> [hidden email]> wrote:
>
> > Hi,
> > I am looking for sample implementation of deploying a process on Apache
> ODE
> > engine using deployment service API. I want to use the deployment API
> > exposed by ODE. This allows for transferring deployment units (zip files
> > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the
> deployment.
> >
> > Any help in this regard would be appreciated.
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Sathwik B P
Did you check fileupload.jsp

On Sat, Jan 31, 2015 at 8:19 PM, Marzie Dehghanipour <
[hidden email]> wrote:

> Dear Sathwik,
>
> Thanks a lot for your answer. I know already the concept. but I need some
> implementation sample.
>
> Thanks
>
> On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <[hidden email]> wrote:
>
> > Hi Marzie,
> >
> > You basically need to read the process artifact (zip file) and encode it
> > with Base64 and use it as the payload contents for deploy operation of
> > Deployment Service.
> >
> > Have a look at fileupload.jsp under ODE webapp.
> >
> > regards,
> > sathwik
> >
> > On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> > [hidden email]> wrote:
> >
> > > Hi,
> > > I am looking for sample implementation of deploying a process on Apache
> > ODE
> > > engine using deployment service API. I want to use the deployment API
> > > exposed by ODE. This allows for transferring deployment units (zip
> files
> > > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the
> > deployment.
> > >
> > > Any help in this regard would be appreciated.
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Marzie Dehghanipour
Hi,
Yes I checked it. I also have implemented some codes that use the
deployment service but it has exception and I worked the whole week but I
could not solve the problem.

I have basically two classes: deploymentconnection.java

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.om.util.Base64;
import org.apache.axis2.AxisFault;
import org.apache.ode.axis2.service.ServiceClientUtil;
import org.apache.ode.utils.Namespaces;

public class DeploymentConnection {
    private final String _url;
    private OMFactory _factory;
    private ServiceClientUtil _client;
    private final OMNamespace _pmapi;

    public DeploymentConnection(String url) {
        _url = url;
        _factory = OMAbstractFactory.getOMFactory();
        _client = new ServiceClientUtil();
        _pmapi = _factory.createOMNamespace("http://www.apache.org/ode/pmapi",
"pmapi");
    }

    public void deploy(File archive, String name) throws
FileNotFoundException, IOException {

    // Use the factory to create three elements
        OMElement root = _factory.createOMElement("deploy", _pmapi);
        OMElement namePart = _factory.createOMElement("name", null);
        namePart.setText(name);
        OMElement zipPart = _factory.createOMElement("package", null);
        OMElement zipElmt = _factory.createOMElement("zip", null);

        InputStream is = new FileInputStream(archive.getPath());
        ByteArrayOutputStream outputStream = new
ByteArrayOutputStream((int) archive.length());
        byte[] buffer = new byte[4096];
        int len;
        while ((len = is.read(buffer)) >= 0) {
            outputStream.write(buffer, 0, len);
        }

        String base64Enc = Base64.encode(outputStream.toByteArray());
        OMText zipContent =
_factory.createOMText(base64Enc,"application/zip", true);
        root.addChild(namePart);
        root.addChild(zipPart);
        zipPart.addChild(zipElmt);
        zipElmt.addChild(zipContent);

        sendToDeployment(root);
    }

    public void undeploy(String packageName) throws IOException {
        // Prepare undeploy message
        OMNamespace pmapi =
_factory.createOMNamespace(Namespaces.ODE_PMAPI,"deployapi");
        OMElement root = _factory.createOMElement("undeploy", pmapi);
        OMElement part = _factory.createOMElement("packageName", null);
        part.setText(packageName);
        root.addChild(part);

        if (packageName != null) {
            part.setText(packageName);
            root.addChild(part);
            sendToDeployment(root);
        }
    }

    private OMElement sendToDeployment(OMElement msg) throws AxisFault {
        return _client.send(msg, this._url);
    }

}


and my main class which uses ServiceClientUtil class for sending the
message to Axis2 for calling the deploy function. ServiceClientUtil is the
class which I found it on Github and this is an interface for making it
easier to use the API : main.java


import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

public class Main {
    public static void main(String[] args) throws FileNotFoundException {
        DeploymentConnection con = new DeploymentConnection("
http://localhost:8080/ode/processes/DeploymentService");
        try {
            con.deploy(new File("C:\\temp\\DynPartner.zip"), "DynPartner");
        } catch (IOException ex) {
            //Logger.getLogger(Main.class.getName()).log(Level.SEVERE,
null,ex);
        ex.printStackTrace();
        }}}

I do appreciate if someone can help me. It makes me crazy and I was working
the last 2 weeks on it.

On Sun, Feb 1, 2015 at 4:15 AM, Sathwik B P <[hidden email]> wrote:

> Did you check fileupload.jsp
>
> On Sat, Jan 31, 2015 at 8:19 PM, Marzie Dehghanipour <
> [hidden email]> wrote:
>
> > Dear Sathwik,
> >
> > Thanks a lot for your answer. I know already the concept. but I need some
> > implementation sample.
> >
> > Thanks
> >
> > On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <[hidden email]>
> wrote:
> >
> > > Hi Marzie,
> > >
> > > You basically need to read the process artifact (zip file) and encode
> it
> > > with Base64 and use it as the payload contents for deploy operation of
> > > Deployment Service.
> > >
> > > Have a look at fileupload.jsp under ODE webapp.
> > >
> > > regards,
> > > sathwik
> > >
> > > On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> > > [hidden email]> wrote:
> > >
> > > > Hi,
> > > > I am looking for sample implementation of deploying a process on
> Apache
> > > ODE
> > > > engine using deployment service API. I want to use the deployment API
> > > > exposed by ODE. This allows for transferring deployment units (zip
> > files
> > > > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the
> > > deployment.
> > > >
> > > > Any help in this regard would be appreciated.
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Stan Angeloff
In reply to this post by Marzie Dehghanipour
One thing to note is the <zip> element must have an xmlns of
http://www.apache.org/ode/deployapi. I also find it helpful to include a
MIME type, like so (code in PHP):

$zipFile = '/tmp/deploy.zip';

$odeDeployNsUri = 'http://www.apache.org/ode/deployapi';
$mimeNsUri = 'http://www.w3.org/2005/05/xmlmime';

$zipElement = sprintf(
    '<zip' .
    ' xmlns="%s"' .
    ' xmlns:mime="%s"' .
    ' mime:contentType="application/zip"' .
    '>%s</zip>',
    $odeDeployNsUri,
    $mimeNsUri,
    base64_encode(
        file_get_contents($zipFile)
    )
);

I hope this helps.

On 1 February 2015 at 09:02, Marzie Dehghanipour <[hidden email]>
wrote:

> Hi,
> Yes I checked it. I also have implemented some codes that use the
> deployment service but it has exception and I worked the whole week but I
> could not solve the problem.
>
> I have basically two classes: deploymentconnection.java
>
> import java.io.ByteArrayOutputStream;
> import java.io.File;
> import java.io.FileInputStream;
> import java.io.FileNotFoundException;
> import java.io.IOException;
> import java.io.InputStream;
>
> import org.apache.axiom.om.OMAbstractFactory;
> import org.apache.axiom.om.OMElement;
> import org.apache.axiom.om.OMFactory;
> import org.apache.axiom.om.OMNamespace;
> import org.apache.axiom.om.OMText;
> import org.apache.axiom.om.util.Base64;
> import org.apache.axis2.AxisFault;
> import org.apache.ode.axis2.service.ServiceClientUtil;
> import org.apache.ode.utils.Namespaces;
>
> public class DeploymentConnection {
>     private final String _url;
>     private OMFactory _factory;
>     private ServiceClientUtil _client;
>     private final OMNamespace _pmapi;
>
>     public DeploymentConnection(String url) {
>         _url = url;
>         _factory = OMAbstractFactory.getOMFactory();
>         _client = new ServiceClientUtil();
>         _pmapi = _factory.createOMNamespace("
> http://www.apache.org/ode/pmapi",
> "pmapi");
>     }
>
>     public void deploy(File archive, String name) throws
> FileNotFoundException, IOException {
>
>     // Use the factory to create three elements
>         OMElement root = _factory.createOMElement("deploy", _pmapi);
>         OMElement namePart = _factory.createOMElement("name", null);
>         namePart.setText(name);
>         OMElement zipPart = _factory.createOMElement("package", null);
>         OMElement zipElmt = _factory.createOMElement("zip", null);
>
>         InputStream is = new FileInputStream(archive.getPath());
>         ByteArrayOutputStream outputStream = new
> ByteArrayOutputStream((int) archive.length());
>         byte[] buffer = new byte[4096];
>         int len;
>         while ((len = is.read(buffer)) >= 0) {
>             outputStream.write(buffer, 0, len);
>         }
>
>         String base64Enc = Base64.encode(outputStream.toByteArray());
>         OMText zipContent =
> _factory.createOMText(base64Enc,"application/zip", true);
>         root.addChild(namePart);
>         root.addChild(zipPart);
>         zipPart.addChild(zipElmt);
>         zipElmt.addChild(zipContent);
>
>         sendToDeployment(root);
>     }
>
>     public void undeploy(String packageName) throws IOException {
>         // Prepare undeploy message
>         OMNamespace pmapi =
> _factory.createOMNamespace(Namespaces.ODE_PMAPI,"deployapi");
>         OMElement root = _factory.createOMElement("undeploy", pmapi);
>         OMElement part = _factory.createOMElement("packageName", null);
>         part.setText(packageName);
>         root.addChild(part);
>
>         if (packageName != null) {
>             part.setText(packageName);
>             root.addChild(part);
>             sendToDeployment(root);
>         }
>     }
>
>     private OMElement sendToDeployment(OMElement msg) throws AxisFault {
>         return _client.send(msg, this._url);
>     }
>
> }
>
>
> and my main class which uses ServiceClientUtil class for sending the
> message to Axis2 for calling the deploy function. ServiceClientUtil is the
> class which I found it on Github and this is an interface for making it
> easier to use the API : main.java
>
>
> import java.io.File;
> import java.io.FileNotFoundException;
> import java.io.IOException;
> import java.util.logging.Level;
> import java.util.logging.Logger;
>
> public class Main {
>     public static void main(String[] args) throws FileNotFoundException {
>         DeploymentConnection con = new DeploymentConnection("
> http://localhost:8080/ode/processes/DeploymentService");
>         try {
>             con.deploy(new File("C:\\temp\\DynPartner.zip"), "DynPartner");
>         } catch (IOException ex) {
>             //Logger.getLogger(Main.class.getName()).log(Level.SEVERE,
> null,ex);
>         ex.printStackTrace();
>         }}}
>
> I do appreciate if someone can help me. It makes me crazy and I was working
> the last 2 weeks on it.
>
> On Sun, Feb 1, 2015 at 4:15 AM, Sathwik B P <[hidden email]> wrote:
>
> > Did you check fileupload.jsp
> >
> > On Sat, Jan 31, 2015 at 8:19 PM, Marzie Dehghanipour <
> > [hidden email]> wrote:
> >
> > > Dear Sathwik,
> > >
> > > Thanks a lot for your answer. I know already the concept. but I need
> some
> > > implementation sample.
> > >
> > > Thanks
> > >
> > > On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <[hidden email]>
> > wrote:
> > >
> > > > Hi Marzie,
> > > >
> > > > You basically need to read the process artifact (zip file) and encode
> > it
> > > > with Base64 and use it as the payload contents for deploy operation
> of
> > > > Deployment Service.
> > > >
> > > > Have a look at fileupload.jsp under ODE webapp.
> > > >
> > > > regards,
> > > > sathwik
> > > >
> > > > On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> > > > [hidden email]> wrote:
> > > >
> > > > > Hi,
> > > > > I am looking for sample implementation of deploying a process on
> > Apache
> > > > ODE
> > > > > engine using deployment service API. I want to use the deployment
> API
> > > > > exposed by ODE. This allows for transferring deployment units (zip
> > > files
> > > > > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the
> > > > deployment.
> > > > >
> > > > > Any help in this regard would be appreciated.
> > > > >
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Tammo van Lessen
In reply to this post by Marzie Dehghanipour
Hi Marzie,

what exception do you get? Without that information is difficult to help.

Best,
  Tammo

On Sun, Feb 1, 2015 at 8:02 AM, Marzie Dehghanipour <
[hidden email]> wrote:

> Hi,
> Yes I checked it. I also have implemented some codes that use the
> deployment service but it has exception and I worked the whole week but I
> could not solve the problem.
>
> I have basically two classes: deploymentconnection.java
>
> import java.io.ByteArrayOutputStream;
> import java.io.File;
> import java.io.FileInputStream;
> import java.io.FileNotFoundException;
> import java.io.IOException;
> import java.io.InputStream;
>
> import org.apache.axiom.om.OMAbstractFactory;
> import org.apache.axiom.om.OMElement;
> import org.apache.axiom.om.OMFactory;
> import org.apache.axiom.om.OMNamespace;
> import org.apache.axiom.om.OMText;
> import org.apache.axiom.om.util.Base64;
> import org.apache.axis2.AxisFault;
> import org.apache.ode.axis2.service.ServiceClientUtil;
> import org.apache.ode.utils.Namespaces;
>
> public class DeploymentConnection {
>     private final String _url;
>     private OMFactory _factory;
>     private ServiceClientUtil _client;
>     private final OMNamespace _pmapi;
>
>     public DeploymentConnection(String url) {
>         _url = url;
>         _factory = OMAbstractFactory.getOMFactory();
>         _client = new ServiceClientUtil();
>         _pmapi = _factory.createOMNamespace("
> http://www.apache.org/ode/pmapi",
> "pmapi");
>     }
>
>     public void deploy(File archive, String name) throws
> FileNotFoundException, IOException {
>
>     // Use the factory to create three elements
>         OMElement root = _factory.createOMElement("deploy", _pmapi);
>         OMElement namePart = _factory.createOMElement("name", null);
>         namePart.setText(name);
>         OMElement zipPart = _factory.createOMElement("package", null);
>         OMElement zipElmt = _factory.createOMElement("zip", null);
>
>         InputStream is = new FileInputStream(archive.getPath());
>         ByteArrayOutputStream outputStream = new
> ByteArrayOutputStream((int) archive.length());
>         byte[] buffer = new byte[4096];
>         int len;
>         while ((len = is.read(buffer)) >= 0) {
>             outputStream.write(buffer, 0, len);
>         }
>
>         String base64Enc = Base64.encode(outputStream.toByteArray());
>         OMText zipContent =
> _factory.createOMText(base64Enc,"application/zip", true);
>         root.addChild(namePart);
>         root.addChild(zipPart);
>         zipPart.addChild(zipElmt);
>         zipElmt.addChild(zipContent);
>
>         sendToDeployment(root);
>     }
>
>     public void undeploy(String packageName) throws IOException {
>         // Prepare undeploy message
>         OMNamespace pmapi =
> _factory.createOMNamespace(Namespaces.ODE_PMAPI,"deployapi");
>         OMElement root = _factory.createOMElement("undeploy", pmapi);
>         OMElement part = _factory.createOMElement("packageName", null);
>         part.setText(packageName);
>         root.addChild(part);
>
>         if (packageName != null) {
>             part.setText(packageName);
>             root.addChild(part);
>             sendToDeployment(root);
>         }
>     }
>
>     private OMElement sendToDeployment(OMElement msg) throws AxisFault {
>         return _client.send(msg, this._url);
>     }
>
> }
>
>
> and my main class which uses ServiceClientUtil class for sending the
> message to Axis2 for calling the deploy function. ServiceClientUtil is the
> class which I found it on Github and this is an interface for making it
> easier to use the API : main.java
>
>
> import java.io.File;
> import java.io.FileNotFoundException;
> import java.io.IOException;
> import java.util.logging.Level;
> import java.util.logging.Logger;
>
> public class Main {
>     public static void main(String[] args) throws FileNotFoundException {
>         DeploymentConnection con = new DeploymentConnection("
> http://localhost:8080/ode/processes/DeploymentService");
>         try {
>             con.deploy(new File("C:\\temp\\DynPartner.zip"), "DynPartner");
>         } catch (IOException ex) {
>             //Logger.getLogger(Main.class.getName()).log(Level.SEVERE,
> null,ex);
>         ex.printStackTrace();
>         }}}
>
> I do appreciate if someone can help me. It makes me crazy and I was working
> the last 2 weeks on it.
>
> On Sun, Feb 1, 2015 at 4:15 AM, Sathwik B P <[hidden email]> wrote:
>
> > Did you check fileupload.jsp
> >
> > On Sat, Jan 31, 2015 at 8:19 PM, Marzie Dehghanipour <
> > [hidden email]> wrote:
> >
> > > Dear Sathwik,
> > >
> > > Thanks a lot for your answer. I know already the concept. but I need
> some
> > > implementation sample.
> > >
> > > Thanks
> > >
> > > On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <[hidden email]>
> > wrote:
> > >
> > > > Hi Marzie,
> > > >
> > > > You basically need to read the process artifact (zip file) and encode
> > it
> > > > with Base64 and use it as the payload contents for deploy operation
> of
> > > > Deployment Service.
> > > >
> > > > Have a look at fileupload.jsp under ODE webapp.
> > > >
> > > > regards,
> > > > sathwik
> > > >
> > > > On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> > > > [hidden email]> wrote:
> > > >
> > > > > Hi,
> > > > > I am looking for sample implementation of deploying a process on
> > Apache
> > > > ODE
> > > > > engine using deployment service API. I want to use the deployment
> API
> > > > > exposed by ODE. This allows for transferring deployment units (zip
> > > files
> > > > > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the
> > > > deployment.
> > > > >
> > > > > Any help in this regard would be appreciated.
> > > > >
> > > >
> > >
> >
>



--
Tammo van Lessen - http://www.taval.de
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Marzie Dehghanipour
Dear Tammo,

I always get this exception:

Exception in thread "main"
java.lang.NoClassDefFoundError:org/apache/axiom/om/impl/AbstractOMMetaFactory


I searched on the web but I could not solve the problem. I imported all
necessary jars in my project but it seems that at run time it cannot find
them.

Best,
Marzie

On Sun, Feb 1, 2015 at 2:42 PM, Tammo van Lessen <[hidden email]>
wrote:

> Hi Marzie,
>
> what exception do you get? Without that information is difficult to help.
>
> Best,
>   Tammo
>
> On Sun, Feb 1, 2015 at 8:02 AM, Marzie Dehghanipour <
> [hidden email]> wrote:
>
> > Hi,
> > Yes I checked it. I also have implemented some codes that use the
> > deployment service but it has exception and I worked the whole week but I
> > could not solve the problem.
> >
> > I have basically two classes: deploymentconnection.java
> >
> > import java.io.ByteArrayOutputStream;
> > import java.io.File;
> > import java.io.FileInputStream;
> > import java.io.FileNotFoundException;
> > import java.io.IOException;
> > import java.io.InputStream;
> >
> > import org.apache.axiom.om.OMAbstractFactory;
> > import org.apache.axiom.om.OMElement;
> > import org.apache.axiom.om.OMFactory;
> > import org.apache.axiom.om.OMNamespace;
> > import org.apache.axiom.om.OMText;
> > import org.apache.axiom.om.util.Base64;
> > import org.apache.axis2.AxisFault;
> > import org.apache.ode.axis2.service.ServiceClientUtil;
> > import org.apache.ode.utils.Namespaces;
> >
> > public class DeploymentConnection {
> >     private final String _url;
> >     private OMFactory _factory;
> >     private ServiceClientUtil _client;
> >     private final OMNamespace _pmapi;
> >
> >     public DeploymentConnection(String url) {
> >         _url = url;
> >         _factory = OMAbstractFactory.getOMFactory();
> >         _client = new ServiceClientUtil();
> >         _pmapi = _factory.createOMNamespace("
> > http://www.apache.org/ode/pmapi",
> > "pmapi");
> >     }
> >
> >     public void deploy(File archive, String name) throws
> > FileNotFoundException, IOException {
> >
> >     // Use the factory to create three elements
> >         OMElement root = _factory.createOMElement("deploy", _pmapi);
> >         OMElement namePart = _factory.createOMElement("name", null);
> >         namePart.setText(name);
> >         OMElement zipPart = _factory.createOMElement("package", null);
> >         OMElement zipElmt = _factory.createOMElement("zip", null);
> >
> >         InputStream is = new FileInputStream(archive.getPath());
> >         ByteArrayOutputStream outputStream = new
> > ByteArrayOutputStream((int) archive.length());
> >         byte[] buffer = new byte[4096];
> >         int len;
> >         while ((len = is.read(buffer)) >= 0) {
> >             outputStream.write(buffer, 0, len);
> >         }
> >
> >         String base64Enc = Base64.encode(outputStream.toByteArray());
> >         OMText zipContent =
> > _factory.createOMText(base64Enc,"application/zip", true);
> >         root.addChild(namePart);
> >         root.addChild(zipPart);
> >         zipPart.addChild(zipElmt);
> >         zipElmt.addChild(zipContent);
> >
> >         sendToDeployment(root);
> >     }
> >
> >     public void undeploy(String packageName) throws IOException {
> >         // Prepare undeploy message
> >         OMNamespace pmapi =
> > _factory.createOMNamespace(Namespaces.ODE_PMAPI,"deployapi");
> >         OMElement root = _factory.createOMElement("undeploy", pmapi);
> >         OMElement part = _factory.createOMElement("packageName", null);
> >         part.setText(packageName);
> >         root.addChild(part);
> >
> >         if (packageName != null) {
> >             part.setText(packageName);
> >             root.addChild(part);
> >             sendToDeployment(root);
> >         }
> >     }
> >
> >     private OMElement sendToDeployment(OMElement msg) throws AxisFault {
> >         return _client.send(msg, this._url);
> >     }
> >
> > }
> >
> >
> > and my main class which uses ServiceClientUtil class for sending the
> > message to Axis2 for calling the deploy function. ServiceClientUtil is
> the
> > class which I found it on Github and this is an interface for making it
> > easier to use the API : main.java
> >
> >
> > import java.io.File;
> > import java.io.FileNotFoundException;
> > import java.io.IOException;
> > import java.util.logging.Level;
> > import java.util.logging.Logger;
> >
> > public class Main {
> >     public static void main(String[] args) throws FileNotFoundException {
> >         DeploymentConnection con = new DeploymentConnection("
> > http://localhost:8080/ode/processes/DeploymentService");
> >         try {
> >             con.deploy(new File("C:\\temp\\DynPartner.zip"),
> "DynPartner");
> >         } catch (IOException ex) {
> >             //Logger.getLogger(Main.class.getName()).log(Level.SEVERE,
> > null,ex);
> >         ex.printStackTrace();
> >         }}}
> >
> > I do appreciate if someone can help me. It makes me crazy and I was
> working
> > the last 2 weeks on it.
> >
> > On Sun, Feb 1, 2015 at 4:15 AM, Sathwik B P <[hidden email]>
> wrote:
> >
> > > Did you check fileupload.jsp
> > >
> > > On Sat, Jan 31, 2015 at 8:19 PM, Marzie Dehghanipour <
> > > [hidden email]> wrote:
> > >
> > > > Dear Sathwik,
> > > >
> > > > Thanks a lot for your answer. I know already the concept. but I need
> > some
> > > > implementation sample.
> > > >
> > > > Thanks
> > > >
> > > > On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <[hidden email]>
> > > wrote:
> > > >
> > > > > Hi Marzie,
> > > > >
> > > > > You basically need to read the process artifact (zip file) and
> encode
> > > it
> > > > > with Base64 and use it as the payload contents for deploy operation
> > of
> > > > > Deployment Service.
> > > > >
> > > > > Have a look at fileupload.jsp under ODE webapp.
> > > > >
> > > > > regards,
> > > > > sathwik
> > > > >
> > > > > On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> > > > > [hidden email]> wrote:
> > > > >
> > > > > > Hi,
> > > > > > I am looking for sample implementation of deploying a process on
> > > Apache
> > > > > ODE
> > > > > > engine using deployment service API. I want to use the deployment
> > API
> > > > > > exposed by ODE. This allows for transferring deployment units
> (zip
> > > > files
> > > > > > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the
> > > > > deployment.
> > > > > >
> > > > > > Any help in this regard would be appreciated.
> > > > > >
> > > > >
> > > >
> > >
> >
>
>
>
> --
> Tammo van Lessen - http://www.taval.de
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Tammo van Lessen
Hi Marzie,

if that exception occurs, it is very unlikely that it is related to any ODE
code. I'm afraid you need to resolve any classpath issues first. Have you
checked if you included the correct version of Axiom (axiom-common-impl or
axiom-impl)? How do you call the main class? Do you use Maven? Eclipse?

Best,
  Tammo

On Mon, Feb 2, 2015 at 2:12 PM, Marzie Dehghanipour <
[hidden email]> wrote:

> Dear Tammo,
>
> I always get this exception:
>
> Exception in thread "main"
>
> java.lang.NoClassDefFoundError:org/apache/axiom/om/impl/AbstractOMMetaFactory
>
>
> I searched on the web but I could not solve the problem. I imported all
> necessary jars in my project but it seems that at run time it cannot find
> them.
>
> Best,
> Marzie
>
> On Sun, Feb 1, 2015 at 2:42 PM, Tammo van Lessen <[hidden email]>
> wrote:
>
> > Hi Marzie,
> >
> > what exception do you get? Without that information is difficult to help.
> >
> > Best,
> >   Tammo
> >
> > On Sun, Feb 1, 2015 at 8:02 AM, Marzie Dehghanipour <
> > [hidden email]> wrote:
> >
> > > Hi,
> > > Yes I checked it. I also have implemented some codes that use the
> > > deployment service but it has exception and I worked the whole week
> but I
> > > could not solve the problem.
> > >
> > > I have basically two classes: deploymentconnection.java
> > >
> > > import java.io.ByteArrayOutputStream;
> > > import java.io.File;
> > > import java.io.FileInputStream;
> > > import java.io.FileNotFoundException;
> > > import java.io.IOException;
> > > import java.io.InputStream;
> > >
> > > import org.apache.axiom.om.OMAbstractFactory;
> > > import org.apache.axiom.om.OMElement;
> > > import org.apache.axiom.om.OMFactory;
> > > import org.apache.axiom.om.OMNamespace;
> > > import org.apache.axiom.om.OMText;
> > > import org.apache.axiom.om.util.Base64;
> > > import org.apache.axis2.AxisFault;
> > > import org.apache.ode.axis2.service.ServiceClientUtil;
> > > import org.apache.ode.utils.Namespaces;
> > >
> > > public class DeploymentConnection {
> > >     private final String _url;
> > >     private OMFactory _factory;
> > >     private ServiceClientUtil _client;
> > >     private final OMNamespace _pmapi;
> > >
> > >     public DeploymentConnection(String url) {
> > >         _url = url;
> > >         _factory = OMAbstractFactory.getOMFactory();
> > >         _client = new ServiceClientUtil();
> > >         _pmapi = _factory.createOMNamespace("
> > > http://www.apache.org/ode/pmapi",
> > > "pmapi");
> > >     }
> > >
> > >     public void deploy(File archive, String name) throws
> > > FileNotFoundException, IOException {
> > >
> > >     // Use the factory to create three elements
> > >         OMElement root = _factory.createOMElement("deploy", _pmapi);
> > >         OMElement namePart = _factory.createOMElement("name", null);
> > >         namePart.setText(name);
> > >         OMElement zipPart = _factory.createOMElement("package", null);
> > >         OMElement zipElmt = _factory.createOMElement("zip", null);
> > >
> > >         InputStream is = new FileInputStream(archive.getPath());
> > >         ByteArrayOutputStream outputStream = new
> > > ByteArrayOutputStream((int) archive.length());
> > >         byte[] buffer = new byte[4096];
> > >         int len;
> > >         while ((len = is.read(buffer)) >= 0) {
> > >             outputStream.write(buffer, 0, len);
> > >         }
> > >
> > >         String base64Enc = Base64.encode(outputStream.toByteArray());
> > >         OMText zipContent =
> > > _factory.createOMText(base64Enc,"application/zip", true);
> > >         root.addChild(namePart);
> > >         root.addChild(zipPart);
> > >         zipPart.addChild(zipElmt);
> > >         zipElmt.addChild(zipContent);
> > >
> > >         sendToDeployment(root);
> > >     }
> > >
> > >     public void undeploy(String packageName) throws IOException {
> > >         // Prepare undeploy message
> > >         OMNamespace pmapi =
> > > _factory.createOMNamespace(Namespaces.ODE_PMAPI,"deployapi");
> > >         OMElement root = _factory.createOMElement("undeploy", pmapi);
> > >         OMElement part = _factory.createOMElement("packageName", null);
> > >         part.setText(packageName);
> > >         root.addChild(part);
> > >
> > >         if (packageName != null) {
> > >             part.setText(packageName);
> > >             root.addChild(part);
> > >             sendToDeployment(root);
> > >         }
> > >     }
> > >
> > >     private OMElement sendToDeployment(OMElement msg) throws AxisFault
> {
> > >         return _client.send(msg, this._url);
> > >     }
> > >
> > > }
> > >
> > >
> > > and my main class which uses ServiceClientUtil class for sending the
> > > message to Axis2 for calling the deploy function. ServiceClientUtil is
> > the
> > > class which I found it on Github and this is an interface for making it
> > > easier to use the API : main.java
> > >
> > >
> > > import java.io.File;
> > > import java.io.FileNotFoundException;
> > > import java.io.IOException;
> > > import java.util.logging.Level;
> > > import java.util.logging.Logger;
> > >
> > > public class Main {
> > >     public static void main(String[] args) throws
> FileNotFoundException {
> > >         DeploymentConnection con = new DeploymentConnection("
> > > http://localhost:8080/ode/processes/DeploymentService");
> > >         try {
> > >             con.deploy(new File("C:\\temp\\DynPartner.zip"),
> > "DynPartner");
> > >         } catch (IOException ex) {
> > >             //Logger.getLogger(Main.class.getName()).log(Level.SEVERE,
> > > null,ex);
> > >         ex.printStackTrace();
> > >         }}}
> > >
> > > I do appreciate if someone can help me. It makes me crazy and I was
> > working
> > > the last 2 weeks on it.
> > >
> > > On Sun, Feb 1, 2015 at 4:15 AM, Sathwik B P <[hidden email]>
> > wrote:
> > >
> > > > Did you check fileupload.jsp
> > > >
> > > > On Sat, Jan 31, 2015 at 8:19 PM, Marzie Dehghanipour <
> > > > [hidden email]> wrote:
> > > >
> > > > > Dear Sathwik,
> > > > >
> > > > > Thanks a lot for your answer. I know already the concept. but I
> need
> > > some
> > > > > implementation sample.
> > > > >
> > > > > Thanks
> > > > >
> > > > > On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <[hidden email]
> >
> > > > wrote:
> > > > >
> > > > > > Hi Marzie,
> > > > > >
> > > > > > You basically need to read the process artifact (zip file) and
> > encode
> > > > it
> > > > > > with Base64 and use it as the payload contents for deploy
> operation
> > > of
> > > > > > Deployment Service.
> > > > > >
> > > > > > Have a look at fileupload.jsp under ODE webapp.
> > > > > >
> > > > > > regards,
> > > > > > sathwik
> > > > > >
> > > > > > On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> > > > > > [hidden email]> wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > I am looking for sample implementation of deploying a process
> on
> > > > Apache
> > > > > > ODE
> > > > > > > engine using deployment service API. I want to use the
> deployment
> > > API
> > > > > > > exposed by ODE. This allows for transferring deployment units
> > (zip
> > > > > files
> > > > > > > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the
> > > > > > deployment.
> > > > > > >
> > > > > > > Any help in this regard would be appreciated.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> > Tammo van Lessen - http://www.taval.de
> >
>



--
Tammo van Lessen - http://www.taval.de
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Marzie Dehghanipour
Dear Tammo,

I work with Eclipse, unfortunately I have not worked before with Maven.
I need a java project which can call ODE API deployment service and deploy
the process remotely. I used the "DeploymentWebService.java" +
"ServiceClientUtil.java" + "ODEClient.java"+ "Test.java".

The first Two classes I only copied from Github into my default package.
But the other two I can copy the code below. I also add some jars which the
classes need and obviously have installed Apache ODE inside Tomcat
Application server. I mean I can see the WSDL file of this service by
calling this:  "http://localhost:8080/ode/processes/DeploymentService?wsdl"

The problem is that I am not sure that am I am in the right direction or
not as I always get exception? I am new to all these topics and I am not
sure that should I also include other java classes from github or not?

I do appreciate your kind consideration.

ODEClient.java :

import java.io.BufferedInputStream;
import java.io.IOException;
import javax.xml.stream.XMLStreamException;
import org.apache.axiom.om.*;
import org.apache.axiom.om.util.Base64;
import org.apache.axis2.AxisFault;
import org.apache.ode.axis2.service.ServiceClientUtil;
import org.apache.ode.utils.Namespaces;

import javax.xml.namespace.QName;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.StringBufferInputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import org.apache.axiom.om.impl.llom.util.AXIOMUtil;
import org.apache.axiom.soap.SOAPFactory;
import org.apache.ode.bpel.pmapi.ScopeInfoDocument;
import org.apache.ode.tools.sendsoap.cline.HttpSoapSender;

public class ODEClient {

    public Boolean checkProcess(String packge) throws AxisFault {
        // Setup and tear down are doing ost of the job here, just checking
in the middle
        ServiceClientUtil client = new ServiceClientUtil();

        OMElement listRoot = client.buildMessage("listProcesses", new
String[]{"filter", "orderKeys"},
                new String[]{packge, ""});
        OMElement result = client.send(listRoot, "
http://localhost:8080/ode/processes/ProcessManagement?wsdl");
        OMElement child = result.getFirstElement();
        OMElement pid = child.getFirstElement();
        if (pid != null) {
            return true;
        }
        return false;
    }

    public OMElement listAllProcesses() throws AxisFault {
        ServiceClientUtil client = new ServiceClientUtil();
        OMElement listRoot = client.buildMessage("listProcesses", new
String[]{},
                new String[]{});
        OMElement result = client.send(listRoot, "
http://localhost:8080/ode/processes/ProcessManagement?wsdl");
        return result;
    }
    private OMFactory _factory;
    private ServiceClientUtil _client;
    private ArrayList<QName> _deployed = new ArrayList<QName>();
    private String _package;

    public void undeploy(String pakage) throws Exception {
        // Prepare undeploy message
        _client = new ServiceClientUtil();
        _factory = OMAbstractFactory.getOMFactory();
        OMNamespace depns =
_factory.createOMNamespace(Namespaces.ODE_PMAPI, "deployapi");
        OMElement root = _factory.createOMElement("undeploy", depns);
        OMElement part = _factory.createOMElement("packageName", null);
        part.setText(pakage);
        root.addChild(part);

        // Undeploy
        sendToDeployment(root);
    }

    public String deploy(String packageName, String path) throws
IOException, XMLStreamException {
        String pakage = null;
        try {
            SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();
            OMNamespace omn = factory.createOMNamespace("
http://www.apache.org/ode/pmapi", "tns");
            OMNamespace soapnm = factory.createOMNamespace("
http://schemas.xmlsoap.org/soap/envelope/", "SOAP-ENV");
            OMElement message = factory.createOMElement("Envelope", soapnm);
            OMElement body = factory.createOMElement("Body", soapnm);
            message.addChild(body);
            OMNamespace depns =
factory.createOMNamespace(Namespaces.ODE_PMAPI, "deployapi");
            OMElement root = factory.createOMElement("deploy", omn);
            body.addChild(root);
            OMElement namePart = factory.createOMElement("name", depns);
            namePart.setText(packageName);
            OMElement zipPart = factory.createOMElement("package", depns);
            OMElement zipElmt = factory.createOMElement("zip", depns);
            System.out.println("zip part :" + zipPart);
            System.out.println("zip element :" + zipElmt);

            // Add the zip to deploy
            File fileName = new File(path);
            InputStream istream = new FileInputStream(fileName);
            System.out.println("stream : " + istream);
            BufferedInputStream is = new BufferedInputStream(istream);
            System.out.println("is :" + is);
            ByteArrayOutputStream outputStream = new
ByteArrayOutputStream();
            byte[] buffer = new byte[4096];
            int len;
            while ((len = is.read(buffer)) >= 0) {
                outputStream.write(buffer, 0, len);
            }
            String base64Enc = Base64.encode(outputStream.toByteArray());
            OMText zipContent = factory.createOMText(base64Enc,
"application/zip", true);
            root.addChild(namePart);
            root.addChild(zipPart);
            zipPart.addChild(zipElmt);
            zipElmt.addChild(zipContent);
            System.out.println("root input :" + message);
            // Deploy
            InputStream instreams = null;
            try {
                instreams = new StringBufferInputStream(message.toString());
            } catch (java.lang.Exception e) {
                System.out.println("file not found " + e.toString());
            }
            String soapresult = HttpSoapSender.doSend(new URL("
http://127.0.0.1:8080/ode/processes/DeploymentService?wsdl"), instreams,
"1", 0, "admin", "axis2", null);
            System.out.println("result :" + soapresult);
            AXIOMUtil axutil = new AXIOMUtil();
            org.apache.axiom.om.OMElement result =
axutil.stringToOM(soapresult);
            _deployed.clear();
            System.out.println(result);
            Iterator iter = result.getChildElements();

            while (iter.hasNext()) {
                OMElement e = (OMElement) iter.next();
                e = e.getFirstElement().getFirstElement().getFirstElement();
                System.out.println("etext : " + e.getText());
                System.out.println("local name : " + e.getLocalName());
                if (e.getLocalName().equals("name")) {
                    pakage = e.getText();
                    System.out.println("package :" + pakage);
                }
                if (e.getLocalName().equals("id")) {
                    _deployed.add(e.getTextAsQName());
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        return pakage;
    }

    private OMElement sendToDeployment(OMElement msg) throws AxisFault {
        return _client.send(msg, "
http://localhost:8080/ode/processes/DeploymentService?wsdl");
    }

    private OMElement sendToPM(OMElement msg) throws AxisFault {
        return _client.send(msg, "
http://localhost:8080/ode/processes/ProcessManagement?wsdl");
    }
}

Test.java :

import java.io.IOException;
import javax.xml.stream.XMLStreamException;
public class Test {

/**
 * @param args
 * @throws Exception
 */
public static void main(String[] args) throws Exception {
    ODEClient client=new ODEClient();
    client.undeploy("DynPartner");
}

}

On Mon, Feb 2, 2015 at 4:41 PM, Tammo van Lessen <[hidden email]>
wrote:

> Hi Marzie,
>
> if that exception occurs, it is very unlikely that it is related to any ODE
> code. I'm afraid you need to resolve any classpath issues first. Have you
> checked if you included the correct version of Axiom (axiom-common-impl or
> axiom-impl)? How do you call the main class? Do you use Maven? Eclipse?
>
> Best,
>   Tammo
>
> On Mon, Feb 2, 2015 at 2:12 PM, Marzie Dehghanipour <
> [hidden email]> wrote:
>
> > Dear Tammo,
> >
> > I always get this exception:
> >
> > Exception in thread "main"
> >
> >
> java.lang.NoClassDefFoundError:org/apache/axiom/om/impl/AbstractOMMetaFactory
> >
> >
> > I searched on the web but I could not solve the problem. I imported all
> > necessary jars in my project but it seems that at run time it cannot find
> > them.
> >
> > Best,
> > Marzie
> >
> > On Sun, Feb 1, 2015 at 2:42 PM, Tammo van Lessen <[hidden email]>
> > wrote:
> >
> > > Hi Marzie,
> > >
> > > what exception do you get? Without that information is difficult to
> help.
> > >
> > > Best,
> > >   Tammo
> > >
> > > On Sun, Feb 1, 2015 at 8:02 AM, Marzie Dehghanipour <
> > > [hidden email]> wrote:
> > >
> > > > Hi,
> > > > Yes I checked it. I also have implemented some codes that use the
> > > > deployment service but it has exception and I worked the whole week
> > but I
> > > > could not solve the problem.
> > > >
> > > > I have basically two classes: deploymentconnection.java
> > > >
> > > > import java.io.ByteArrayOutputStream;
> > > > import java.io.File;
> > > > import java.io.FileInputStream;
> > > > import java.io.FileNotFoundException;
> > > > import java.io.IOException;
> > > > import java.io.InputStream;
> > > >
> > > > import org.apache.axiom.om.OMAbstractFactory;
> > > > import org.apache.axiom.om.OMElement;
> > > > import org.apache.axiom.om.OMFactory;
> > > > import org.apache.axiom.om.OMNamespace;
> > > > import org.apache.axiom.om.OMText;
> > > > import org.apache.axiom.om.util.Base64;
> > > > import org.apache.axis2.AxisFault;
> > > > import org.apache.ode.axis2.service.ServiceClientUtil;
> > > > import org.apache.ode.utils.Namespaces;
> > > >
> > > > public class DeploymentConnection {
> > > >     private final String _url;
> > > >     private OMFactory _factory;
> > > >     private ServiceClientUtil _client;
> > > >     private final OMNamespace _pmapi;
> > > >
> > > >     public DeploymentConnection(String url) {
> > > >         _url = url;
> > > >         _factory = OMAbstractFactory.getOMFactory();
> > > >         _client = new ServiceClientUtil();
> > > >         _pmapi = _factory.createOMNamespace("
> > > > http://www.apache.org/ode/pmapi",
> > > > "pmapi");
> > > >     }
> > > >
> > > >     public void deploy(File archive, String name) throws
> > > > FileNotFoundException, IOException {
> > > >
> > > >     // Use the factory to create three elements
> > > >         OMElement root = _factory.createOMElement("deploy", _pmapi);
> > > >         OMElement namePart = _factory.createOMElement("name", null);
> > > >         namePart.setText(name);
> > > >         OMElement zipPart = _factory.createOMElement("package",
> null);
> > > >         OMElement zipElmt = _factory.createOMElement("zip", null);
> > > >
> > > >         InputStream is = new FileInputStream(archive.getPath());
> > > >         ByteArrayOutputStream outputStream = new
> > > > ByteArrayOutputStream((int) archive.length());
> > > >         byte[] buffer = new byte[4096];
> > > >         int len;
> > > >         while ((len = is.read(buffer)) >= 0) {
> > > >             outputStream.write(buffer, 0, len);
> > > >         }
> > > >
> > > >         String base64Enc = Base64.encode(outputStream.toByteArray());
> > > >         OMText zipContent =
> > > > _factory.createOMText(base64Enc,"application/zip", true);
> > > >         root.addChild(namePart);
> > > >         root.addChild(zipPart);
> > > >         zipPart.addChild(zipElmt);
> > > >         zipElmt.addChild(zipContent);
> > > >
> > > >         sendToDeployment(root);
> > > >     }
> > > >
> > > >     public void undeploy(String packageName) throws IOException {
> > > >         // Prepare undeploy message
> > > >         OMNamespace pmapi =
> > > > _factory.createOMNamespace(Namespaces.ODE_PMAPI,"deployapi");
> > > >         OMElement root = _factory.createOMElement("undeploy", pmapi);
> > > >         OMElement part = _factory.createOMElement("packageName",
> null);
> > > >         part.setText(packageName);
> > > >         root.addChild(part);
> > > >
> > > >         if (packageName != null) {
> > > >             part.setText(packageName);
> > > >             root.addChild(part);
> > > >             sendToDeployment(root);
> > > >         }
> > > >     }
> > > >
> > > >     private OMElement sendToDeployment(OMElement msg) throws
> AxisFault
> > {
> > > >         return _client.send(msg, this._url);
> > > >     }
> > > >
> > > > }
> > > >
> > > >
> > > > and my main class which uses ServiceClientUtil class for sending the
> > > > message to Axis2 for calling the deploy function. ServiceClientUtil
> is
> > > the
> > > > class which I found it on Github and this is an interface for making
> it
> > > > easier to use the API : main.java
> > > >
> > > >
> > > > import java.io.File;
> > > > import java.io.FileNotFoundException;
> > > > import java.io.IOException;
> > > > import java.util.logging.Level;
> > > > import java.util.logging.Logger;
> > > >
> > > > public class Main {
> > > >     public static void main(String[] args) throws
> > FileNotFoundException {
> > > >         DeploymentConnection con = new DeploymentConnection("
> > > > http://localhost:8080/ode/processes/DeploymentService");
> > > >         try {
> > > >             con.deploy(new File("C:\\temp\\DynPartner.zip"),
> > > "DynPartner");
> > > >         } catch (IOException ex) {
> > > >
>  //Logger.getLogger(Main.class.getName()).log(Level.SEVERE,
> > > > null,ex);
> > > >         ex.printStackTrace();
> > > >         }}}
> > > >
> > > > I do appreciate if someone can help me. It makes me crazy and I was
> > > working
> > > > the last 2 weeks on it.
> > > >
> > > > On Sun, Feb 1, 2015 at 4:15 AM, Sathwik B P <[hidden email]>
> > > wrote:
> > > >
> > > > > Did you check fileupload.jsp
> > > > >
> > > > > On Sat, Jan 31, 2015 at 8:19 PM, Marzie Dehghanipour <
> > > > > [hidden email]> wrote:
> > > > >
> > > > > > Dear Sathwik,
> > > > > >
> > > > > > Thanks a lot for your answer. I know already the concept. but I
> > need
> > > > some
> > > > > > implementation sample.
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <
> [hidden email]
> > >
> > > > > wrote:
> > > > > >
> > > > > > > Hi Marzie,
> > > > > > >
> > > > > > > You basically need to read the process artifact (zip file) and
> > > encode
> > > > > it
> > > > > > > with Base64 and use it as the payload contents for deploy
> > operation
> > > > of
> > > > > > > Deployment Service.
> > > > > > >
> > > > > > > Have a look at fileupload.jsp under ODE webapp.
> > > > > > >
> > > > > > > regards,
> > > > > > > sathwik
> > > > > > >
> > > > > > > On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> > > > > > > [hidden email]> wrote:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > > I am looking for sample implementation of deploying a process
> > on
> > > > > Apache
> > > > > > > ODE
> > > > > > > > engine using deployment service API. I want to use the
> > deployment
> > > > API
> > > > > > > > exposed by ODE. This allows for transferring deployment units
> > > (zip
> > > > > > files
> > > > > > > > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting
> the
> > > > > > > deployment.
> > > > > > > >
> > > > > > > > Any help in this regard would be appreciated.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Tammo van Lessen - http://www.taval.de
> > >
> >
>
>
>
> --
> Tammo van Lessen - http://www.taval.de
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Tammo van Lessen
Hi Marzie,

just to proceed I'd recommend to add all jar files located in
<tomcat>/webapps/ode/WEB-INF/lib to your project. You can skip those
starting with ode-*. This should help and then you can start removing
unneeded dependencies. In general, you will need only those required by
Axis2, so you could also download an Axis2 binary distro and use it
libraries instead.

HTH,
  Tammo

On Mon, Feb 2, 2015 at 5:39 PM, Marzie Dehghanipour <
[hidden email]> wrote:

> Dear Tammo,
>
> I work with Eclipse, unfortunately I have not worked before with Maven.
> I need a java project which can call ODE API deployment service and deploy
> the process remotely. I used the "DeploymentWebService.java" +
> "ServiceClientUtil.java" + "ODEClient.java"+ "Test.java".
>
> The first Two classes I only copied from Github into my default package.
> But the other two I can copy the code below. I also add some jars which the
> classes need and obviously have installed Apache ODE inside Tomcat
> Application server. I mean I can see the WSDL file of this service by
> calling this:  "http://localhost:8080/ode/processes/DeploymentService?wsdl
> "
>
> The problem is that I am not sure that am I am in the right direction or
> not as I always get exception? I am new to all these topics and I am not
> sure that should I also include other java classes from github or not?
>
> I do appreciate your kind consideration.
>
> ODEClient.java :
>
> import java.io.BufferedInputStream;
> import java.io.IOException;
> import javax.xml.stream.XMLStreamException;
> import org.apache.axiom.om.*;
> import org.apache.axiom.om.util.Base64;
> import org.apache.axis2.AxisFault;
> import org.apache.ode.axis2.service.ServiceClientUtil;
> import org.apache.ode.utils.Namespaces;
>
> import javax.xml.namespace.QName;
> import java.io.ByteArrayOutputStream;
> import java.io.File;
> import java.io.FileInputStream;
> import java.io.InputStream;
> import java.io.StringBufferInputStream;
> import java.net.URL;
> import java.util.ArrayList;
> import java.util.Iterator;
> import org.apache.axiom.om.impl.llom.util.AXIOMUtil;
> import org.apache.axiom.soap.SOAPFactory;
> import org.apache.ode.bpel.pmapi.ScopeInfoDocument;
> import org.apache.ode.tools.sendsoap.cline.HttpSoapSender;
>
> public class ODEClient {
>
>     public Boolean checkProcess(String packge) throws AxisFault {
>         // Setup and tear down are doing ost of the job here, just checking
> in the middle
>         ServiceClientUtil client = new ServiceClientUtil();
>
>         OMElement listRoot = client.buildMessage("listProcesses", new
> String[]{"filter", "orderKeys"},
>                 new String[]{packge, ""});
>         OMElement result = client.send(listRoot, "
> http://localhost:8080/ode/processes/ProcessManagement?wsdl");
>         OMElement child = result.getFirstElement();
>         OMElement pid = child.getFirstElement();
>         if (pid != null) {
>             return true;
>         }
>         return false;
>     }
>
>     public OMElement listAllProcesses() throws AxisFault {
>         ServiceClientUtil client = new ServiceClientUtil();
>         OMElement listRoot = client.buildMessage("listProcesses", new
> String[]{},
>                 new String[]{});
>         OMElement result = client.send(listRoot, "
> http://localhost:8080/ode/processes/ProcessManagement?wsdl");
>         return result;
>     }
>     private OMFactory _factory;
>     private ServiceClientUtil _client;
>     private ArrayList<QName> _deployed = new ArrayList<QName>();
>     private String _package;
>
>     public void undeploy(String pakage) throws Exception {
>         // Prepare undeploy message
>         _client = new ServiceClientUtil();
>         _factory = OMAbstractFactory.getOMFactory();
>         OMNamespace depns =
> _factory.createOMNamespace(Namespaces.ODE_PMAPI, "deployapi");
>         OMElement root = _factory.createOMElement("undeploy", depns);
>         OMElement part = _factory.createOMElement("packageName", null);
>         part.setText(pakage);
>         root.addChild(part);
>
>         // Undeploy
>         sendToDeployment(root);
>     }
>
>     public String deploy(String packageName, String path) throws
> IOException, XMLStreamException {
>         String pakage = null;
>         try {
>             SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();
>             OMNamespace omn = factory.createOMNamespace("
> http://www.apache.org/ode/pmapi", "tns");
>             OMNamespace soapnm = factory.createOMNamespace("
> http://schemas.xmlsoap.org/soap/envelope/", "SOAP-ENV");
>             OMElement message = factory.createOMElement("Envelope",
> soapnm);
>             OMElement body = factory.createOMElement("Body", soapnm);
>             message.addChild(body);
>             OMNamespace depns =
> factory.createOMNamespace(Namespaces.ODE_PMAPI, "deployapi");
>             OMElement root = factory.createOMElement("deploy", omn);
>             body.addChild(root);
>             OMElement namePart = factory.createOMElement("name", depns);
>             namePart.setText(packageName);
>             OMElement zipPart = factory.createOMElement("package", depns);
>             OMElement zipElmt = factory.createOMElement("zip", depns);
>             System.out.println("zip part :" + zipPart);
>             System.out.println("zip element :" + zipElmt);
>
>             // Add the zip to deploy
>             File fileName = new File(path);
>             InputStream istream = new FileInputStream(fileName);
>             System.out.println("stream : " + istream);
>             BufferedInputStream is = new BufferedInputStream(istream);
>             System.out.println("is :" + is);
>             ByteArrayOutputStream outputStream = new
> ByteArrayOutputStream();
>             byte[] buffer = new byte[4096];
>             int len;
>             while ((len = is.read(buffer)) >= 0) {
>                 outputStream.write(buffer, 0, len);
>             }
>             String base64Enc = Base64.encode(outputStream.toByteArray());
>             OMText zipContent = factory.createOMText(base64Enc,
> "application/zip", true);
>             root.addChild(namePart);
>             root.addChild(zipPart);
>             zipPart.addChild(zipElmt);
>             zipElmt.addChild(zipContent);
>             System.out.println("root input :" + message);
>             // Deploy
>             InputStream instreams = null;
>             try {
>                 instreams = new
> StringBufferInputStream(message.toString());
>             } catch (java.lang.Exception e) {
>                 System.out.println("file not found " + e.toString());
>             }
>             String soapresult = HttpSoapSender.doSend(new URL("
> http://127.0.0.1:8080/ode/processes/DeploymentService?wsdl"), instreams,
> "1", 0, "admin", "axis2", null);
>             System.out.println("result :" + soapresult);
>             AXIOMUtil axutil = new AXIOMUtil();
>             org.apache.axiom.om.OMElement result =
> axutil.stringToOM(soapresult);
>             _deployed.clear();
>             System.out.println(result);
>             Iterator iter = result.getChildElements();
>
>             while (iter.hasNext()) {
>                 OMElement e = (OMElement) iter.next();
>                 e =
> e.getFirstElement().getFirstElement().getFirstElement();
>                 System.out.println("etext : " + e.getText());
>                 System.out.println("local name : " + e.getLocalName());
>                 if (e.getLocalName().equals("name")) {
>                     pakage = e.getText();
>                     System.out.println("package :" + pakage);
>                 }
>                 if (e.getLocalName().equals("id")) {
>                     _deployed.add(e.getTextAsQName());
>                 }
>             }
>         } catch (Exception e) {
>             e.printStackTrace();
>         }
>         return pakage;
>     }
>
>     private OMElement sendToDeployment(OMElement msg) throws AxisFault {
>         return _client.send(msg, "
> http://localhost:8080/ode/processes/DeploymentService?wsdl");
>     }
>
>     private OMElement sendToPM(OMElement msg) throws AxisFault {
>         return _client.send(msg, "
> http://localhost:8080/ode/processes/ProcessManagement?wsdl");
>     }
> }
>
> Test.java :
>
> import java.io.IOException;
> import javax.xml.stream.XMLStreamException;
> public class Test {
>
> /**
>  * @param args
>  * @throws Exception
>  */
> public static void main(String[] args) throws Exception {
>     ODEClient client=new ODEClient();
>     client.undeploy("DynPartner");
> }
>
> }
>
> On Mon, Feb 2, 2015 at 4:41 PM, Tammo van Lessen <[hidden email]>
> wrote:
>
> > Hi Marzie,
> >
> > if that exception occurs, it is very unlikely that it is related to any
> ODE
> > code. I'm afraid you need to resolve any classpath issues first. Have you
> > checked if you included the correct version of Axiom (axiom-common-impl
> or
> > axiom-impl)? How do you call the main class? Do you use Maven? Eclipse?
> >
> > Best,
> >   Tammo
> >
> > On Mon, Feb 2, 2015 at 2:12 PM, Marzie Dehghanipour <
> > [hidden email]> wrote:
> >
> > > Dear Tammo,
> > >
> > > I always get this exception:
> > >
> > > Exception in thread "main"
> > >
> > >
> >
> java.lang.NoClassDefFoundError:org/apache/axiom/om/impl/AbstractOMMetaFactory
> > >
> > >
> > > I searched on the web but I could not solve the problem. I imported all
> > > necessary jars in my project but it seems that at run time it cannot
> find
> > > them.
> > >
> > > Best,
> > > Marzie
> > >
> > > On Sun, Feb 1, 2015 at 2:42 PM, Tammo van Lessen <[hidden email]
> >
> > > wrote:
> > >
> > > > Hi Marzie,
> > > >
> > > > what exception do you get? Without that information is difficult to
> > help.
> > > >
> > > > Best,
> > > >   Tammo
> > > >
> > > > On Sun, Feb 1, 2015 at 8:02 AM, Marzie Dehghanipour <
> > > > [hidden email]> wrote:
> > > >
> > > > > Hi,
> > > > > Yes I checked it. I also have implemented some codes that use the
> > > > > deployment service but it has exception and I worked the whole week
> > > but I
> > > > > could not solve the problem.
> > > > >
> > > > > I have basically two classes: deploymentconnection.java
> > > > >
> > > > > import java.io.ByteArrayOutputStream;
> > > > > import java.io.File;
> > > > > import java.io.FileInputStream;
> > > > > import java.io.FileNotFoundException;
> > > > > import java.io.IOException;
> > > > > import java.io.InputStream;
> > > > >
> > > > > import org.apache.axiom.om.OMAbstractFactory;
> > > > > import org.apache.axiom.om.OMElement;
> > > > > import org.apache.axiom.om.OMFactory;
> > > > > import org.apache.axiom.om.OMNamespace;
> > > > > import org.apache.axiom.om.OMText;
> > > > > import org.apache.axiom.om.util.Base64;
> > > > > import org.apache.axis2.AxisFault;
> > > > > import org.apache.ode.axis2.service.ServiceClientUtil;
> > > > > import org.apache.ode.utils.Namespaces;
> > > > >
> > > > > public class DeploymentConnection {
> > > > >     private final String _url;
> > > > >     private OMFactory _factory;
> > > > >     private ServiceClientUtil _client;
> > > > >     private final OMNamespace _pmapi;
> > > > >
> > > > >     public DeploymentConnection(String url) {
> > > > >         _url = url;
> > > > >         _factory = OMAbstractFactory.getOMFactory();
> > > > >         _client = new ServiceClientUtil();
> > > > >         _pmapi = _factory.createOMNamespace("
> > > > > http://www.apache.org/ode/pmapi",
> > > > > "pmapi");
> > > > >     }
> > > > >
> > > > >     public void deploy(File archive, String name) throws
> > > > > FileNotFoundException, IOException {
> > > > >
> > > > >     // Use the factory to create three elements
> > > > >         OMElement root = _factory.createOMElement("deploy",
> _pmapi);
> > > > >         OMElement namePart = _factory.createOMElement("name",
> null);
> > > > >         namePart.setText(name);
> > > > >         OMElement zipPart = _factory.createOMElement("package",
> > null);
> > > > >         OMElement zipElmt = _factory.createOMElement("zip", null);
> > > > >
> > > > >         InputStream is = new FileInputStream(archive.getPath());
> > > > >         ByteArrayOutputStream outputStream = new
> > > > > ByteArrayOutputStream((int) archive.length());
> > > > >         byte[] buffer = new byte[4096];
> > > > >         int len;
> > > > >         while ((len = is.read(buffer)) >= 0) {
> > > > >             outputStream.write(buffer, 0, len);
> > > > >         }
> > > > >
> > > > >         String base64Enc =
> Base64.encode(outputStream.toByteArray());
> > > > >         OMText zipContent =
> > > > > _factory.createOMText(base64Enc,"application/zip", true);
> > > > >         root.addChild(namePart);
> > > > >         root.addChild(zipPart);
> > > > >         zipPart.addChild(zipElmt);
> > > > >         zipElmt.addChild(zipContent);
> > > > >
> > > > >         sendToDeployment(root);
> > > > >     }
> > > > >
> > > > >     public void undeploy(String packageName) throws IOException {
> > > > >         // Prepare undeploy message
> > > > >         OMNamespace pmapi =
> > > > > _factory.createOMNamespace(Namespaces.ODE_PMAPI,"deployapi");
> > > > >         OMElement root = _factory.createOMElement("undeploy",
> pmapi);
> > > > >         OMElement part = _factory.createOMElement("packageName",
> > null);
> > > > >         part.setText(packageName);
> > > > >         root.addChild(part);
> > > > >
> > > > >         if (packageName != null) {
> > > > >             part.setText(packageName);
> > > > >             root.addChild(part);
> > > > >             sendToDeployment(root);
> > > > >         }
> > > > >     }
> > > > >
> > > > >     private OMElement sendToDeployment(OMElement msg) throws
> > AxisFault
> > > {
> > > > >         return _client.send(msg, this._url);
> > > > >     }
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > > and my main class which uses ServiceClientUtil class for sending
> the
> > > > > message to Axis2 for calling the deploy function. ServiceClientUtil
> > is
> > > > the
> > > > > class which I found it on Github and this is an interface for
> making
> > it
> > > > > easier to use the API : main.java
> > > > >
> > > > >
> > > > > import java.io.File;
> > > > > import java.io.FileNotFoundException;
> > > > > import java.io.IOException;
> > > > > import java.util.logging.Level;
> > > > > import java.util.logging.Logger;
> > > > >
> > > > > public class Main {
> > > > >     public static void main(String[] args) throws
> > > FileNotFoundException {
> > > > >         DeploymentConnection con = new DeploymentConnection("
> > > > > http://localhost:8080/ode/processes/DeploymentService");
> > > > >         try {
> > > > >             con.deploy(new File("C:\\temp\\DynPartner.zip"),
> > > > "DynPartner");
> > > > >         } catch (IOException ex) {
> > > > >
> >  //Logger.getLogger(Main.class.getName()).log(Level.SEVERE,
> > > > > null,ex);
> > > > >         ex.printStackTrace();
> > > > >         }}}
> > > > >
> > > > > I do appreciate if someone can help me. It makes me crazy and I was
> > > > working
> > > > > the last 2 weeks on it.
> > > > >
> > > > > On Sun, Feb 1, 2015 at 4:15 AM, Sathwik B P <[hidden email]>
> > > > wrote:
> > > > >
> > > > > > Did you check fileupload.jsp
> > > > > >
> > > > > > On Sat, Jan 31, 2015 at 8:19 PM, Marzie Dehghanipour <
> > > > > > [hidden email]> wrote:
> > > > > >
> > > > > > > Dear Sathwik,
> > > > > > >
> > > > > > > Thanks a lot for your answer. I know already the concept. but I
> > > need
> > > > > some
> > > > > > > implementation sample.
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > On Sat, Jan 31, 2015 at 2:29 PM, Sathwik B P <
> > [hidden email]
> > > >
> > > > > > wrote:
> > > > > > >
> > > > > > > > Hi Marzie,
> > > > > > > >
> > > > > > > > You basically need to read the process artifact (zip file)
> and
> > > > encode
> > > > > > it
> > > > > > > > with Base64 and use it as the payload contents for deploy
> > > operation
> > > > > of
> > > > > > > > Deployment Service.
> > > > > > > >
> > > > > > > > Have a look at fileupload.jsp under ODE webapp.
> > > > > > > >
> > > > > > > > regards,
> > > > > > > > sathwik
> > > > > > > >
> > > > > > > > On Sat, Jan 31, 2015 at 6:42 PM, Marzie Dehghanipour <
> > > > > > > > [hidden email]> wrote:
> > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > I am looking for sample implementation of deploying a
> process
> > > on
> > > > > > Apache
> > > > > > > > ODE
> > > > > > > > > engine using deployment service API. I want to use the
> > > deployment
> > > > > API
> > > > > > > > > exposed by ODE. This allows for transferring deployment
> units
> > > > (zip
> > > > > > > files
> > > > > > > > > containing BPELs, WSDLs, DDs) via SOAP to ODE and starting
> > the
> > > > > > > > deployment.
> > > > > > > > >
> > > > > > > > > Any help in this regard would be appreciated.
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Tammo van Lessen - http://www.taval.de
> > > >
> > >
> >
> >
> >
> > --
> > Tammo van Lessen - http://www.taval.de
> >
>



--
Tammo van Lessen - http://www.taval.de
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Marzie Dehghanipour
Dear Tammo,

I did the same what you wrote and now I dont have any exceptions regarding
the dependencies and jars. Thanks a lot.
But there is another error in the Soap message result and it seems that it
cannot deploy the process correctly. I put the message below:

zip part :<deployapi:package xmlns:deployapi="
http://www.apache.org/ode/pmapi/types/2006/08/02/" />
zip element :<deployapi:zip xmlns:deployapi="
http://www.apache.org/ode/pmapi/types/2006/08/02/" />
stream : java.io.FileInputStream@2b2d96f2
is :java.io.BufferedInputStream@3e110003
root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/">DynPartner</deployapi:name><deployapi:package
xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
"><deployapi:zip>UEsDBBQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKABUAZGVwbG95LnhtbFVUCQADFAPhRBrYCUVVeAQA9AH0AbVSTU+EMBA9w68gvUs3e9CEFE4eNSH6C5CObrPQNp0K8u/tx/KRxdWTpAdm5s17b6ZlHHSnpuyr7ySW5GStLihVHPJ3MQCKj5PNW9VTbE/QN0iPh8M9def4QDknWZqExqJvhNx20zcNHf2Uwt5ZQLsBjvgLLh+Rd2TGGkC9B/uskhzMivuJc4FFzipNE6aNagExk00PJfGei8dJ1o2xEsyzCx0sCbBBcMh0LDwJeS6JcB5FY5Wp12yAJwzBDKKFmXZEz+rpXmOBZFoZW5JLtnYBoUGJXqRCIOSgzleqyxR/qZqo+jLj99JLaasfNd1/sOKXU+325D1s9rTwOB/Z1cfspKG61cBoKN9csb+Qf5pz3fNmUEbj46/Sb1BLAwQUAAAACAA2ey41cg9tA8YEAACREwAAEwAVAER5blBhcnRuZXJNYWluLmJwZWxVVAkAA+jWCUUa2Al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vIidKT4eUh+fI38kw0clUw64tSZnXhp3OTW34UAWv9Y7TX9YFyaSbCZoa02qimiM4KmGC0SlYZ6cu/bOMPutG7Orxio4AszXbarszQ98RXAgVc1S6wjLKkt53q0fHKQ+RHKlyYlHAE8Z/Az/U1af4o+L+n9sZ8XWrbl28NpNYvGap0ND87He6Y5s1o7sfuuBwBk/7cymcbvJc2+igLAU1YlzETAL5JlJlayiVWQD4p5dWMIhhd05YzR6LjsHa5fNaytxz6gb/Yry7oujM93to2oLFow0iDZBIGjm2MRUcpfXkIJam3mPJtpRnTZV+dP4Xq+NPgo6qC3JkQyab3fWRPtmqc24Ee6J9a+wtkS7H6P3eEn/TeJ4LvPCpdX7aXT1G1BLAQIXAxQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKAA0AAAAAAAEAAAC0gQAAAABkZXBsb3kueG1sVVQFAAMUA+FEVXgAAFBLAQIXAxQAAAAIADZ7LjVyD20DxgQAAJETAAATAA0AAAAAAAEAAAC0gVcBAABEeW5QYXJ0bmVyTWFpbi5icGVsVVQFAAPo1glFVXgAAFBLAQIXAxQAAAAIANV6HTV+cyyfjwIAAMQKAAAYAA0AAAAAAAEAAAC0gWMGAABEeW5QYXJ0bmVyUmVzcG9uZGVyLmJwZWxVVAUAAzK+9ERVeAAAUEsBAhcDFAAAAAgA7kD8NPafrhqjAgAAywgAAAkADQAAAAAAAQAAALSBPQkAAE1haW4ud3NkbFVUBQADMCjKRFV4AABQSwECFwMUAAAACADuQPw0kHx9AAEDAABWDQAADgANAAAAAAABAAAAtIEcDAAAUmVzcG9uZGVyLndzZGxVVAUAAzAoykRVeAAAUEsFBgAAAAAFAAUAcwEAAF4PAAAAAA==</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault
xmlns:java="java:package
org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
of operation deploy failed: java.io.FileNotFoundException: C:\Program
Files\Apache Software Foundation\Tomcat
6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
cannot find the path
specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
Invocation of operation deploy failed: java.io.FileNotFoundException:
C:\Program Files\Apache Software Foundation\Tomcat
6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
cannot find the path specified)&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
at java.lang.Thread.run(Unknown Source)&#xd;
Caused by: org.apache.ode.axis2.OdeFault: An error occured on
deployment.&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
... 18 more&#xd;
Caused by: java.io.FileNotFoundException: C:\Program Files\Apache Software
Foundation\Tomcat 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
(The system cannot find the path specified)&#xd;
at java.io.FileOutputStream.open(Native Method)&#xd;
at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
... 19 more&#xd;
</Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault
xmlns:java="java:package
org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
of operation deploy failed: java.io.FileNotFoundException: C:\Program
Files\Apache Software Foundation\Tomcat
6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
cannot find the path
specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
Invocation of operation deploy failed: java.io.FileNotFoundException:
C:\Program Files\Apache Software Foundation\Tomcat
6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
cannot find the path specified)&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
at java.lang.Thread.run(Unknown Source)&#xd;
Caused by: org.apache.ode.axis2.OdeFault: An error occured on
deployment.&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
... 18 more&#xd;
Caused by: java.io.FileNotFoundException: C:\Program Files\Apache Software
Foundation\Tomcat 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
(The system cannot find the path specified)&#xd;
at java.io.FileOutputStream.open(Native Method)&#xd;
at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
... 19 more&#xd;
</Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
java.lang.NullPointerException
at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
at org.apache.ode.axis2.service.Test.main(Test.java:15)

I do appreciate a lot.
Marzie
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Tammo van Lessen
Hi Marzie,

Ah, that might be an issue with spaces in windows paths ("Apache Software
Foundation" and "Tomcat 6.0"). Could you please try to move tomcat into a
directory without spaces? e.g. C:\tomcat I guess that will help.

Best,
  Tammo

On Tue, Feb 10, 2015 at 9:34 AM, Marzie Dehghanipour <
[hidden email]> wrote:

> Dear Tammo,
>
> I did the same what you wrote and now I dont have any exceptions regarding
> the dependencies and jars. Thanks a lot.
> But there is another error in the Soap message result and it seems that it
> cannot deploy the process correctly. I put the message below:
>
> zip part :<deployapi:package xmlns:deployapi="
> http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> zip element :<deployapi:zip xmlns:deployapi="
> http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> stream : java.io.FileInputStream@2b2d96f2
> is :java.io.BufferedInputStream@3e110003
> root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
> xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
> xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> ">DynPartner</deployapi:name><deployapi:package
> xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
>
> "><deployapi:z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ABEeW5QYXJ0bmVyTWFpbi5icGVsVVQFAAPo1glFVXgAAFBLAQIXAxQAAAAIANV6HTV+cyyfjwIAAMQKAAAYAA0AAAAAAAEAAAC0gWMGAABEeW5QYXJ0bmVyUmVzcG9uZGVyLmJwZWxVVAUAAzK+9ERVeAAAUEsBAhcDFAAAAAgA7kD8NPafrhqjAgAAywgAAAkADQAAAAAAAQAAALSBPQkAAE1haW4ud3NkbFVUBQADMCjKRFV4AABQSwECFwMUAAAACADuQPw0kHx9AAEDAABWDQAADgANAAAAAAABAAAAtIEcDAAAUmVzcG9uZGVyLndzZGxVVAUAAzAoykRVeAAAUEsFBgAAAAAFAAUAcwEAAF4PAAAAAA==</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
> result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><soapenv:Fault
> xmlns:java="java:package
>
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> of operation deploy failed: java.io.FileNotFoundException: C:\Program
> Files\Apache Software Foundation\Tomcat
> 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> cannot find the path
> specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> Invocation of operation deploy failed: java.io.FileNotFoundException:
> C:\Program Files\Apache Software Foundation\Tomcat
> 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> cannot find the path specified)&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> at
>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> at
>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> at
>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> at
>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> at
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> at java.lang.Thread.run(Unknown Source)&#xd;
> Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> deployment.&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> ... 18 more&#xd;
> Caused by: java.io.FileNotFoundException: C:\Program Files\Apache Software
> Foundation\Tomcat 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> (The system cannot find the path specified)&#xd;
> at java.io.FileOutputStream.open(Native Method)&#xd;
> at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> ... 19 more&#xd;
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><soapenv:Fault
> xmlns:java="java:package
>
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> of operation deploy failed: java.io.FileNotFoundException: C:\Program
> Files\Apache Software Foundation\Tomcat
> 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> cannot find the path
> specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> Invocation of operation deploy failed: java.io.FileNotFoundException:
> C:\Program Files\Apache Software Foundation\Tomcat
> 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> cannot find the path specified)&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> at
>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> at
>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> at
>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> at
>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> at
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> at java.lang.Thread.run(Unknown Source)&#xd;
> Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> deployment.&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> ... 18 more&#xd;
> Caused by: java.io.FileNotFoundException: C:\Program Files\Apache Software
> Foundation\Tomcat 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> (The system cannot find the path specified)&#xd;
> at java.io.FileOutputStream.open(Native Method)&#xd;
> at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> ... 19 more&#xd;
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> java.lang.NullPointerException
> at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
> at org.apache.ode.axis2.service.Test.main(Test.java:15)
>
> I do appreciate a lot.
> Marzie
>



--
Tammo van Lessen - http://www.taval.de
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Marzie Dehghanipour
Dear Tammo,

Thanks a lot for your fast response.
I moved the Tomcat to C:\tomcat and now it works. When I run the program it
copies and unzip my package to "C:\Tomcat 6.0\webapps\ode\WEB-INF\processes".
It seems that it works correctly. But when I checked my local ODE server by
typing this in the browser: http://localhost:8080/ode/processes.html

It shows that currently no processes are available.
The program also has an exception that it cannot find the "deploy.xml" file
in the package. But in my package it exists.

Thanks again and best,
Marzie

Exception:
zip part :<deployapi:package xmlns:deployapi="
http://www.apache.org/ode/pmapi/types/2006/08/02/" />
zip element :<deployapi:zip xmlns:deployapi="
http://www.apache.org/ode/pmapi/types/2006/08/02/" />
stream : java.io.FileInputStream@4e17e4ca
is :java.io.BufferedInputStream@2adb1d4
root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/">DynPartner</deployapi:name><deployapi:package
xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
"><deployapi:zip>UEsDBBQAAAAAAFJlSkYAAAAAAAAAAAAAAAALAAAARHluUGFydG5lci9QSwMEFAAAAAgAaAEPNVbHkK0ZAQAABgMAABkAAABEeW5QYXJ0bmVyL2RlcGxveS54bWwueG1stZLPToQwEMbP8BRN7zKbPWhCgJNHTYg+AdJRmoW2aSsrb2//gBA26EnCgc785vtmhhYMVS8n8jX0wpS0s1blAJJh9s5HNPyjs1krBzBth0Nj4Hw63YN7zw/AGCVpEgrzoeFiWw1vCnv4FNzeWTR2A17NL1x2NaynC6vRqFvYR6VgqFfOaR5jUbNK06RQWrZoDBHNgCX1PeePk6g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7oD8NPafrhqfAgAAywgAABQAJAAAAAAAAAAgAAAANAkAAER5blBhcnRuZXIvTWFpbi53c2RsCgAgAAAAAAABABgAALheileyxgFpI3moJkXQAWkjeagmRdABUEsBAj8AFAAAAAgA7oD8NJB8fQD9AgAAVg0AABkAJAAAAAAAAAAgAAAABQwAAER5blBhcnRuZXIvUmVzcG9uZGVyLndzZGwKACAAAAAAAAEAGAAAuF6KV7LGAZtKeagmRdABm0p5qCZF0AFQSwUGAAAAAAYABgB+AgAAOQ8AAAAA</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault
xmlns:java="java:package
org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
of operation deploy failed: org.apache.ode.axis2.OdeFault: The deployment
doesn't appear to contain a deployment descriptor in its root directory
named deploy.xml,
aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault: The
deployment doesn't appear to contain a deployment descriptor in its root
directory named deploy.xml, aborting.&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
at java.lang.Thread.run(Thread.java:595)&#xd;
Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't appear to
contain a deployment descriptor in its root directory named deploy.xml,
aborting.&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
... 18 more&#xd;
</Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault
xmlns:java="java:package
org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
of operation deploy failed: org.apache.ode.axis2.OdeFault: The deployment
doesn't appear to contain a deployment descriptor in its root directory
named deploy.xml,
aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault: The
deployment doesn't appear to contain a deployment descriptor in its root
directory named deploy.xml, aborting.&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
at java.lang.Thread.run(Thread.java:595)&#xd;
Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't appear to
contain a deployment descriptor in its root directory named deploy.xml,
aborting.&#xd;
at
org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
... 18 more&#xd;
</Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
java.lang.NullPointerException
at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
at org.apache.ode.axis2.service.Test.main(Test.java:15)


On Tue, Feb 10, 2015 at 12:10 PM, Tammo van Lessen <[hidden email]>
wrote:

> Hi Marzie,
>
> Ah, that might be an issue with spaces in windows paths ("Apache Software
> Foundation" and "Tomcat 6.0"). Could you please try to move tomcat into a
> directory without spaces? e.g. C:\tomcat I guess that will help.
>
> Best,
>   Tammo
>
> On Tue, Feb 10, 2015 at 9:34 AM, Marzie Dehghanipour <
> [hidden email]> wrote:
>
> > Dear Tammo,
> >
> > I did the same what you wrote and now I dont have any exceptions
> regarding
> > the dependencies and jars. Thanks a lot.
> > But there is another error in the Soap message result and it seems that
> it
> > cannot deploy the process correctly. I put the message below:
> >
> > zip part :<deployapi:package xmlns:deployapi="
> > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> > zip element :<deployapi:zip xmlns:deployapi="
> > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> > stream : java.io.FileInputStream@2b2d96f2
> > is :java.io.BufferedInputStream@3e110003
> > root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
> > http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
> > xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
> > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> > ">DynPartner</deployapi:name><deployapi:package
> > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> >
> >
> "><deployapi:zip>UEsDBBQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKABUAZGVwbG95LnhtbFVUCQADFAPhRBrYCUVVeAQA9AH0AbVSTU+EMBA9w68gvUs3e9CEFE4eNSH6C5CObrPQNp0K8u/tx/KRxdWTpAdm5s17b6ZlHHSnpuyr7ySW5GStLihVHPJ3MQCKj5PNW9VTbE/QN0iPh8M9def4QDknWZqExqJvhNx20zcNHf2Uwt5ZQLsBjvgLLh+Rd2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QSwECFwMUAAAACADuQPw0kHx9AAEDAABWDQAADgANAAAAAAABAAAAtIEcDAAAUmVzcG9uZGVyLndzZGxVVAUAAzAoykRVeAAAUEsFBgAAAAAFAAUAcwEAAF4PAAAAAA==</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
> > result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> > "><soapenv:Body><soapenv:Fault
> > xmlns:java="java:package
> >
> >
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> > of operation deploy failed: java.io.FileNotFoundException: C:\Program
> > Files\Apache Software Foundation\Tomcat
> > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > cannot find the path
> > specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> > Invocation of operation deploy failed: java.io.FileNotFoundException:
> > C:\Program Files\Apache Software Foundation\Tomcat
> > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > cannot find the path specified)&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> > at
> >
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> > at
> >
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> > at
> >
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> > at
> >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> > at
> >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> > at
> >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> > at java.lang.Thread.run(Unknown Source)&#xd;
> > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> > deployment.&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> > ... 18 more&#xd;
> > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
> Software
> > Foundation\Tomcat
> 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> > (The system cannot find the path specified)&#xd;
> > at java.io.FileOutputStream.open(Native Method)&#xd;
> > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> > ... 19 more&#xd;
> > </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> >
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> > "><soapenv:Body><soapenv:Fault
> > xmlns:java="java:package
> >
> >
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> > of operation deploy failed: java.io.FileNotFoundException: C:\Program
> > Files\Apache Software Foundation\Tomcat
> > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > cannot find the path
> > specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> > Invocation of operation deploy failed: java.io.FileNotFoundException:
> > C:\Program Files\Apache Software Foundation\Tomcat
> > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > cannot find the path specified)&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> > at
> >
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> > at
> >
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> > at
> >
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> > at
> >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> > at
> >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> > at
> >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> > at java.lang.Thread.run(Unknown Source)&#xd;
> > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> > deployment.&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> > ... 18 more&#xd;
> > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
> Software
> > Foundation\Tomcat
> 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> > (The system cannot find the path specified)&#xd;
> > at java.io.FileOutputStream.open(Native Method)&#xd;
> > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> > ... 19 more&#xd;
> > </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> > java.lang.NullPointerException
> > at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
> > at org.apache.ode.axis2.service.Test.main(Test.java:15)
> >
> > I do appreciate a lot.
> > Marzie
> >
>
>
>
> --
> Tammo van Lessen - http://www.taval.de
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Tammo van Lessen
Hi Marzie,

The BPELs, WSDLs and deploy.xml must be at the root level of the zip. Do
you perhaps have them in a subfolder?

HTH,
  Tammo

On Tue, Feb 10, 2015 at 1:11 PM, Marzie Dehghanipour <
[hidden email]> wrote:

> Dear Tammo,
>
> Thanks a lot for your fast response.
> I moved the Tomcat to C:\tomcat and now it works. When I run the program it
> copies and unzip my package to "C:\Tomcat
> 6.0\webapps\ode\WEB-INF\processes".
> It seems that it works correctly. But when I checked my local ODE server by
> typing this in the browser: http://localhost:8080/ode/processes.html
>
> It shows that currently no processes are available.
> The program also has an exception that it cannot find the "deploy.xml" file
> in the package. But in my package it exists.
>
> Thanks again and best,
> Marzie
>
> Exception:
> zip part :<deployapi:package xmlns:deployapi="
> http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> zip element :<deployapi:zip xmlns:deployapi="
> http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> stream : java.io.FileInputStream@4e17e4ca
> is :java.io.BufferedInputStream@2adb1d4
> root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
> xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
> xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> ">DynPartner</deployapi:name><deployapi:package
> xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
>
> "><deployapi:zip>UEsDBBQAAAAAAFJlSkYAAAAAAAAAAAAAAAALAAAARHluUGFydG5lci9QSwMEFAAAAAgAaAEPNVbHkK0ZAQAABgMAABkAAABEeW5QYXJ0bmVyL2RlcGxveS54bWwueG1stZLPToQwEM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t0zYxgHQYHaoJkXQAdBgdqgmRdABUEsBAj8AFAAAAAgA1bodNX5zLJ+GAgAAxAoAACMAJAAAAAAAAAAgAAAAbQYAAER5blBhcnRuZXIvRHluUGFydG5lclJlc3BvbmRlci5icGVsCgAgAAAAAAABABgAAOW+pLnLxgENEXioJkXQAQ0ReKgmRdABUEsBAj8AFAAAAAgA7oD8NPafrhqfAgAAywgAABQAJAAAAAAAAAAgAAAANAkAAER5blBhcnRuZXIvTWFpbi53c2RsCgAgAAAAAAABABgAALheileyxgFpI3moJkXQAWkjeagmRdABUEsBAj8AFAAAAAgA7oD8NJB8fQD9AgAAVg0AABkAJAAAAAAAAAAgAAAABQwAAER5blBhcnRuZXIvUmVzcG9uZGVyLndzZGwKACAAAAAAAAEAGAAAuF6KV7LGAZtKeagmRdABm0p5qCZF0AFQSwUGAAAAAAYABgB+AgAAOQ8AAAAA</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
> result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><soapenv:Fault
> xmlns:java="java:package
>
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> of operation deploy failed: org.apache.ode.axis2.OdeFault: The deployment
> doesn't appear to contain a deployment descriptor in its root directory
> named deploy.xml,
> aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault: The
> deployment doesn't appear to contain a deployment descriptor in its root
> directory named deploy.xml, aborting.&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> at
>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> at
>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> at
>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> at
>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> at
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> at java.lang.Thread.run(Thread.java:595)&#xd;
> Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't appear to
> contain a deployment descriptor in its root directory named deploy.xml,
> aborting.&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
> ... 18 more&#xd;
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><soapenv:Fault
> xmlns:java="java:package
>
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> of operation deploy failed: org.apache.ode.axis2.OdeFault: The deployment
> doesn't appear to contain a deployment descriptor in its root directory
> named deploy.xml,
> aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault: The
> deployment doesn't appear to contain a deployment descriptor in its root
> directory named deploy.xml, aborting.&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> at
>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> at
>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> at
>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> at
>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> at
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> at
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> at
>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> at java.lang.Thread.run(Thread.java:595)&#xd;
> Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't appear to
> contain a deployment descriptor in its root directory named deploy.xml,
> aborting.&#xd;
> at
>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
> ... 18 more&#xd;
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> java.lang.NullPointerException
> at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
> at org.apache.ode.axis2.service.Test.main(Test.java:15)
>
>
> On Tue, Feb 10, 2015 at 12:10 PM, Tammo van Lessen <[hidden email]>
> wrote:
>
> > Hi Marzie,
> >
> > Ah, that might be an issue with spaces in windows paths ("Apache Software
> > Foundation" and "Tomcat 6.0"). Could you please try to move tomcat into a
> > directory without spaces? e.g. C:\tomcat I guess that will help.
> >
> > Best,
> >   Tammo
> >
> > On Tue, Feb 10, 2015 at 9:34 AM, Marzie Dehghanipour <
> > [hidden email]> wrote:
> >
> > > Dear Tammo,
> > >
> > > I did the same what you wrote and now I dont have any exceptions
> > regarding
> > > the dependencies and jars. Thanks a lot.
> > > But there is another error in the Soap message result and it seems that
> > it
> > > cannot deploy the process correctly. I put the message below:
> > >
> > > zip part :<deployapi:package xmlns:deployapi="
> > > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> > > zip element :<deployapi:zip xmlns:deployapi="
> > > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> > > stream : java.io.FileInputStream@2b2d96f2
> > > is :java.io.BufferedInputStream@3e110003
> > > root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
> > > http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
> > > xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
> > > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> > > ">DynPartner</deployapi:name><deployapi:package
> > > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> > >
> > >
> >
> "><deployapi:zip>UEsDBBQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKABUAZGVwbG95LnhtbFVUCQADFAPhRBrYCUVVeAQA9AH0AbVSTU+EMBA9w68gvUs3e9CEFE4eNSH6C5CObrPQNp0K8u/tx/KRxdWTpAdm5s17b6ZlHHSnpuyr7ySW5GStLihVHPJ3MQCKj5PNW9VTbE/QN0iPh8M9def4QDknWZqExqJvhNx20zcNHf2Uwt5ZQLsBjvgLLh+Rd2TGGkC9B/uskhzMivuJc4FFzipNE6aNagExk00PJfGei8dJ1o2xEsyzCx0sCbBBcMh0LDwJeS6JcB5FY5Wp12yAJwzBDKKFmXZEz+rpXmOBZFoZW5JLtnYBoUGJXqRCIOSgzleqyxR/qZqo+jLj99JLaasfNd1/sOKXU+325D1s9rTwOB/Z1cfspKG61cBoKN9csb+Qf5pz3fNmUEbj46/Sb1BLAwQUAAAACAA2ey41cg9tA8YEAACREwAAEwAVAER5blBhcnRuZXJNYWluLmJwZWxVVAkAA+jWCUUa2AlFVXgEAPQB9AHtV0tz4zYMvudXsGoP7UGm7WRnXI/inZ2mh3Q2bSbpbHulJdhmI5EqSdlxf31BkXpZcpx1k1t9M0i8PnwAoejjc5aSLSjNpbgOJqNxQEDEMuFifR0UZhXOAvJxcXER5UrGoDURLIPr4GYv7pkyAtQd4yK4INXPMLUG8yte0jmL8ebGmHxOqUyALnNIaSG4CQ1o01LCGISeL/Odru/reAMZ0yM80pLlI6nWdKfpdDy+ouNLuiw0FxhO6MOih9bezNDctIy9KotM1Pfxjx5xYVjK5SiWGU1A8zWiZk9ET/dZJ7Xqbrcb7S7LcDHWCf3z7vNjmUpPy6Z1It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a+wtkS7H6P3eEn/TeJ4LvPCpdX7aXT1G1BLAQIXAxQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKAA0AAAAAAAEAAAC0gQAAAABkZXBsb3kueG1sVVQFAAMUA+FEVXgAAFBLAQIXAxQAAAAIADZ7LjVyD20DxgQAAJETAAATAA0AAAAAAAEAAAC0gVcBAABEeW5QYXJ0bmVyTWFpbi5icGVsVVQFAAPo1glFVXgAAFBLAQIXAxQAAAAIANV6HTV+cyyfjwIAAMQKAAAYAA0AAAAAAAEAAAC0gWMGAABEeW5QYXJ0bmVyUmVzcG9uZGVyLmJwZWxVVAUAAzK+9ERVeAAAUEsBAhcDFAAAAAgA7kD8NPafrhqjAgAAywgAAAkADQAAAAAAAQAAALSBPQkAAE1haW4ud3NkbFVUBQADMCjKRFV4AABQSwECFwMUAAAACADuQPw0kHx9AAEDAABWDQAADgANAAAAAAABAAAAtIEcDAAAUmVzcG9uZGVyLndzZGxVVAUAAzAoykRVeAAAUEsFBgAAAAAFAAUAcwEAAF4PAAAAAA==</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
> > > result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> > > "><soapenv:Body><soapenv:Fault
> > > xmlns:java="java:package
> > >
> > >
> >
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> > > of operation deploy failed: java.io.FileNotFoundException: C:\Program
> > > Files\Apache Software Foundation\Tomcat
> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > > cannot find the path
> > >
> specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> > > Invocation of operation deploy failed: java.io.FileNotFoundException:
> > > C:\Program Files\Apache Software Foundation\Tomcat
> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > > cannot find the path specified)&#xd;
> > > at
> > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> > > at
> > >
> > >
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> > > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> > > at
> > >
> > >
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> > > at
> > >
> > >
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> > > at java.lang.Thread.run(Unknown Source)&#xd;
> > > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> > > deployment.&#xd;
> > > at
> > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> > > at
> > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> > > ... 18 more&#xd;
> > > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
> > Software
> > > Foundation\Tomcat
> > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> > > (The system cannot find the path specified)&#xd;
> > > at java.io.FileOutputStream.open(Native Method)&#xd;
> > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > > at
> > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> > > ... 19 more&#xd;
> > > </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> > >
> > > <soapenv:Envelope
> > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> > > "><soapenv:Body><soapenv:Fault
> > > xmlns:java="java:package
> > >
> > >
> >
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> > > of operation deploy failed: java.io.FileNotFoundException: C:\Program
> > > Files\Apache Software Foundation\Tomcat
> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > > cannot find the path
> > >
> specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> > > Invocation of operation deploy failed: java.io.FileNotFoundException:
> > > C:\Program Files\Apache Software Foundation\Tomcat
> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > > cannot find the path specified)&#xd;
> > > at
> > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> > > at
> > >
> > >
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> > > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> > > at
> > >
> > >
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> > > at
> > >
> > >
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> > > at
> > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> > > at
> > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> > > at java.lang.Thread.run(Unknown Source)&#xd;
> > > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> > > deployment.&#xd;
> > > at
> > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> > > at
> > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> > > ... 18 more&#xd;
> > > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
> > Software
> > > Foundation\Tomcat
> > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> > > (The system cannot find the path specified)&#xd;
> > > at java.io.FileOutputStream.open(Native Method)&#xd;
> > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > > at
> > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> > > ... 19 more&#xd;
> > > </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> > > java.lang.NullPointerException
> > > at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
> > > at org.apache.ode.axis2.service.Test.main(Test.java:15)
> > >
> > > I do appreciate a lot.
> > > Marzie
> > >
> >
> >
> >
> > --
> > Tammo van Lessen - http://www.taval.de
> >
>



--
Tammo van Lessen - http://www.taval.de
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Marzie Dehghanipour
Dear Tammo,

No I have them in the root folder. This is my folder structure:
"E:\temp\HelloBPELProcess.zip"    and then I have the following files in
the root of this zip folder:

- deploy.xml
-HelloBPELProcess.bpel
-HelloBPELProcess.bpelex
-HelloBPELProcessArtifacts

I searched a lot on the web, but I have not found any solution for this
problem.

Best regards,
Marzie



On Tue, Feb 10, 2015 at 8:21 PM, Tammo van Lessen <[hidden email]>
wrote:

> Hi Marzie,
>
> The BPELs, WSDLs and deploy.xml must be at the root level of the zip. Do
> you perhaps have them in a subfolder?
>
> HTH,
>   Tammo
>
> On Tue, Feb 10, 2015 at 1:11 PM, Marzie Dehghanipour <
> [hidden email]> wrote:
>
> > Dear Tammo,
> >
> > Thanks a lot for your fast response.
> > I moved the Tomcat to C:\tomcat and now it works. When I run the program
> it
> > copies and unzip my package to "C:\Tomcat
> > 6.0\webapps\ode\WEB-INF\processes".
> > It seems that it works correctly. But when I checked my local ODE server
> by
> > typing this in the browser: http://localhost:8080/ode/processes.html
> >
> > It shows that currently no processes are available.
> > The program also has an exception that it cannot find the "deploy.xml"
> file
> > in the package. But in my package it exists.
> >
> > Thanks again and best,
> > Marzie
> >
> > Exception:
> > zip part :<deployapi:package xmlns:deployapi="
> > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> > zip element :<deployapi:zip xmlns:deployapi="
> > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> > stream : java.io.FileInputStream@4e17e4ca
> > is :java.io.BufferedInputStream@2adb1d4
> > root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
> > http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
> > xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
> > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> > ">DynPartner</deployapi:name><deployapi:package
> > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> >
> >
> "><deployapi:zip>UEsDBBQAAAAAAFJlSkYAAAAAAAAAAAAAAAALAAAARHluUGFydG5lci9QSwMEFAAAAAgAaAEPNVbHkK0ZAQAABgMAABkAAABEeW5QYXJ0bmVyL2RlcGxveS54bWwueG1stZLPToQwEMbP8BRN7zKbPWhCgJNHT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gdqgmRdABUEsBAj8AFAAAAAgA1bodNX5zLJ+GAgAAxAoAACMAJAAAAAAAAAAgAAAAbQYAAER5blBhcnRuZXIvRHluUGFydG5lclJlc3BvbmRlci5icGVsCgAgAAAAAAABABgAAOW+pLnLxgENEXioJkXQAQ0ReKgmRdABUEsBAj8AFAAAAAgA7oD8NPafrhqfAgAAywgAABQAJAAAAAAAAAAgAAAANAkAAER5blBhcnRuZXIvTWFpbi53c2RsCgAgAAAAAAABABgAALheileyxgFpI3moJkXQAWkjeagmRdABUEsBAj8AFAAAAAgA7oD8NJB8fQD9AgAAVg0AABkAJAAAAAAAAAAgAAAABQwAAER5blBhcnRuZXIvUmVzcG9uZGVyLndzZGwKACAAAAAAAAEAGAAAuF6KV7LGAZtKeagmRdABm0p5qCZF0AFQSwUGAAAAAAYABgB+AgAAOQ8AAAAA</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
> > result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> > "><soapenv:Body><soapenv:Fault
> > xmlns:java="java:package
> >
> >
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> > of operation deploy failed: org.apache.ode.axis2.OdeFault: The deployment
> > doesn't appear to contain a deployment descriptor in its root directory
> > named deploy.xml,
> > aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> > Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault: The
> > deployment doesn't appear to contain a deployment descriptor in its root
> > directory named deploy.xml, aborting.&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> > at
> >
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> > at
> >
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> > at
> >
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> > at
> >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> > at
> >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> > at
> >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> > at java.lang.Thread.run(Thread.java:595)&#xd;
> > Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't appear
> to
> > contain a deployment descriptor in its root directory named deploy.xml,
> > aborting.&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
> > ... 18 more&#xd;
> > </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> >
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> > "><soapenv:Body><soapenv:Fault
> > xmlns:java="java:package
> >
> >
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> > of operation deploy failed: org.apache.ode.axis2.OdeFault: The deployment
> > doesn't appear to contain a deployment descriptor in its root directory
> > named deploy.xml,
> > aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> > Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault: The
> > deployment doesn't appear to contain a deployment descriptor in its root
> > directory named deploy.xml, aborting.&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> > at
> >
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> > at
> >
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> > at
> >
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> > at
> >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> > at
> >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> > at
> >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> > at
> >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> > at
> >
> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> > at java.lang.Thread.run(Thread.java:595)&#xd;
> > Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't appear
> to
> > contain a deployment descriptor in its root directory named deploy.xml,
> > aborting.&#xd;
> > at
> >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
> > ... 18 more&#xd;
> > </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> > java.lang.NullPointerException
> > at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
> > at org.apache.ode.axis2.service.Test.main(Test.java:15)
> >
> >
> > On Tue, Feb 10, 2015 at 12:10 PM, Tammo van Lessen <[hidden email]
> >
> > wrote:
> >
> > > Hi Marzie,
> > >
> > > Ah, that might be an issue with spaces in windows paths ("Apache
> Software
> > > Foundation" and "Tomcat 6.0"). Could you please try to move tomcat
> into a
> > > directory without spaces? e.g. C:\tomcat I guess that will help.
> > >
> > > Best,
> > >   Tammo
> > >
> > > On Tue, Feb 10, 2015 at 9:34 AM, Marzie Dehghanipour <
> > > [hidden email]> wrote:
> > >
> > > > Dear Tammo,
> > > >
> > > > I did the same what you wrote and now I dont have any exceptions
> > > regarding
> > > > the dependencies and jars. Thanks a lot.
> > > > But there is another error in the Soap message result and it seems
> that
> > > it
> > > > cannot deploy the process correctly. I put the message below:
> > > >
> > > > zip part :<deployapi:package xmlns:deployapi="
> > > > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> > > > zip element :<deployapi:zip xmlns:deployapi="
> > > > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> > > > stream : java.io.FileInputStream@2b2d96f2
> > > > is :java.io.BufferedInputStream@3e110003
> > > > root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
> > > > http://schemas.xmlsoap.org/soap/envelope/
> "><SOAP-ENV:Body><tns:deploy
> > > > xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
> > > > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> > > > ">DynPartner</deployapi:name><deployapi:package
> > > > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> > > >
> > > >
> > >
> >
> "><deployapi:zip>UEsDBBQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKABUAZGVwbG95LnhtbFVUCQADFAPhRBrYCUVVeAQA9AH0AbVSTU+EMBA9w68gvUs3e9CEFE4eNSH6C5CObrPQNp0K8u/tx/KRxdWTpAdm5s17b6ZlHHSnpuyr7ySW5GStLihVHPJ3MQCKj5PNW9VTbE/QN0iPh8M9def4QDknWZqExqJvhNx20zcNHf2Uwt5ZQLsBjvgLLh+Rd2TGGkC9B/uskhzMivuJc4FFzipNE6aNagExk00PJfGei8dJ1o2xEsyzCx0sCbBBcMh0LDwJeS6JcB5FY5Wp12yAJwzBDKKFmXZEz+rpXmOBZFoZW5JLtnYBoUGJXqRCIOSgzleqyxR/qZqo+jLj99JLaasfNd1/sOKXU+325D1s9rTwOB/Z1cfspKG61cBoKN9csb+Qf5pz3fNmUEbj46/Sb1BLAwQUAAAACAA2ey41cg9tA8YEAACREwAAEwAVAER5blBhcnRuZXJNYWluLmJwZWxVVAkAA+jWCUUa2AlFVXgEAPQB9AHtV0tz4zYMvudXsGoP7UGm7WRnXI/inZ2mh3Q2bSbpbHulJdhmI5EqSdlxf31BkXpZcpx1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7Orxio4AszXbarszQ98RXAgVc1S6wjLKkt53q0fHKQ+RHKlyYlHAE8Z/Az/U1af4o+L+n9sZ8XWrbl28NpNYvGap0ND87He6Y5s1o7sfuuBwBk/7cymcbvJc2+igLAU1YlzETAL5JlJlayiVWQD4p5dWMIhhd05YzR6LjsHa5fNaytxz6gb/Yry7oujM93to2oLFow0iDZBIGjm2MRUcpfXkIJam3mPJtpRnTZV+dP4Xq+NPgo6qC3JkQyab3fWRPtmqc24Ee6J9a+wtkS7H6P3eEn/TeJ4LvPCpdX7aXT1G1BLAQIXAxQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKAA0AAAAAAAEAAAC0gQAAAABkZXBsb3kueG1sVVQFAAMUA+FEVXgAAFBLAQIXAxQAAAAIADZ7LjVyD20DxgQAAJETAAATAA0AAAAAAAEAAAC0gVcBAABEeW5QYXJ0bmVyTWFpbi5icGVsVVQFAAPo1glFVXgAAFBLAQIXAxQAAAAIANV6HTV+cyyfjwIAAMQKAAAYAA0AAAAAAAEAAAC0gWMGAABEeW5QYXJ0bmVyUmVzcG9uZGVyLmJwZWxVVAUAAzK+9ERVeAAAUEsBAhcDFAAAAAgA7kD8NPafrhqjAgAAywgAAAkADQAAAAAAAQAAALSBPQkAAE1haW4ud3NkbFVUBQADMCjKRFV4AABQSwECFwMUAAAACADuQPw0kHx9AAEDAABWDQAADgANAAAAAAABAAAAtIEcDAAAUmVzcG9uZGVyLndzZGxVVAUAAzAoykRVeAAAUEsFBgAAAAAFAAUAcwEAAF4PAAAAAA==</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
> > > > result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> > > > "><soapenv:Body><soapenv:Fault
> > > > xmlns:java="java:package
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> > > > of operation deploy failed: java.io.FileNotFoundException: C:\Program
> > > > Files\Apache Software Foundation\Tomcat
> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > > > cannot find the path
> > > >
> > specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> > > > Invocation of operation deploy failed: java.io.FileNotFoundException:
> > > > C:\Program Files\Apache Software Foundation\Tomcat
> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > > > cannot find the path specified)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> > > > at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> > > > at java.lang.Thread.run(Unknown Source)&#xd;
> > > > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> > > > deployment.&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> > > > ... 18 more&#xd;
> > > > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
> > > Software
> > > > Foundation\Tomcat
> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> > > > (The system cannot find the path specified)&#xd;
> > > > at java.io.FileOutputStream.open(Native Method)&#xd;
> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> > > > ... 19 more&#xd;
> > > >
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> > > >
> > > > <soapenv:Envelope
> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> > > > "><soapenv:Body><soapenv:Fault
> > > > xmlns:java="java:package
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> > > > of operation deploy failed: java.io.FileNotFoundException: C:\Program
> > > > Files\Apache Software Foundation\Tomcat
> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > > > cannot find the path
> > > >
> > specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> > > > Invocation of operation deploy failed: java.io.FileNotFoundException:
> > > > C:\Program Files\Apache Software Foundation\Tomcat
> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The system
> > > > cannot find the path specified)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> > > > at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> > > > at java.lang.Thread.run(Unknown Source)&#xd;
> > > > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> > > > deployment.&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> > > > ... 18 more&#xd;
> > > > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
> > > Software
> > > > Foundation\Tomcat
> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> > > > (The system cannot find the path specified)&#xd;
> > > > at java.io.FileOutputStream.open(Native Method)&#xd;
> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> > > > ... 19 more&#xd;
> > > >
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> > > > java.lang.NullPointerException
> > > > at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
> > > > at org.apache.ode.axis2.service.Test.main(Test.java:15)
> > > >
> > > > I do appreciate a lot.
> > > > Marzie
> > > >
> > >
> > >
> > >
> > > --
> > > Tammo van Lessen - http://www.taval.de
> > >
> >
>
>
>
> --
> Tammo van Lessen - http://www.taval.de
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Marzie Dehghanipour
Dear Tammo,

I made a stupid error. I put all the files in the folder and then made a
zip from this folder but I did not realize that the zip command also create
another folder and put all the files there. Now I have selected the files
and then right click and then made the zip, instead of making zip from the
folder. Now it works without any problem and deploys the process. It was
really a stupid error and took my time from morning :(

But thanks a lot Tammo, you helped me a lot. I do appreciate.

Best regards,
Marzie

On Tue, Feb 10, 2015 at 8:45 PM, Marzie Dehghanipour <
[hidden email]> wrote:

> Dear Tammo,
>
> No I have them in the root folder. This is my folder structure:
> "E:\temp\HelloBPELProcess.zip"    and then I have the following files in
> the root of this zip folder:
>
> - deploy.xml
> -HelloBPELProcess.bpel
> -HelloBPELProcess.bpelex
> -HelloBPELProcessArtifacts
>
> I searched a lot on the web, but I have not found any solution for this
> problem.
>
> Best regards,
> Marzie
>
>
>
> On Tue, Feb 10, 2015 at 8:21 PM, Tammo van Lessen <[hidden email]>
> wrote:
>
>> Hi Marzie,
>>
>> The BPELs, WSDLs and deploy.xml must be at the root level of the zip. Do
>> you perhaps have them in a subfolder?
>>
>> HTH,
>>   Tammo
>>
>> On Tue, Feb 10, 2015 at 1:11 PM, Marzie Dehghanipour <
>> [hidden email]> wrote:
>>
>> > Dear Tammo,
>> >
>> > Thanks a lot for your fast response.
>> > I moved the Tomcat to C:\tomcat and now it works. When I run the
>> program it
>> > copies and unzip my package to "C:\Tomcat
>> > 6.0\webapps\ode\WEB-INF\processes".
>> > It seems that it works correctly. But when I checked my local ODE
>> server by
>> > typing this in the browser: http://localhost:8080/ode/processes.html
>> >
>> > It shows that currently no processes are available.
>> > The program also has an exception that it cannot find the "deploy.xml"
>> file
>> > in the package. But in my package it exists.
>> >
>> > Thanks again and best,
>> > Marzie
>> >
>> > Exception:
>> > zip part :<deployapi:package xmlns:deployapi="
>> > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
>> > zip element :<deployapi:zip xmlns:deployapi="
>> > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
>> > stream : java.io.FileInputStream@4e17e4ca
>> > is :java.io.BufferedInputStream@2adb1d4
>> > root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
>> > http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
>> > xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
>> > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
>> > ">DynPartner</deployapi:name><deployapi:package
>> > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
>> >
>> >
>> "><deployapi:zip>UEsDBBQAAAAAAFJlSkYAAAAAAAAAAAAAAAALAAAARHluUGFydG5lci9QSwMEFAAAAAgAaAEPNVbHkK0ZAQAABgMAABkAAABEeW5QYXJ0bmVyL2RlcGxveS54bWwueG1stZLPToQwEMbP8BRN7zKbPWhCgJNHTYg+AdJRmoW2aSsrb2//gBA26EnCgc785vtmhhYMVS8n8jX0wpS0s1blAJJh9s5HNPyjs1krBzBth0Nj4Hw63YN7zw/AGCVpEgrzoeFiWw1vCnv4FNzeWTR2A17NL1x2Nayn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OW+pLnLxgENEXioJkXQAQ0ReKgmRdABUEsBAj8AFAAAAAgA7oD8NPafrhqfAgAAywgAABQAJAAAAAAAAAAgAAAANAkAAER5blBhcnRuZXIvTWFpbi53c2RsCgAgAAAAAAABABgAALheileyxgFpI3moJkXQAWkjeagmRdABUEsBAj8AFAAAAAgA7oD8NJB8fQD9AgAAVg0AABkAJAAAAAAAAAAgAAAABQwAAER5blBhcnRuZXIvUmVzcG9uZGVyLndzZGwKACAAAAAAAAEAGAAAuF6KV7LGAZtKeagmRdABm0p5qCZF0AFQSwUGAAAAAAYABgB+AgAAOQ8AAAAA</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
>> > result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
>> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> > "><soapenv:Body><soapenv:Fault
>> > xmlns:java="java:package
>> >
>> >
>> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
>> > of operation deploy failed: org.apache.ode.axis2.OdeFault: The
>> deployment
>> > doesn't appear to contain a deployment descriptor in its root directory
>> > named deploy.xml,
>> > aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
>> > Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault:
>> The
>> > deployment doesn't appear to contain a deployment descriptor in its root
>> > directory named deploy.xml, aborting.&#xd;
>> > at
>> >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
>> > at
>> >
>> >
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
>> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
>> > at
>> >
>> >
>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
>> > at
>> >
>> >
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
>> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
>> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
>> > at
>> >
>> >
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
>> > at
>> >
>> >
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
>> > at
>> >
>> >
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
>> > at java.lang.Thread.run(Thread.java:595)&#xd;
>> > Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't appear
>> to
>> > contain a deployment descriptor in its root directory named deploy.xml,
>> > aborting.&#xd;
>> > at
>> >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
>> > ... 18 more&#xd;
>> > </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>> >
>> > <soapenv:Envelope
>> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> > "><soapenv:Body><soapenv:Fault
>> > xmlns:java="java:package
>> >
>> >
>> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
>> > of operation deploy failed: org.apache.ode.axis2.OdeFault: The
>> deployment
>> > doesn't appear to contain a deployment descriptor in its root directory
>> > named deploy.xml,
>> > aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
>> > Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault:
>> The
>> > deployment doesn't appear to contain a deployment descriptor in its root
>> > directory named deploy.xml, aborting.&#xd;
>> > at
>> >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
>> > at
>> >
>> >
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
>> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
>> > at
>> >
>> >
>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
>> > at
>> >
>> >
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
>> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
>> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
>> > at
>> >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
>> > at
>> >
>> >
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
>> > at
>> >
>> >
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
>> > at
>> >
>> >
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
>> > at java.lang.Thread.run(Thread.java:595)&#xd;
>> > Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't appear
>> to
>> > contain a deployment descriptor in its root directory named deploy.xml,
>> > aborting.&#xd;
>> > at
>> >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
>> > ... 18 more&#xd;
>> > </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>> > java.lang.NullPointerException
>> > at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
>> > at org.apache.ode.axis2.service.Test.main(Test.java:15)
>> >
>> >
>> > On Tue, Feb 10, 2015 at 12:10 PM, Tammo van Lessen <
>> [hidden email]>
>> > wrote:
>> >
>> > > Hi Marzie,
>> > >
>> > > Ah, that might be an issue with spaces in windows paths ("Apache
>> Software
>> > > Foundation" and "Tomcat 6.0"). Could you please try to move tomcat
>> into a
>> > > directory without spaces? e.g. C:\tomcat I guess that will help.
>> > >
>> > > Best,
>> > >   Tammo
>> > >
>> > > On Tue, Feb 10, 2015 at 9:34 AM, Marzie Dehghanipour <
>> > > [hidden email]> wrote:
>> > >
>> > > > Dear Tammo,
>> > > >
>> > > > I did the same what you wrote and now I dont have any exceptions
>> > > regarding
>> > > > the dependencies and jars. Thanks a lot.
>> > > > But there is another error in the Soap message result and it seems
>> that
>> > > it
>> > > > cannot deploy the process correctly. I put the message below:
>> > > >
>> > > > zip part :<deployapi:package xmlns:deployapi="
>> > > > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
>> > > > zip element :<deployapi:zip xmlns:deployapi="
>> > > > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
>> > > > stream : java.io.FileInputStream@2b2d96f2
>> > > > is :java.io.BufferedInputStream@3e110003
>> > > > root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
>> > > > http://schemas.xmlsoap.org/soap/envelope/
>> "><SOAP-ENV:Body><tns:deploy
>> > > > xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
>> > > > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
>> > > > ">DynPartner</deployapi:name><deployapi:package
>> > > > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
>> > > >
>> > > >
>> > >
>> >
>> "><deployapi:zip>UEsDBBQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKABUAZGVwbG95LnhtbFVUCQADFAPhRBrYCUVVeAQA9AH0AbVSTU+EMBA9w68gvUs3e9CEFE4eNSH6C5CObrPQNp0K8u/tx/KRxdWTpAdm5s17b6ZlHHSnpuyr7ySW5GStLihVHPJ3MQCKj5PNW9VTbE/QN0iPh8M9def4QDknWZqExqJvhNx20zcNHf2Uwt5ZQLsBjvgLLh+Rd2TGGkC9B/uskhzMivuJc4FFzipNE6aNagExk00PJfGei8dJ1o2xEsyzCx0sCbBBcMh0LDwJeS6JcB5FY5Wp12yAJwzBDKKFmXZEz+rpXmOBZFoZW5JLtnYBoUGJXqRCIOSgzleqyxR/qZqo+jLj99JLaasfNd1/sOKXU+325D1s9rTwOB/Z1cfspKG61cBoKN9csb+Qf5pz3fNmUEbj46/Sb1BLAwQUAAAACAA2ey41cg9tA8YEAACREwAAEwAVAER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U44lphp2Y7PQe7WHZQJ+B+hhweN+xNx8Gu3CkfvIidKT4eUh+fI38kw0clUw64tSZnXhp3OTW34UAWv9Y7TX9YFyaSbCZoa02qimiM4KmGC0SlYZ6cu/bOMPutG7Orxio4AszXbarszQ98RXAgVc1S6wjLKkt53q0fHKQ+RHKlyYlHAE8Z/Az/U1af4o+L+n9sZ8XWrbl28NpNYvGap0ND87He6Y5s1o7sfuuBwBk/7cymcbvJc2+igLAU1YlzETAL5JlJlayiVWQD4p5dWMIhhd05YzR6LjsHa5fNaytxz6gb/Yry7oujM93to2oLFow0iDZBIGjm2MRUcpfXkIJam3mPJtpRnTZV+dP4Xq+NPgo6qC3JkQyab3fWRPtmqc24Ee6J9a+wtkS7H6P3eEn/TeJ4LvPCpdX7aXT1G1BLAQIXAxQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKAA0AAAAAAAEAAAC0gQAAAABkZXBsb3kueG1sVVQFAAMUA+FEVXgAAFBLAQIXAxQAAAAIADZ7LjVyD20DxgQAAJETAAATAA0AAAAAAAEAAAC0gVcBAABEeW5QYXJ0bmVyTWFpbi5icGVsVVQFAAPo1glFVXgAAFBLAQIXAxQAAAAIANV6HTV+cyyfjwIAAMQKAAAYAA0AAAAAAAEAAAC0gWMGAABEeW5QYXJ0bmVyUmVzcG9uZGVyLmJwZWxVVAUAAzK+9ERVeAAAUEsBAhcDFAAAAAgA7kD8NPafrhqjAgAAywgAAAkADQAAAAAAAQAAALSBPQkAAE1haW4ud3NkbFVUBQADMCjKRFV4AABQSwECFwMUAAAACADuQPw0kHx9AAEDAABWDQAADgANAAAAAAABAAAAtIEcDAAAUmVzcG9uZGVyLndzZGxVVAUAAzAoykRVeAAAUEsFBgAAAAAFAAUAcwEAAF4PAAAAAA==</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
>> > > > result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
>> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> > > > "><soapenv:Body><soapenv:Fault
>> > > > xmlns:java="java:package
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
>> > > > of operation deploy failed: java.io.FileNotFoundException:
>> C:\Program
>> > > > Files\Apache Software Foundation\Tomcat
>> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The
>> system
>> > > > cannot find the path
>> > > >
>> >
>> specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
>> > > > Invocation of operation deploy failed:
>> java.io.FileNotFoundException:
>> > > > C:\Program Files\Apache Software Foundation\Tomcat
>> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The
>> system
>> > > > cannot find the path specified)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
>> > > > at
>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
>> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
>> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
>> > > > at java.lang.Thread.run(Unknown Source)&#xd;
>> > > > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
>> > > > deployment.&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
>> > > > ... 18 more&#xd;
>> > > > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
>> > > Software
>> > > > Foundation\Tomcat
>> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
>> > > > (The system cannot find the path specified)&#xd;
>> > > > at java.io.FileOutputStream.open(Native Method)&#xd;
>> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
>> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
>> > > > ... 19 more&#xd;
>> > > >
>> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>> > > >
>> > > > <soapenv:Envelope
>> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> > > > "><soapenv:Body><soapenv:Fault
>> > > > xmlns:java="java:package
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
>> > > > of operation deploy failed: java.io.FileNotFoundException:
>> C:\Program
>> > > > Files\Apache Software Foundation\Tomcat
>> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The
>> system
>> > > > cannot find the path
>> > > >
>> >
>> specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
>> > > > Invocation of operation deploy failed:
>> java.io.FileNotFoundException:
>> > > > C:\Program Files\Apache Software Foundation\Tomcat
>> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The
>> system
>> > > > cannot find the path specified)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
>> > > > at
>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
>> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
>> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
>> > > > at java.lang.Thread.run(Unknown Source)&#xd;
>> > > > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
>> > > > deployment.&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
>> > > > ... 18 more&#xd;
>> > > > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
>> > > Software
>> > > > Foundation\Tomcat
>> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
>> > > > (The system cannot find the path specified)&#xd;
>> > > > at java.io.FileOutputStream.open(Native Method)&#xd;
>> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
>> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
>> > > > ... 19 more&#xd;
>> > > >
>> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>> > > > java.lang.NullPointerException
>> > > > at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
>> > > > at org.apache.ode.axis2.service.Test.main(Test.java:15)
>> > > >
>> > > > I do appreciate a lot.
>> > > > Marzie
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Tammo van Lessen - http://www.taval.de
>> > >
>> >
>>
>>
>>
>> --
>> Tammo van Lessen - http://www.taval.de
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ODE deployment service API

Tammo van Lessen
Awesome, glad I could help.

Best,
  Tammo

On Tue, Feb 10, 2015 at 8:58 PM, Marzie Dehghanipour <
[hidden email]> wrote:

> Dear Tammo,
>
> I made a stupid error. I put all the files in the folder and then made a
> zip from this folder but I did not realize that the zip command also create
> another folder and put all the files there. Now I have selected the files
> and then right click and then made the zip, instead of making zip from the
> folder. Now it works without any problem and deploys the process. It was
> really a stupid error and took my time from morning :(
>
> But thanks a lot Tammo, you helped me a lot. I do appreciate.
>
> Best regards,
> Marzie
>
> On Tue, Feb 10, 2015 at 8:45 PM, Marzie Dehghanipour <
> [hidden email]> wrote:
>
> > Dear Tammo,
> >
> > No I have them in the root folder. This is my folder structure:
> > "E:\temp\HelloBPELProcess.zip"    and then I have the following files in
> > the root of this zip folder:
> >
> > - deploy.xml
> > -HelloBPELProcess.bpel
> > -HelloBPELProcess.bpelex
> > -HelloBPELProcessArtifacts
> >
> > I searched a lot on the web, but I have not found any solution for this
> > problem.
> >
> > Best regards,
> > Marzie
> >
> >
> >
> > On Tue, Feb 10, 2015 at 8:21 PM, Tammo van Lessen <[hidden email]>
> > wrote:
> >
> >> Hi Marzie,
> >>
> >> The BPELs, WSDLs and deploy.xml must be at the root level of the zip. Do
> >> you perhaps have them in a subfolder?
> >>
> >> HTH,
> >>   Tammo
> >>
> >> On Tue, Feb 10, 2015 at 1:11 PM, Marzie Dehghanipour <
> >> [hidden email]> wrote:
> >>
> >> > Dear Tammo,
> >> >
> >> > Thanks a lot for your fast response.
> >> > I moved the Tomcat to C:\tomcat and now it works. When I run the
> >> program it
> >> > copies and unzip my package to "C:\Tomcat
> >> > 6.0\webapps\ode\WEB-INF\processes".
> >> > It seems that it works correctly. But when I checked my local ODE
> >> server by
> >> > typing this in the browser: http://localhost:8080/ode/processes.html
> >> >
> >> > It shows that currently no processes are available.
> >> > The program also has an exception that it cannot find the "deploy.xml"
> >> file
> >> > in the package. But in my package it exists.
> >> >
> >> > Thanks again and best,
> >> > Marzie
> >> >
> >> > Exception:
> >> > zip part :<deployapi:package xmlns:deployapi="
> >> > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> >> > zip element :<deployapi:zip xmlns:deployapi="
> >> > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> >> > stream : java.io.FileInputStream@4e17e4ca
> >> > is :java.io.BufferedInputStream@2adb1d4
> >> > root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
> >> > http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:deploy
> >> > xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
> >> > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> >> > ">DynPartner</deployapi:name><deployapi:package
> >> > xmlns:deployapi="http://www.apache.org/ode/pmapi/types/2006/08/02/
> >> >
> >> >
> >>
> "><deployapi:zip>UEsDBBQAAAAAAFJlSkYAAAAAAAAAAAAAAAALAAAARHluUGFydG5lci9QSwMEFAAAAAgAaAEPNVbHkK0ZAQAABgMAABkAAABEeW5QYXJ0bmVyL2RlcGxveS54bWwueG1stZLPToQwEMbP8BRN7zKbPWhCgJNHTYg+AdJRmoW2aSsrb2//gBA26EnCgc785vtmhhYMVS8n8jX0wpS0s1blAJJh9s5HNPyjs1krBzBth0Nj4Hw63YN7zw/AGCVpEgrzoeFiWw1vCnv4FNzeWTR2A17NL1x2NaynC6vRqFvYR6VgqFfOaR5jUbNK06RQWrZoDBHNgCX1PeePk6gbbQXqZ3d0WBKwkTMkKiaeuLiUlLseeWOlrteoxx1vUI+8xVnWTehVvdxrTFCipLYlnaO1O1AITjBbhQMXo7zsXJcp/nTV0fVl4W+s19TWP3g6e/c5L6fa7Sn2sNnTj47rg+yewk4Kq6OCAnz6aMXxh/zTnNFvN2gB8fJX6TdQSwMEFAAAAAgANrsuNXIPbQO4BAAAkRMAAB4AAABEeW5QYXJ0bmVyL0R5blBhcnRuZXJNYWluLmJwZWztV0uTEjEQvvsr4uhBD0OA1SqkEMtSD1o+tlZLvYaZBqKZZEwyIP56O5PMgxnYRXRv7mmn04+vv34kzJ79zATZgDZcyafRaDCMCMhEpVyunkaFXcaTiDyb37kzy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AVsr1the4adQe3qM550QZzMFzHX4OVYDWiKRDyyj52qis1B+iAAqfN3kdDqWzZTNHtxg9gG7wUHKE2LCXaq9/gG8EJat3ULRxoh44w8Dj0s3qbQ/pTiYOpzLMI9z+N1n8BUEsBAj8AFAAAAAAAUmVKRgAAAAAAAAAAAAAAAAsAJAAAAAAAAAAQAAAAAAAAAER5blBhcnRuZXIvCgAgAAAAAAABABgADj/sqSZF0AEOP+ypJkXQATMqnVMURdABUEsBAj8AFAAAAAgAaAEPNVbHkK0ZAQAABgMAABkAJAAAAAAAAAAgAAAAKQAAAER5blBhcnRuZXIvZGVwbG95LnhtbC54bWwKACAAAAAAAAEAGAAAwm3x9r/GAU56c6gmRdABTnpzqCZF0AFQSwECPwAUAAAACAA2uy41cg9tA7gEAACREwAAHgAkAAAAAAAAACAAAAB5AQAARHluUGFydG5lci9EeW5QYXJ0bmVyTWFpbi5icGVsCgAgAAAAAAABABgAAOTVt0zYxgHQYHaoJkXQAdBgdqgmRdABUEsBAj8AFAAAAAgA1bodNX5zLJ+GAgAAxAoAACMAJAAAAAAAAAAgAAAAbQYAAER5blBhcnRuZXIvRHluUGFydG5lclJlc3BvbmRlci5icGVsCgAgAAAAAAABABgAAOW+pLnLxgENEXioJkXQAQ0ReKgmRdABUEsBAj8AFAAAAAgA7oD8NPafrhqfAgAAywgAABQAJAAAAAAAAAAgAAAANAkAAER5blBhcnRuZXIvTWFpbi53c2RsCgAgAAAAAAABABgAALheileyxgFpI3moJkXQAWkjeagmRdABUEsBAj8AFAAAAAgA7oD8NJB8fQD9AgAAVg0AABkAJAAAAAAAAAAgAAAABQwAAER5blBhcnRuZXIvUmVzcG9uZGVyLndzZGwKACAAAAAAAAEAGAAAuF6KV7LGAZtKeagmRdABm0p5qCZF0AFQSwUGAAAAAAYABgB+AgAAOQ8AAAAA</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
> >> > result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> >> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> > "><soapenv:Body><soapenv:Fault
> >> > xmlns:java="java:package
> >> >
> >> >
> >>
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> >> > of operation deploy failed: org.apache.ode.axis2.OdeFault: The
> >> deployment
> >> > doesn't appear to contain a deployment descriptor in its root
> directory
> >> > named deploy.xml,
> >> >
> aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> >> > Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault:
> >> The
> >> > deployment doesn't appear to contain a deployment descriptor in its
> root
> >> > directory named deploy.xml, aborting.&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> >> > at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> >> > at java.lang.Thread.run(Thread.java:595)&#xd;
> >> > Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't
> appear
> >> to
> >> > contain a deployment descriptor in its root directory named
> deploy.xml,
> >> > aborting.&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
> >> > ... 18 more&#xd;
> >> >
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> >> >
> >> > <soapenv:Envelope
> >> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> > "><soapenv:Body><soapenv:Fault
> >> > xmlns:java="java:package
> >> >
> >> >
> >>
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> >> > of operation deploy failed: org.apache.ode.axis2.OdeFault: The
> >> deployment
> >> > doesn't appear to contain a deployment descriptor in its root
> directory
> >> > named deploy.xml,
> >> >
> aborting.</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> >> > Invocation of operation deploy failed: org.apache.ode.axis2.OdeFault:
> >> The
> >> > deployment doesn't appear to contain a deployment descriptor in its
> root
> >> > directory named deploy.xml, aborting.&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> >> > at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> >> > at java.lang.Thread.run(Thread.java:595)&#xd;
> >> > Caused by: org.apache.ode.axis2.OdeFault: The deployment doesn't
> appear
> >> to
> >> > contain a deployment descriptor in its root directory named
> deploy.xml,
> >> > aborting.&#xd;
> >> > at
> >> >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:175)&#xd;
> >> > ... 18 more&#xd;
> >> >
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> >> > java.lang.NullPointerException
> >> > at org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
> >> > at org.apache.ode.axis2.service.Test.main(Test.java:15)
> >> >
> >> >
> >> > On Tue, Feb 10, 2015 at 12:10 PM, Tammo van Lessen <
> >> [hidden email]>
> >> > wrote:
> >> >
> >> > > Hi Marzie,
> >> > >
> >> > > Ah, that might be an issue with spaces in windows paths ("Apache
> >> Software
> >> > > Foundation" and "Tomcat 6.0"). Could you please try to move tomcat
> >> into a
> >> > > directory without spaces? e.g. C:\tomcat I guess that will help.
> >> > >
> >> > > Best,
> >> > >   Tammo
> >> > >
> >> > > On Tue, Feb 10, 2015 at 9:34 AM, Marzie Dehghanipour <
> >> > > [hidden email]> wrote:
> >> > >
> >> > > > Dear Tammo,
> >> > > >
> >> > > > I did the same what you wrote and now I dont have any exceptions
> >> > > regarding
> >> > > > the dependencies and jars. Thanks a lot.
> >> > > > But there is another error in the Soap message result and it seems
> >> that
> >> > > it
> >> > > > cannot deploy the process correctly. I put the message below:
> >> > > >
> >> > > > zip part :<deployapi:package xmlns:deployapi="
> >> > > > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> >> > > > zip element :<deployapi:zip xmlns:deployapi="
> >> > > > http://www.apache.org/ode/pmapi/types/2006/08/02/" />
> >> > > > stream : java.io.FileInputStream@2b2d96f2
> >> > > > is :java.io.BufferedInputStream@3e110003
> >> > > > root input :<SOAP-ENV:Envelope xmlns:SOAP-ENV="
> >> > > > http://schemas.xmlsoap.org/soap/envelope/
> >> "><SOAP-ENV:Body><tns:deploy
> >> > > > xmlns:tns="http://www.apache.org/ode/pmapi"><deployapi:name
> >> > > > xmlns:deployapi="
> http://www.apache.org/ode/pmapi/types/2006/08/02/
> >> > > > ">DynPartner</deployapi:name><deployapi:package
> >> > > > xmlns:deployapi="
> http://www.apache.org/ode/pmapi/types/2006/08/02/
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> "><deployapi:zip>UEsDBBQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKABUAZGVwbG95LnhtbFVUCQADFAPhRBrYCUVVeAQA9AH0AbVSTU+EMBA9w68gvUs3e9CEFE4eNSH6C5CObrPQNp0K8u/tx/KRxdWTpAdm5s17b6ZlHHSnpuyr7ySW5GStLihVHPJ3MQCKj5PNW9VTbE/QN0iPh8M9def4QDknWZqExqJvhNx20zcNHf2Uwt5ZQLsBjvgLLh+Rd2TGGkC9B/uskhzMivuJc4FFzipNE6aNagExk00PJfGei8dJ1o2xEsyzCx0sCbBBcMh0LDwJeS6JcB5FY5Wp12yAJwzBDKKFmXZEz+rpXmOBZFoZW5JLtnYBoUGJXqRCIOSgzleqyxR/qZqo+jLj99JLaasfNd1/sOKXU+325D1s9rTwOB/Z1cfspKG61cBoKN9csb+Qf5pz3fNmUEbj46/Sb1BLAwQUAAAACAA2ey41cg9tA8YEAACREwAAEwAVAER5blBhcnRuZXJNYWluLmJwZWxVVAkAA+jWCUUa2AlFVXgEAPQB9AHtV0tz4zYMvudXsGo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3OTW34UAWv9Y7TX9YFyaSbCZoa02qimiM4KmGC0SlYZ6cu/bOMPutG7Orxio4AszXbarszQ98RXAgVc1S6wjLKkt53q0fHKQ+RHKlyYlHAE8Z/Az/U1af4o+L+n9sZ8XWrbl28NpNYvGap0ND87He6Y5s1o7sfuuBwBk/7cymcbvJc2+igLAU1YlzETAL5JlJlayiVWQD4p5dWMIhhd05YzR6LjsHa5fNaytxz6gb/Yry7oujM93to2oLFow0iDZBIGjm2MRUcpfXkIJam3mPJtpRnTZV+dP4Xq+NPgo6qC3JkQyab3fWRPtmqc24Ee6J9a+wtkS7H6P3eEn/TeJ4LvPCpdX7aXT1G1BLAQIXAxQAAAAIAGiBDjVWx5CtGgEAAAYDAAAKAA0AAAAAAAEAAAC0gQAAAABkZXBsb3kueG1sVVQFAAMUA+FEVXgAAFBLAQIXAxQAAAAIADZ7LjVyD20DxgQAAJETAAATAA0AAAAAAAEAAAC0gVcBAABEeW5QYXJ0bmVyTWFpbi5icGVsVVQFAAPo1glFVXgAAFBLAQIXAxQAAAAIANV6HTV+cyyfjwIAAMQKAAAYAA0AAAAAAAEAAAC0gWMGAABEeW5QYXJ0bmVyUmVzcG9uZGVyLmJwZWxVVAUAAzK+9ERVeAAAUEsBAhcDFAAAAAgA7kD8NPafrhqjAgAAywgAAAkADQAAAAAAAQAAALSBPQkAAE1haW4ud3NkbFVUBQADMCjKRFV4AABQSwECFwMUAAAACADuQPw0kHx9AAEDAABWDQAADgANAAAAAAABAAAAtIEcDAAAUmVzcG9uZGVyLndzZGxVVAUAAzAoykRVeAAAUEsFBgAAAAAFAAUAcwEAAF4PAAAAAA==</deployapi:zip></deployapi:package></tns:deploy></SOAP-ENV:Body></SOAP-ENV:Envelope>
> >> > > > result :<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> >> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> > > > "><soapenv:Body><soapenv:Fault
> >> > > > xmlns:java="java:package
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> >> > > > of operation deploy failed: java.io.FileNotFoundException:
> >> C:\Program
> >> > > > Files\Apache Software Foundation\Tomcat
> >> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The
> >> system
> >> > > > cannot find the path
> >> > > >
> >> >
> >>
> specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> >> > > > Invocation of operation deploy failed:
> >> java.io.FileNotFoundException:
> >> > > > C:\Program Files\Apache Software Foundation\Tomcat
> >> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The
> >> system
> >> > > > cannot find the path specified)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> >> > > > at
> >> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> >> > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> >> > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> >> > > > at java.lang.Thread.run(Unknown Source)&#xd;
> >> > > > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> >> > > > deployment.&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> >> > > > ... 18 more&#xd;
> >> > > > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
> >> > > Software
> >> > > > Foundation\Tomcat
> >> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> >> > > > (The system cannot find the path specified)&#xd;
> >> > > > at java.io.FileOutputStream.open(Native Method)&#xd;
> >> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> >> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> >> > > > ... 19 more&#xd;
> >> > > >
> >> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> >> > > >
> >> > > > <soapenv:Envelope
> >> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> > > > "><soapenv:Body><soapenv:Fault
> >> > > > xmlns:java="java:package
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2"><faultcode>java:org.apache.ode.axis2.OdeFault</faultcode><faultstring>Invocation
> >> > > > of operation deploy failed: java.io.FileNotFoundException:
> >> C:\Program
> >> > > > Files\Apache Software Foundation\Tomcat
> >> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The
> >> system
> >> > > > cannot find the path
> >> > > >
> >> >
> >>
> specified)</faultstring><detail><Exception>org.apache.ode.axis2.OdeFault:
> >> > > > Invocation of operation deploy failed:
> >> java.io.FileNotFoundException:
> >> > > > C:\Program Files\Apache Software Foundation\Tomcat
> >> > > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml (The
> >> system
> >> > > > cannot find the path specified)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:273)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)&#xd;
> >> > > > at
> >> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)&#xd;
> >> > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:643)&#xd;
> >> > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#xd;
> >> > > > at java.lang.Thread.run(Unknown Source)&#xd;
> >> > > > Caused by: org.apache.ode.axis2.OdeFault: An error occured on
> >> > > > deployment.&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:304)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.invokeBusinessLogic(DeploymentWebService.java:170)&#xd;
> >> > > > ... 18 more&#xd;
> >> > > > Caused by: java.io.FileNotFoundException: C:\Program Files\Apache
> >> > > Software
> >> > > > Foundation\Tomcat
> >> > > 6.0\webapps\ode\WEB-INF\processes\DynPartner-1\deploy.xml
> >> > > > (The system cannot find the path specified)&#xd;
> >> > > > at java.io.FileOutputStream.open(Native Method)&#xd;
> >> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> >> > > > at java.io.FileOutputStream.&lt;init>(Unknown Source)&#xd;
> >> > > > at
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageReceiver.unzip(DeploymentWebService.java:299)&#xd;
> >> > > > ... 19 more&#xd;
> >> > > >
> >> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> >> > > > java.lang.NullPointerException
> >> > > > at
> org.apache.ode.axis2.service.ODEClient.deploy(ODEClient.java:124)
> >> > > > at org.apache.ode.axis2.service.Test.main(Test.java:15)
> >> > > >
> >> > > > I do appreciate a lot.
> >> > > > Marzie
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Tammo van Lessen - http://www.taval.de
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Tammo van Lessen - http://www.taval.de
> >>
> >
> >
>



--
Tammo van Lessen - http://www.taval.de