8 Replies Latest reply on Mar 5, 2008 10:37 PM by aguizar

    BPEL beta2 - JBOSS 4.0.4 - JWSDP?

    kvak_tnt

      Hi there!

      in your ant.properties you have the following code:

      # JWSDP installation directory
      # optional for JBoss 4.0.4+
      # required for JBoss 4.0.3-
      ##jwsdp.home=C:/entwicklung/sun/jwsdp-1.6


      As you see I have commented out the jwsdp installation directory as I am using JBOS 4.0.4+ GA Patch 1

      But If I do so - I cannont use the wstools with the following error:
      Buildfile: C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\ticket\build.xml
      detect-wsgenerator:
      generate-artifacts:
      wstools:
      
      BUILD FAILED
      C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\webservice.build.xml:128: The following error occurred while executing this line:
      java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel
      
      Total time: 2 seconds


      Whats the reason for?

      I have installed JBOSS with default installation options.

      Greetings

      Claus

        • 1. Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?
          aguizar

          Hi Claus,

          You need to replace the default implementation of the XML APIs. The user guide, section 4.4 provides more details.

          Cheers!

          • 2. Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?
            kvak_tnt

            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.


            • 3. Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?
              kvak_tnt

              Maybe it will be helpfull if I send you this debug output of my console of ant:

              Apache Ant version 1.6.5 compiled on June 2 2005
              Setting ro project property: ant.file -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\build.xml
              Buildfile: C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\build.xml
              Adding reference: ant.projectHelper
              Adding reference: ant.parsing.context
              Adding reference: ant.targets
              parsing buildfile C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\build.xml with URI = file:///C:/EWorkspace/bpel-b2/jbpm.bpel/doc/examples/atm/build.xml
              Setting ro project property: ant.project.name -> atm
              Adding reference: atm
              Setting ro project property: ant.file.atm -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\build.xml
              Project base dir set to: C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm
              +Target:
              +Target: all
              +Target: run-terminal
              Importing file ../common/process.build.xml from C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\build.xml
              parsing buildfile C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\process.build.xml with URI = file:///C:/EWorkspace/bpel-b2/jbpm.bpel/doc/examples/common/process.build.xml
              Setting ro project property: ant.file.atm -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\process.build.xml
              Adding reference: jbpm.bpel.path
              +Target: pack-definition
              +Target: deploy-definition
              +Target: generate-service
              +Target: redeploy-web
              Importing file webservice.build.xml from C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\process.build.xml
              parsing buildfile C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\webservice.build.xml with URI = file:///C:/EWorkspace/bpel-b2/jbpm.bpel/doc/examples/common/webservice.build.xml
              Setting ro project property: ant.file.template -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\webservice.build.xml
              Adding reference: jboss.path
              Adding reference: wstools.path
              Adding reference: wscompile.path
              Adding reference: test.path
              +Target: clean
              +Target: detect-wsgenerator
              +Target: wstools
              +Target: wscompile
              +Target: generate-artifacts
              +Target: compile-web
              +Target: pack-web
              +Target: deploy-web
              +Target: undeploy-web
              Already defined in main or a previous import, define redeploy-web as template.redeploy-web
              +Target: template.redeploy-web
              +Target: pack-client
              +Target: deploy-client
              +Target: undeploy-client
              +Target: compile-common
              +Target: compile-test
              +Target: run-test
              Setting project property: app.name -> atm
              Setting project property: common.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\webservice.build.xml/..
              Setting project property: project.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm
              Setting project property: java.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/src/main/java
              Setting project property: resources.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/src/main/resources
              Setting project property: web.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/src/main/resources/WEB-INF
              Setting project property: client.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/src/main/resources/META-INF
              Setting project property: test.java.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/src/test/java
              Setting project property: output.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/output
              Setting project property: output.java.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/output/java
              Setting project property: output.classes.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/output/classes
              Setting project property: output.web.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/output/resources/WEB-INF
              Setting project property: output.test.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/output/test
              Setting project property: output.test.classes.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/output/test/classes
              Setting project property: output.test.reports.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/output/test/reports
              Setting project property: common.java.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\webservice.build.xml/../src/main/java
              Setting project property: common.classes.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\webservice.build.xml/../output/classes
              Setting project property: common.additional.jars -> c:/eworkspace/bpel-b2/jbpm.bpel/lib/additional.jars
               [property] Loading C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\ant.properties
              Setting project property: jbpm.bpel.home -> c:/eworkspace/bpel-b2/jbpm.bpel
              Setting project property: jwsdp.home -> C:/entwicklung/sun/jwsdp-1.6
               [property] Loading C:\eworkspace\bpel-b2\jbpm.bpel\ant.properties
              Setting project property: jboss.server -> default
              Setting project property: jboss.home -> C:/entwicklung/jboss-4.0.4.GA
              Setting project property: jbpm.version -> 3.1.2
              Setting project property: jbpm.bpel.version -> 1.1.Beta2
              Setting project property: jboss.server.dir -> C:/entwicklung/jboss-4.0.4.GA/server/default
              Setting project property: jboss.server.deploy.dir -> C:/entwicklung/jboss-4.0.4.GA/server/default/deploy
              Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
              Adding reference: jboss.path
              Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
              Adding reference: wstools.path
              Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
              Adding reference: wscompile.path
              Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
              Adding reference: test.path
              [available] Found directory: src\main\resources\META-INF
              Setting project property: client.available -> true
              [available] Found directory: src\test\java
              Setting project property: test.available -> true
              Setting project property: bpel.dir -> C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm/src/main/bpel
              Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
              Property ${template.dir} has not been set
              Adding reference: jbpm.bpel.path
              Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
              Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
              fileset: Setup scanner in dir C:\eworkspace\bpel-b2\jbpm.bpel\lib with patternSet{ includes: [**/*.jar] excludes: [] }
              dropping C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm${template.dir}\config from path as it doesn't exist
              Finding class org.jbpm.bpel.ant.DeployProcessTask
              Loaded from C:\eworkspace\bpel-b2\jbpm.bpel\output\jbpm-bpel-1.1.Beta2.jar org/jbpm/bpel/ant/DeployProcessTask.class
              Class org.apache.tools.ant.Task loaded from parent loader (parentFirst)
              Class org.jbpm.bpel.ant.DeployProcessTask loaded from ant loader (parentFirst)
              Class java.lang.Object loaded from parent loader (parentFirst)
              Class java.lang.Throwable loaded from parent loader (parentFirst)
              Class java.io.IOException loaded from parent loader (parentFirst)
              Class org.apache.tools.ant.BuildException loaded from parent loader (parentFirst)
              +Datatype deployprocess org.jbpm.bpel.ant.DeployProcessTask
              Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
              Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
              fileset: Setup scanner in dir C:\eworkspace\bpel-b2\jbpm.bpel\lib with patternSet{ includes: [**/*.jar] excludes: [] }
              dropping C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm${template.dir}\config from path as it doesn't exist
              Finding class org.jbpm.bpel.ant.ServiceGeneratorTask
              Loaded from C:\eworkspace\bpel-b2\jbpm.bpel\output\jbpm-bpel-1.1.Beta2.jar org/jbpm/bpel/ant/ServiceGeneratorTask.class
              Class org.apache.tools.ant.Task loaded from parent loader (parentFirst)
              Class org.jbpm.bpel.ant.ServiceGeneratorTask loaded from ant loader (parentFirst)
              Class java.lang.Object loaded from parent loader (parentFirst)
              Class java.lang.Throwable loaded from parent loader (parentFirst)
              Class java.lang.RuntimeException loaded from parent loader (parentFirst)
              Class java.util.Collection loaded from parent loader (parentFirst)
              Class org.apache.tools.ant.BuildException loaded from parent loader (parentFirst)
              Finding class org.jbpm.bpel.xml.ProblemHandler
              Loaded from C:\eworkspace\bpel-b2\jbpm.bpel\output\jbpm-bpel-1.1.Beta2.jar org/jbpm/bpel/xml/ProblemHandler.class
              Class org.jbpm.bpel.xml.ProblemHandler loaded from ant loader (parentFirst)
              Class java.io.IOException loaded from parent loader (parentFirst)
              Class java.io.InputStream loaded from parent loader (parentFirst)
              Class java.io.FileInputStream loaded from parent loader (parentFirst)
              +Datatype servicegen org.jbpm.bpel.ant.ServiceGeneratorTask
              Adding reference: eclipse.ant.targetVector
              Build sequence for target(s) `run-terminal' is [pack-client, deploy-client, compile-common, compile-test, run-terminal]
              Complete build sequence is [pack-client, deploy-client, compile-common, compile-test, run-terminal, pack-definition, deploy-definition, generate-service, detect-wsgenerator, generate-artifacts, compile-web, pack-web, deploy-web, redeploy-web, all, template.redeploy-web, wscompile, clean, undeploy-web, wstools, run-test, undeploy-client, ]
              pack-client:
              Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
              Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
              Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
              zipfileset: Setup scanner in dir C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\src\main\resources\META-INF with patternSet{ includes: [] excludes: [] }
              zipfileset: Setup scanner in dir C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\output\resources\WEB-INF with patternSet{ includes: [jaxrpc-mapping.xml] excludes: [] }
              zipfileset: Setup scanner in dir C:\entwicklung\jboss-4.0.4.GA\server\default\data\wsdl\atm.war with patternSet{ includes: [] excludes: [] }
               [jar] omitted as META-INF/ is up to date.
               [jar] application-client.xml omitted as META-INF/application-client.xml is up to date.
               [jar] jboss-client.xml omitted as META-INF/jboss-client.xml is up to date.
               [jar] jaxrpc-mapping.xml omitted as META-INF/jaxrpc-mapping.xml is up to date.
               [jar] omitted as META-INF/wsdl/ is up to date.
               [jar] interface omitted as META-INF/wsdl/interface/ is up to date.
               [jar] atm.wsdl omitted as META-INF/wsdl/atm.wsdl is up to date.
               [jar] binding1.wsdl omitted as META-INF/wsdl/binding1.wsdl is up to date.
               [jar] interface\account.wsdl omitted as META-INF/wsdl/interface/account.wsdl is up to date.
               [jar] interface\frontend.wsdl omitted as META-INF/wsdl/interface/frontend.wsdl is up to date.
               [jar] interface\ticket.wsdl omitted as META-INF/wsdl/interface/ticket.wsdl is up to date.
               [jar] service.wsdl omitted as META-INF/wsdl/service.wsdl is up to date.
              deploy-client:
               [copy] Copying 1 file to C:\entwicklung\jboss-4.0.4.GA\server\default\deploy
               [copy] Copying C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\output\atm-client.jar to C:\entwicklung\jboss-4.0.4.GA\server\default\deploy\atm-client.jar
              compile-common:
              fileset: Setup scanner in dir C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\src\main\java with patternSet{ includes: [] excludes: [] }
               [javac] org\jboss\test\ws\JBossTestDeployer.java omitted as org/jboss/test/ws/JBossTestDeployer.class is up to date.
               [javac] org\jboss\test\ws\JBossWSTestDeployer.java omitted as org/jboss/test/ws/JBossWSTestDeployer.class is up to date.
               [javac] org\jboss\test\ws\JBossWSTestHelper.java omitted as org/jboss/test/ws/JBossWSTestHelper.class is up to date.
               [javac] org\jboss\test\ws\JBossWSTestSetup.java omitted as org/jboss/test/ws/JBossWSTestSetup.class is up to date.
              compile-test:
              fileset: Setup scanner in dir C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\src\test\java with patternSet{ includes: [] excludes: [] }
               [javac] org\jbpm\bpel\tutorial\atm\AtmFrontEndTest.java omitted as org/jbpm/bpel/tutorial/atm/AtmFrontEndTest.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\AtmPanel.java omitted as org/jbpm/bpel/tutorial/atm/terminal/AtmPanel.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\AtmTerminal.java omitted as org/jbpm/bpel/tutorial/atm/terminal/AtmTerminal.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\ConnectAction.java omitted as org/jbpm/bpel/tutorial/atm/terminal/ConnectAction.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\DepositAction.java omitted as org/jbpm/bpel/tutorial/atm/terminal/DepositAction.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\DisconnectAction.java omitted as org/jbpm/bpel/tutorial/atm/terminal/DisconnectAction.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\GetBalanceAction.java omitted as org/jbpm/bpel/tutorial/atm/terminal/GetBalanceAction.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\LogOffAction.java omitted as org/jbpm/bpel/tutorial/atm/terminal/LogOffAction.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\LogOnAction.java omitted as org/jbpm/bpel/tutorial/atm/terminal/LogOnAction.class is up to date.
               [javac] org\jbpm\bpel\tutorial\atm\terminal\WithdrawAction.java omitted as org/jbpm/bpel/tutorial/atm/terminal/WithdrawAction.class is up to date.
              run-terminal:
              fileset: Setup scanner in dir C:\entwicklung\jboss-4.0.4.GA\client with patternSet{ includes: [*.jar] excludes: [] }
              fileset: Setup scanner in dir C:\entwicklung\jboss-4.0.4.GA\client with patternSet{ includes: [*.jar] excludes: [] }
               [java] Executing 'C:\Programme\Java\jdk1.5.0_06\jre\bin\java.exe' with arguments:
               [java] '-classpath'
               [java] 'C:\eworkspace\bpel-b2\jbpm.bpel\lib\additional.jars;C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\output\classes;C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\output\classes;C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\src\main\resources;C:\entwicklung\jboss-4.0.4.GA\client\activation.jar;C:\entwicklung\jboss-4.0.4.GA\client\antlr-2.7.6.jar;C:\entwicklung\jboss-4.0.4.GA\client\avalon-framework.jar;C:\entwicklung\jboss-4.0.4.GA\client\commons-httpclient.jar;C:\entwicklung\jboss-4.0.4.GA\client\commons-logging.jar;C:\entwicklung\jboss-4.0.4.GA\client\concurrent.jar;C:\entwicklung\jboss-4.0.4.GA\client\getopt.jar;C:\entwicklung\jboss-4.0.4.GA\client\jacorb.jar;C:\entwicklung\jboss-4.0.4.GA\client\javassist.jar;C:\entwicklung\jboss-4.0.4.GA\client\javax.servlet.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-backport-concurrent.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-common-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-deployment.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-iiop-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-j2ee.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-jaxrpc.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-jsr77-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-remoting.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-saaj.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-serialization.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-srp-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-system-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-transaction-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-xml-binding.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossall-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbosscx-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossha-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossjmx-ant.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossmq-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossretro-rt.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbosssx-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossws14-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jmx-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jmx-invoker-adaptor-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jnp-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\juddisaaj.jar;C:\entwicklung\jboss-4.0.4.GA\client\log4j.jar;C:\entwicklung\jboss-4.0.4.GA\client\logkit.jar;C:\entwicklung\jboss-4.0.4.GA\client\mail.jar;C:\entwicklung\jboss-4.0.4.GA\client\namespace.jar;C:\entwicklung\jboss-4.0.4.GA\client\scout.jar;C:\entwicklung\jboss-4.0.4.GA\client\wsdl4j.jar;C:\entwicklung\jboss-4.0.4.GA\client\xmlsec.jar;C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\output\test\classes'
               [java] 'org.jbpm.bpel.tutorial.atm.terminal.AtmTerminal'
               [java]
               [java] The ' characters around the executable and arguments are
               [java] not part of the command.
              fileset: Setup scanner in dir C:\entwicklung\jboss-4.0.4.GA\client with patternSet{ includes: [*.jar] excludes: [] }
              fileset: Setup scanner in dir C:\entwicklung\jboss-4.0.4.GA\client with patternSet{ includes: [*.jar] excludes: [] }
              Execute:Java13CommandLauncher: Executing 'C:\Programme\Java\jdk1.5.0_06\jre\bin\java.exe' with arguments:
              '-classpath'
              'C:\eworkspace\bpel-b2\jbpm.bpel\lib\additional.jars;C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\output\classes;C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\output\classes;C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\src\main\resources;C:\entwicklung\jboss-4.0.4.GA\client\activation.jar;C:\entwicklung\jboss-4.0.4.GA\client\antlr-2.7.6.jar;C:\entwicklung\jboss-4.0.4.GA\client\avalon-framework.jar;C:\entwicklung\jboss-4.0.4.GA\client\commons-httpclient.jar;C:\entwicklung\jboss-4.0.4.GA\client\commons-logging.jar;C:\entwicklung\jboss-4.0.4.GA\client\concurrent.jar;C:\entwicklung\jboss-4.0.4.GA\client\getopt.jar;C:\entwicklung\jboss-4.0.4.GA\client\jacorb.jar;C:\entwicklung\jboss-4.0.4.GA\client\javassist.jar;C:\entwicklung\jboss-4.0.4.GA\client\javax.servlet.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-backport-concurrent.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-common-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-deployment.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-iiop-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-j2ee.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-jaxrpc.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-jsr77-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-remoting.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-saaj.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-serialization.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-srp-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-system-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-transaction-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jboss-xml-binding.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossall-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbosscx-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossha-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossjmx-ant.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossmq-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossretro-rt.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbosssx-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jbossws14-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jmx-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jmx-invoker-adaptor-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\jnp-client.jar;C:\entwicklung\jboss-4.0.4.GA\client\juddisaaj.jar;C:\entwicklung\jboss-4.0.4.GA\client\log4j.jar;C:\entwicklung\jboss-4.0.4.GA\client\logkit.jar;C:\entwicklung\jboss-4.0.4.GA\client\mail.jar;C:\entwicklung\jboss-4.0.4.GA\client\namespace.jar;C:\entwicklung\jboss-4.0.4.GA\client\scout.jar;C:\entwicklung\jboss-4.0.4.GA\client\wsdl4j.jar;C:\entwicklung\jboss-4.0.4.GA\client\xmlsec.jar;C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\atm\output\test\classes'
              'org.jbpm.bpel.tutorial.atm.terminal.AtmTerminal'
              
              The ' characters around the executable and arguments are
              not part of the command.
               [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)



              • 4. Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?
                kvak_tnt

                For you'r Information (The strange stuff):
                Sometimes - without any change in code - I was able to start the "run-terminal" - then I get another error that tells me that he cannot connect to jbpmbpel-client.

                This is also the same error I have now problems with.
                My codeupdate I mentioned above was successful, but I think it is not the best one, because there seems to be another problem why he cannot find this file although I copied it to the JAVA-Dir.
                Maybe this is the reason for the next error?

                If I try to use a nice tool like my WSDL Analyzer I can work on the WSDL-Files and thats as good as bevore I changed from BPEL beta1 to beta2.

                [java] javax.naming.NameNotFoundException: jbpmbpel-client not bound
                 [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
                 [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
                 [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
                 [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
                 [java] at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
                 [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 [java] at java.lang.reflect.Method.invoke(Method.java:585)
                 [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
                 [java] at sun.rmi.transport.Transport$1.run(Transport.java:153)
                 [java] at java.security.AccessController.doPrivileged(Native Method)
                 [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
                 [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
                 [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
                 [java] at java.lang.Thread.run(Thread.java:595)
                 [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
                 [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
                 [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
                 [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                 [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
                 [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
                 [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
                 [java] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:129)
                 [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)
                


                This stuff will be found in my JBOSS-Console:
                13:08:50,311 INFO [ClientDeployer] Client ENC bound under: jbpmbpel-client
                13:09:10,374 INFO [ClientDeployer] Removing client ENC from: jbpmbpel-client


                So - I hope you can give me some help in this matter...

                Greetings

                Claus

                P.S. In the end I'm wondering wheter I'm the only person who has such problems?
                I think it should be a Tool you could install and use without having such big problems I got every time....

                • 5. Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?
                  kvak_tnt

                  Strange stuff again - nothing changed - now it works without failure - cannot find jbpmbpel-client...

                  Hmmm.

                  Maybe one last note: I have found allready some post to this "problem" in your forum:

                  13:39:07,967 INFO [ClientDeployer] Removing client ENC from: jbpmbpel-client
                  13:39:13,155 INFO [ClientDeployer] Client ENC bound under: jbpmbpel-client
                  13:39:17,795 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.CompositeActivity - this operation breaks ==
                  13:39:18,124 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.CompositeActivity - this operation breaks ==
                  13:39:18,124 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.While - this operation breaks ==
                  13:39:18,155 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.StructuredActivity$Begin - this operation breaks ==
                  13:39:18,155 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.Pick - this operation breaks ==
                  13:39:18,327 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.Scope - this operation breaks ==
                  13:39:18,358 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.variable.def.MessageType - this operation breaks ==
                  13:39:18,389 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.CompositeActivity - this operation breaks ==
                  13:39:18,405 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.StructuredActivity$Begin - this operation breaks ==
                  13:39:18,467 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.variable.def.MessageType - this operation breaks ==
                  

                  But I'm wondering why this is happening with nearly standard options.
                  (The only difference: I'm using MySQL instead of Hibernate.

                  Greetings

                  Claus

                  • 6. Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?
                    yogesharora

                    Hi,

                    I am also getting the same problem.

                    Could you please tell me the steps to solve this problem? What are the changes made by you and which all files you changed?

                    Please help.

                    Thanks,
                    Yogesh

                    • 7. Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?
                      aguizar

                      Yogesh, which problem are you referring to? If it is the ProxyWarnLog messages, just ignore them. They do not interfere with the operation of the product.

                      • 8. Re: BPEL beta2 - JBOSS 4.0.4 - JWSDP?
                        aguizar

                        If the warnings become annoying, you can filter them out in the log4j config file. Look for it under jboss-home/server/default/conf/log4j.xml. Add the following category:

                        <category name="org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog">
                         <priority value="ERROR"/>
                        </category>