Thank You for your reply...Lance

I followed the intsructions given in : http://cwiki.apache.org

/confluence/display/ODExSITE/Eclipse+IDE



Yet i get lot of errors

In Problems tab of eclipse :
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-tools
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-jbi-install
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-jbi
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-dao-hibernate
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-bpel-runtime
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-bpel-ql
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-bpel-el-xpath20
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-bpel-el-xpath10
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-bpel-compiler
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-axis2-war
Unbound classpath variable: 'M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar' in project
ode-axis2        ode-axis2
Unbound classpath variable: 'M2_REPO/xmlbeans/xmlpublic/2.1.0/xmlpublic-
2.1.0.jar' in project ode-tools
..
....
......
.........
Unbound classpath variable: 'M2_REPO/wsdl4j/wsdl4j/1.5.2/wsdl4j-1.5.2.jar'
in project ode-utils
.......
........

It goes on..

Now i thought my code might be little old so i checked out SVN ...
I started build : But i get  this build error


Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-qn
ame_1.1_spec/1.0.1/geronimo-qname_1.1_spec-1.0.1.test
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org
/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

I also mavened it again ..yet same build error


Can anyone plz provide some info on this...

Am stuck here(ie running BPELTest.java) more than a day...


Thanx in Advance

Sam  Tam..




On 11/8/06, Lance Waterman <[EMAIL PROTECTED]> wrote:

Sam,

I'm not sure why your dependencies  appear to be  misaligned. You did
follow
Alex's instructions here:
( http://cwiki.apache.org/confluence/display/ODExSITE/Eclipse+IDE ) -
correct?

It looks like you are missing a dependency on the  ODE  module -
ode-bpel-el-xpath20.


I will try Alex's instructions from scratch just to make sure the POM is
okay.

Lance

On 11/8/06, sam tam < [EMAIL PROTECTED]> wrote:
>
> Hello People,
>
> I have added all necessary jar's (I hope so) to eclipse ...to run
> BPELTest.java..
>
> On running , it listed  testHelloWorld2. and many more ...using junit in
> eclipse
>
> I took testHelloworld2 and gave Run...
>
> In the failure trace (found in eclipse ) I get :
>
> org.apache.ode.bpel.iapi.BpelEngineException: Couldn't read compiled
BPEL
> process C:\Documents and
>
>
Settings\Administrator\Sam\BPELTest\target\test-classes\bpel\2.0\HelloWorld2\HelloWorld2.cbp
>     at org.apache.ode.bpel.deploy.DeploymentUnitImpl.loadProcess (
> DeploymentUnitImpl.java:167)
>     at
> org.apache.ode.bpel.deploy.DeploymentUnitImpl.loadProcessDefinitions(
> DeploymentUnitImpl.java:151)
>     at org.apache.ode.bpel.deploy.DeploymentUnitImpl.getProcesses(
> DeploymentUnitImpl.java :223)
>     at org.apache.ode.bpel.engine.BpelServerImpl.deploy(
> BpelServerImpl.java
> :639)
>     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)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.ode.bpel.elang.xpath10.o.OXPath10ExpressionBPEL20
>     at java.net.URLClassLoader$1.run(Unknown Source)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass (Unknown Source)
>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Unknown Source)
>     at java.io.ObjectInputStream.resolveClass (Unknown Source)
>     at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
>     at java.io.ObjectInputStream.readClassDesc(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject (Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.readObject(Unknown Source)
>     at java.util.ArrayList.readObject (Unknown Source)
>     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 java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject (Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.readObject(Unknown Source)
>     at java.util.HashSet.readObject (Unknown Source)
>     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 java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject (Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.readObject(Unknown Source)
>     at java.util.HashSet.readObject (Unknown Source)
>     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 java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject (Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.readObject(Unknown Source)
>     at java.util.ArrayList.readObject (Unknown Source)
>     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 java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject (Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
>     at java.io.ObjectInputStream.readSerialData(Unknown Source)
>     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
>     at java.io.ObjectInputStream.readObject0(Unknown Source)
>     at java.io.ObjectInputStream.readObject(Unknown Source)
>     at org.apache.ode.bpel.o.Serializer.readOProcess (Serializer.java
:117)
>     at org.apache.ode.bpel.deploy.DeploymentUnitImpl.loadProcess(
> DeploymentUnitImpl.java:165)
>     ... 22 more
>
>
>
>
> But in the console I get information such as  :
>
> Nov 8, 2006 2:47:22 PM org.apache.ode.bpel.engine.BpelEngineImpl<clinit>
> SEVERE: Could not read ODE_DEBUG_TX_DELAY environment variable! Assuming
0
> (mean) delay
>
> Nov 8, 2006 2:47:23 PM org.apache.ode.bpel.engine.BpelServerImpl start
> INFO: BPEL Server Started.
>
> Nov 8, 2006 2:47:23 PM org.apache.ode.bpel.engine.BpelServerImpl deploy
> INFO: Starting deployment of processes from directory
> "target\test-classes\bpel\2.0\HelloWorld2".
>
> Nov 8, 2006 2:47:26 PM org.apache.ode.bpel.engine.BpelServerImpl stop
> INFO: BPEL Server Stopped.
>
>
>
> So did the HelloWorld2 worked ? or am I getting some error / failure
> information ?
>
> Can any one plz provide some info on this : ( matthieu or any members )
>
> I am stuck here guys..Plz respond....
>
>
>
> Sam...Tam
>
>


Reply via email to