[jboss-user] [JBoss jBPM] - Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?

KVAK_TNT do-not-reply at jboss.com
Tue Sep 26 07:37:24 EDT 2006


Hi Alex!

my problem is - I have allready done this! (JAVA_HOME\libs\endorsed\xercesImpl.jar and the rest of the endorsed folder in JBOSS)
OK I installed all the stuff again - Eclipse, Java, JBOSS and my workspace.
Now I can deploy services. But if I try to start atm\build.xml -> run-terminal I get the following error as soon as I press "connect":

Buildfile: C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\build.xml
  | pack-client:
  | deploy-client:
  |      [copy] Copying 1 file to C:\entwicklung\jboss-4.0.4.GA\server\default\deploy
  | compile-common:
  | compile-test:
  | run-terminal:
  |      [java] Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel
  |      [java] at org.jboss.ws.metadata.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:102)
  |      [java] at org.jboss.ws.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:112)
  |      [java] at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:182)
  |      [java] at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
  |      [java] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
  |      [java] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
  |      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
  |      [java] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135)
  |      [java] at $Proxy0.lookup(Unknown Source)
  |      [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |      [java] at org.jbpm.bpel.tutorial.atm.terminal.ConnectAction.actionPerformed(ConnectAction.java:49)
  |      [java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
  |      [java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
  |      [java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
  |      [java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
  |      [java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
  |      [java] at java.awt.Component.processMouseEvent(Component.java:5488)
  |      [java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
  |      [java] at java.awt.Component.processEvent(Component.java:5253)
  |      [java] at java.awt.Container.processEvent(Container.java:1966)
  |      [java] at java.awt.Component.dispatchEventImpl(Component.java:3955)
  |      [java] at java.awt.Container.dispatchEventImpl(Container.java:2024)
  |      [java] at java.awt.Component.dispatchEvent(Component.java:3803)
  |      [java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
  |      [java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
  |      [java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
  |      [java] at java.awt.Container.dispatchEventImpl(Container.java:2010)
  |      [java] at java.awt.Window.dispatchEventImpl(Window.java:1774)
  |      [java] at java.awt.Component.dispatchEvent(Component.java:3803)
  |      [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
  |      [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
  |      [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
  |      [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
  |      [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
  |      [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

My sollution to this point (I have another error now :-)):
OK - seems to be the same error I thought maybe he won't find the xercesImpl.jar (reason: don't know either) - so I changed the webservice.build.xml and added the following:
<project name="template">
  | <property name="common.additional.jars" value="c:/eworkspace/bpel-b2/jbpm.bpel/lib/additional.jars" />
  | ...
  | 
and
<path id="test.path">
  | <fileset dir="${common.additional.jars}"> <include name="**/*.jar"/> </fileset>
  | ...
  | </path>
  | 
and I copied the xercesImpl.jar into this new folder.


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

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



More information about the jboss-user mailing list