Thank you for the info for adding  commons-logging jar file ..

I have done that...
__________________________________________________________________________________________________

After that ....on running helloworld2...in Junit...I get error / failure
trace as :

java.lang.NoClassDefFoundError:
org/apache/ode/bpel/dd/DeployDocument$Factory
   at org.apache.ode.bpel.deploy.DeploymentUnitImpl.getDeploymentDescriptor
(DeploymentUnitImpl.java:212)
at org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:634)
at org.apache.ode.bpel.deploy.DeploymentServiceImpl.deploy(
DeploymentServiceImpl.java:44)
at org.apache.ode.test.BPELTest.go(BPELTest.java:69)
at org.apache.ode.test.BPELTest.testHelloWorld2(BPELTest.java:96)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at junit.framework.TestCase.runTest(TestCase.java:154)
   at junit.framework.TestCase.runBare(TestCase.java:127)
   at junit.framework.TestResult$1.protect(TestResult.java:106)
   at junit.framework.TestResult.runProtected(TestResult.java:124)
   at junit.framework.TestResult.run(TestResult.java:109)
   at junit.framework.TestCase.run(TestCase.java:118)
 at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(
JUnit3TestReference.java:128)
   at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)



Not only that in console i get info  like :

Nov 8, 2006 10:54:26 AM org.apache.ode.bpel.engine.BpelEngineImpl <clinit>
SEVERE: Could not read ODE_DEBUG_TX_DELAY environment variable! Assuming 0
(mean) delay

Nov 8, 2006 10:54:26 AM org.apache.ode.bpel.engine.BpelServerImpl start
INFO: BPEL Server Started.

Nov 8, 2006 10:54:26 AM org.apache.ode.bpel.engine.BpelServerImpl deploy
INFO: Starting deployment of processes from directory
"target\test-classes\bpel\2.0\HelloWorld2".

Nov 8, 2006 10:54:27 AM org.apache.ode.bpel.engine.BpelServerImpl stop
INFO: BPEL Server Stopped.

_____________________________________________________________________________________

So did junit  : started the server...deployed helloworld2..and stopped ? or
this is somekind of error message...

But where is helloworld2 sample's output ..(ie " hello world ")...?

Plz do shed some light on this...Thanx in Advance...


Sam..














On 11/8/06, sam tam < [EMAIL PROTECTED]> wrote:

hello victor,

I have added wsdl4j.jar in the first place itself...yet i get this
error........

Is it someother dependency [ jar file] ?

Sam......



On 11/8/06, victor panizza <[EMAIL PROTECTED]> wrote:
>
> for the javax.wsdl.PortType dependence error you will need wsdl4j.jar
>
> On 11/7/06, Matthieu Riou <[EMAIL PROTECTED] > wrote:
> >
> > Isn't it just commons-logging not being in your classpath?
> >
> > On 11/7/06, sam tam <[EMAIL PROTECTED]> wrote:
> > >
> > > Ok..I have figured it out ...I run the code( BPELTest.java)  using
> > > Junit..in
> > > eclipse..
> > > [ testHelloworld2 ]
> > >
> > > I get this kind of error : In the failure trace
> > >
> > >
> > > java.lang.NoClassDefFoundError:
> org/apache/commons/logging/LogFactory
> > >     at org.apache.ode.bpel.engine.BpelServerImpl.<clinit>(
> > > BpelServerImpl.java:84)
> > >     at org.apache.ode.test.BPELTest.setUp(BPELTest.java :41)
> > >     at junit.framework.TestCase.runBare (TestCase.java:125)
> > >     at junit.framework.TestResult$1.protect(TestResult.java:106)
> > >     at junit.framework.TestResult.runProtected(TestResult.java:124)
> > >     at junit.framework.TestResult.run (TestResult.java:109)
> > >     at junit.framework.TestCase.run(TestCase.java:118)
> > >     at
> > > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run
> (
> > > JUnit3TestReference.java :128)
> > >     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
> > > TestExecution.java:38)
> > >     at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
> > > RemoteTestRunner.java :460)
> > >     at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (
> > > RemoteTestRunner.java:673)
> > >     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
> > > RemoteTestRunner.java:386)
> > >     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
> > > RemoteTestRunner.java:196)
> > >
> > >
> > >
> > > Can anyone provide some info on this...Where i might have went
> wrong...
> > ?
> > >
> > > Thanx in Advance..
> > >
> > > Sam..Tam..
> > >
> > >
> > >
> > >
> > >
> > > On 11/7/06, sam tam < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello thanx for your help ..All of you...
> > > >
> > > > I am trying with BPELtest.java...(as quoted by Lance Waterman )
> > > >
> > > > I have imported everything into eclipse...(ie the entire folder "
> > > > Bpel-test " )
> > > >
> > > > Also i have added the required Jar's for that (ie
> > > > ode\bpel-api\target\ode- bpel-api-2.0-SNAPSHOT.jar)
> > > >
> > > > I have started Tomcat...with ODE engine in it
> > > >
> > > > Now eclipse throws some errors/problems :
> > > >
> > > > 1) The project was not built since its build path is incomplete.
> > Cannot
> > > > find the class file for javax.wsdl.PortType. Fix the build path
> then
> > try
> > > > building this project  [Resource :  BPELTest  ]
> > > >
> > > > 2) The type javax.wsdl.PortType cannot be resolved. It is
> indirectly
> > > > referenced from required .class files
> > > >  [ Resource : MessageExchangeContextImpl.java    Path:
> > > > BPELTest/org/apache/ode/test ]
> > > >
> > > >
> > > >
> > > > I couldnt understand what else is required....?
> > > >
> > > > Would be glad if someone can give me some info on tthis..
> > > >
> > > >
> > > > Sam..
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 11/2/06, Vo, Khanh < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > You can also use Axis'2 wsdl2java to generate the java client.
> > > > >
> > > > > -----Original Message-----
> > > > > From: Paul Brown [mailto: [EMAIL PROTECTED]
> > > > > Sent: Thursday, November 02, 2006 8:32 AM
> > > > > To: [email protected]
> > > > > Subject: Re: How to access ODE process from a Java Client ?
> > > > >
> > > > > Hi, Sam --
> > > > >
> > > > > To add to what Lance said:
> > > > >
> > > > > > Is there someother way to access the BPEL process other than
> > sending
> > > > > SOAP
> > > > > > messages  ?
> > > > >
> > > > > The way that one access any BPEL engine is by sending WSDL
> messages,
> > > > > where both "send" and "message" are in the abstract sense.  SOAP
>
> > over
> > > > > HTTP is just one implementation of that combination of
> operations
> > > > > (XML out of bits on the wire into WSDL structure).
> > > > >
> > > > > > I saw this code  for ActiveBPEL  in  their website ?
> > > > > [...]
> > > > > >        Call call = (Call) service.createCall();
> > > > > [...]
> > > > > > Do we have some thing like that in Apache ODE to access the
> > > HelloWorld
> > > > >
> > > > > BPEL
> > > > > > process ?
> > > > >
> > > > > This is just an Apache AXIS web service client invocation and an
>
> > > > > RPC-style one at that, and the availability of this kind of API
> is
> > > > > really just a consequence of the BPEL engine being deployed as a
> web
> > > > > service that accepts the kind of SOAP that the client (the Call)
>
> > spits
> > > > > out.  You could use the *exact* same approach with an
> appropriate
> > > > > deployment of ODE.
> > > > >
> > > > > -- Paul
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Catch Me @: www.samjeyam.co.nr
> > >
> > > The Engine is the Heart of the Plane
> > >    but
> > >        Pilot is the Soul...
> > >
> > > \___(0)___/
> > >       ./ \.
> > >
> > >
> >
> >
>
>




--
Catch Me @: www.samjeyam.co.nr

The Engine is the Heart of the Plane
  but
      Pilot is the Soul...

\___(0)___/
     ./ \.

Reply via email to