[jboss-user] [Advanced Documentation] - Help in executing Hello World BPEL example

gosanjeev do-not-reply at jboss.com
Mon Jul 10 19:41:23 EDT 2006


I'm going through the tutorial http://docs.jboss.org/jbpm/bpel/tutorial.html#tutorial.hello.test and in the last step on running the JUnit test case named ClientTest I'm getting the following error:

run-test:
    [junit] Testsuite: org.jbpm.bpel.tutorial.hello.ClientTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.411 sec

    [junit] ------------- Standard Output ---------------
    [junit] 16:36:46,761 ERROR ServiceObjectFactory : Cannot create service
    [junit] javax.naming.NamingException: Cannot unmarshall service ref meta data, cause: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVer
sionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940
    [junit]     at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:127)
    [junit]     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    [junit]     at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
    [junit]     at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
    [junit]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
    [junit]     at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135)
    [junit]     at $Proxy0.lookup(Unknown Source)
    [junit]     at javax.naming.InitialContext.lookup(InitialContext.java:351)
    [junit]     at org.jbpm.bpel.tutorial.hello.ClientTest.setUp(ClientTest.java:28)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:125)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1072)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:682)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1434)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:632)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:364)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:341)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [junit]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [junit] 16:36:46,781 ERROR ServiceObjectFactory : Cannot create service
    [junit] javax.naming.NamingException: Cannot unmarshall service ref meta data, cause: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVer
sionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940
    [junit]     at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:127)
    [junit]     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    [junit]     at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
    [junit]     at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
    [junit]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
    [junit]     at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135)
    [junit]     at $Proxy0.lookup(Unknown Source)
    [junit]     at javax.naming.InitialContext.lookup(InitialContext.java:351)
    [junit]     at org.jbpm.bpel.tutorial.hello.ClientTest.setUp(ClientTest.java:28)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:125)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1072)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:682)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1434)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:632)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:364)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:341)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [junit]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [junit] ------------- ---------------- ---------------
...

Any help would be much appreciated.

Thanks,

Sanjeev Chakravarty

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956815#3956815

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956815



More information about the jboss-user mailing list