Hi Sathwil,

There seems to be an error while deploying the process. This is the log at
catalina.out

10:23:16,154 ERROR [DeploymentUnitDir] Compile error in
/var/lib/tomcat7/webapps/ode/WEB-INF/processes/HelloWorld2/HelloWorld2.bpel
java.io.FileNotFoundException:
/var/lib/tomcat7/webapps/ode/WEB-INF/processes/HelloWorld2/HelloWorld2.cbp
(Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:272)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:349)
at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:204)
at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57)
at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:201)
at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:204)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:172)
at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:173)
at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:269)
10:23:16,161 ERROR [ProcessStoreImpl] Deploy failed; process "{
http://ode/bpel/unit-test}HelloWorld2"; not found in deployment unit
"HelloWorld2".
10:23:16,161 ERROR [DeploymentPoller] Deployment of HelloWorld2 failed,
aborting for now.
org.apache.ode.bpel.iapi.ContextException: Deploy failed; process "{
http://ode/bpel/unit-test}HelloWorld2"; not found in deployment unit
"HelloWorld2".
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:242)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:172)
at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:173)
at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:269)

Thank you,
Maduranga

On Tue, Mar 17, 2015 at 10:02 AM, Sathwik B P <sathwik...@gmail.com> wrote:

> Is the process deployed successfully. What do the logs say?
>
> On Tue, Mar 17, 2015 at 2:47 AM, Maduranga Siriwardena <
> maduranga.siriward...@gmail.com> wrote:
>
> > Hi Tammo,
> >
> > Message sending problem seems to be ok.
> >
> > I have copied the examples/HelloWorld2/ folder to
> > /var/lib/tomcat7/webapps/ode/WEB-INF/processes/. But the sample process
> > seems to be not deploying correctly. Response I get is bellow
> >
> > The service cannot be found for the endpoint reference (EPR)
> > http://localhost:8080/ode/processes/helloWorld
> >
> > I cannot see the wsdl file in the url [1] which is the endpoint that the
> > message is sent. And I can't find the deployed sample in the page [2].
> Any
> > suggestion what I have done wrong?
> >
> >
> > [1] http://localhost:8080/ode/processes/helloWorld?wsdl
> > [2] http://localhost:8080/ode/processes.html
> >
> > On Tue, Mar 17, 2015 at 2:02 AM, Maduranga Siriwardena <
> > maduranga.siriward...@gmail.com> wrote:
> >
> > > Hi Tammo,
> > >
> > > Thank you for the response. I will try this and let you know the
> result.
> > >
> > > Regards,
> > > Maduranga.
> > >
> > > On Tue, Mar 17, 2015 at 1:53 AM, Tammo van Lessen <
> tvanles...@gmail.com>
> > > wrote:
> > >
> > >> Hi Maduranga,
> > >>
> > >> there is a problem with sendsoap of the 1.3.6 distribution. Please try
> > the
> > >> distro from
> > >>
> > >>
> >
> https://builds.apache.org/view/M-R/view/ODE/job/ODE-trunk-jdk6/lastStableBuild/
> > >> -- it should work then. In general I prefer using SoapUI for
> > >> testing/invoking BPEL processes.
> > >>
> > >> HTH,
> > >>   Tammo
> > >>
> > >> On Mon, Mar 16, 2015 at 7:23 PM, Maduranga Siriwardena <
> > >> maduranga.siriward...@gmail.com> wrote:
> > >>
> > >> > Hi all,
> > >> >
> > >> > I deployed the ode.war into a tomcat server as described in [1].
> Then
> > I
> > >> > copied the contents of one example folder to the WEB-INF/processors
> > >> folder.
> > >> > I tried to send a message using
> > >> >
> > >> > bin/sendsoap http://localhost:8080/ode/processes/helloWorld
> > >> > examples/HelloWorld2/testRequest.soap
> > >> >
> > >> > But I get an error saying
> > >> >
> > >> > Error: Could not find or load main class
> > >> > org.apache.ode.tools.sendsoap.cline.HttpSoapSender
> > >> >
> > >> > Is there any suggestion to avoid this error?
> > >> >
> > >> > I hope that after copying the contents of the example folder the
> > process
> > >> > should appear in [2]. But it didn't show either.
> > >> >
> > >> > [1] http://ode.apache.org/war-deployment.html
> > >> > [2] http://localhost:8080/ode/processes.html
> > >> >
> > >> > Thank you,
> > >> > --
> > >> > Maduranga Siriwardena
> > >> > Undergraduate
> > >> > Department of Computer Science and Engineering
> > >> > Faculty of Engineering, University of Moratuwa.
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Tammo van Lessen - http://www.taval.de
> > >>
> > >
> > >
> > >
> > > --
> > > Maduranga Siriwardena
> > > Undergraduate
> > > Department of Computer Science and Engineering
> > > Faculty of Engineering, University of Moratuwa.
> > >
> >
> >
> >
> > --
> > Maduranga Siriwardena
> > Undergraduate
> > Department of Computer Science and Engineering
> > Faculty of Engineering, University of Moratuwa.
> >
>



-- 
Maduranga Siriwardena
Undergraduate
Department of Computer Science and Engineering
Faculty of Engineering, University of Moratuwa.

Reply via email to