[JBoss jBPM] - error deploying a bpel process in jbpm
by mind_mirror2008
I m using jboss4.2.2.GA with jbpm-bpel1.1.1.
I have tried to deploy one of the examples given ---"Hello".
The process definition is deployed correctly.But while testing the process by the generated client
i am getting the error which i am attaching
| <?xml version="1.0" encoding="UTF-8" ?>
| <testsuite errors="2" failures="0" hostname="dchakraborty" name="org.jbpm.bpel.tutorial.hello.HelloTest" tests="2" time="1.625" timestamp="2008-11-06T05:46:22">
| <properties>
| <property name="java.vendor" value="Sun Microsystems Inc." />
| <property name="lib.junit.local" value="../../lib/junit.jar" />
| <property name="lib.dir" value="../../lib" />
| <property name="lib.jaxrpc.api.local" value="../../lib/jaxrpc-api.jar" />
| <property name="sun.java.launcher" value="SUN_STANDARD" />
| <property name="sun.management.compiler" value="HotSpot Client Compiler" />
| <property name="os.name" value="Windows XP" />
| <property name="sun.boot.class.path" value="d:/jboss-4.2.2.GA/lib/endorsed\serializer.jar;d:/jboss-4.2.2.GA/lib/endorsed\xalan.jar;d:/jboss-4.2.2.GA/lib/endorsed\xercesImpl.jar;D:\jdk1.6.0_05\jre\lib\resources.jar;D:\jdk1.6.0_05\jre\lib\rt.jar;D:\jdk1.6.0_05\jre\lib\sunrsasign.jar;D:\jdk1.6.0_05\jre\lib\jsse.jar;D:\jdk1.6.0_05\jre\lib\jce.jar;D:\jdk1.6.0_05\jre\lib\charsets.jar;D:\jdk1.6.0_05\jre\classes" />
| <property name="lib.dom4j.local" value="../../lib/dom4j.jar" />
| <property name="test.reports.dir" value="target/test/reports" />
| <property name="lib.jbpm.identity.jar.local" value="../../lib/jbpm-identity.jar" />
| <property name="javac.target" value="1.4" />
| <property name="sun.desktop" value="windows" />
| <property name="java.vm.specification.vendor" value="Sun Microsystems Inc." />
| <property name="ant.home" value="D:\apache-ant-1.7.0" />
| <property name="java.runtime.version" value="1.6.0_05-b13" />
| <property name="lib.servlet.local" value="../../lib/servlet-api.jar" />
| <property name="ant.file.mapping" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\common\mapping-build.xml" />
| <property name="test.java.dir" value="src/test/java" />
| <property name="lib.commons.collections.local" value="../../lib/commons-collections.jar" />
| <property name="lib.cglib.local" value="../../lib/cglib.jar" />
| <property name="user.name" value="dchakraborty" />
| <property name="lib.jbpm.bpel.jboss405.jar.local" value="../../lib/jbpm-bpel-jboss405.jar" />
| <property name="test.classes.dir" value="target/test/classes" />
| <property name="output.classes.dir" value="target/classes" />
| <property name="javac.deprecation" value="false" />
| <property name="lib.bsh.local" value="../../lib/bsh.jar" />
| <property name="user.language" value="en" />
| <property name="lib.ant.local" value="../../lib/ant-1.6.5.jar" />
| <property name="sun.boot.library.path" value="D:\jdk1.6.0_05\jre\bin" />
| <property name="lib.jbpm.bpel.jar.local" value="../../lib/jbpm-bpel.jar" />
| <property name="ant.file.bpel" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\common\bpel-build.xml" />
| <property name="jboss.server" value="default" />
| <property name="ant.project.name" value="hello" />
| <property name="lib.antlr.local" value="../../lib/antlr-2.7.6.jar" />
| <property name="java.version" value="1.6.0_05" />
| <property name="user.timezone" value="" />
| <property name="resources.dir" value="src/main/resources" />
| <property name="jbpm.bpel.home" value="../.." />
| <property name="software.installation.dir" value="C:\Documents and Settings\dchakraborty" />
| <property name="sun.arch.data.model" value="32" />
| <property name="lib.commons.codec.local" value="../../lib/commons-codec.jar" />
| <property name="java.endorsed.dirs" value="d:/jboss-4.2.2.GA/lib/endorsed" />
| <property name="sun.cpu.isalist" value="" />
| <property name="sun.jnu.encoding" value="Cp1252" />
| <property name="file.encoding.pkg" value="sun.io" />
| <property name="lib.jbpm.bpel.jboss403.jar.local" value="../../lib/jbpm-bpel-jboss403.jar" />
| <property name="file.separator" value="\" />
| <property name="java.specification.name" value="Java Platform API Specification" />
| <property name="lib.wsdl4j.local" value="../../lib/wsdl4j.jar" />
| <property name="java.class.version" value="50.0" />
| <property name="user.country" value="US" />
| <property name="java.home" value="D:\jdk1.6.0_05\jre" />
| <property name="java.vm.info" value="mixed mode" />
| <property name="lib.jaxen.local" value="../../lib/jaxen.jar" />
| <property name="ant.file" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\build.xml" />
| <property name="os.version" value="5.1" />
| <property name="javac.source" value="1.4" />
| <property name="lib.hibernate.local" value="../../lib/hibernate3.jar" />
| <property name="javac.debug" value="true" />
| <property name="lib.commons.httpclient.local" value="../../lib/commons-httpclient.jar" />
| <property name="path.separator" value=";" />
| <property name="output.test.dir" value="target/test" />
| <property name="jwsdp.home" value="d:/SOA_JBoss/jwsdp-2.0" />
| <property name="java.vm.version" value="10.0-b19" />
| <property name="lib.log4j.local" value="../../lib/log4j.jar" />
| <property name="user.variant" value="" />
| <property name="mapping.uptodate" value="true" />
| <property name="web.dir" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\src\main\resources\web" />
| <property name="ant.library.dir" value="D:\apache-ant-1.7.0\lib" />
| <property name="output.dir" value="target" />
| <property name="lib.jbpm.bpel.version" value="1.1.1" />
| <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob" />
| <property name="sun.io.unicode.encoding" value="UnicodeLittle" />
| <property name="lib.xercesimpl.local" value="../../lib/xercesImpl.jar" />
| <property name="awt.toolkit" value="sun.awt.windows.WToolkit" />
| <property name="lib.jbpm.bpel.application.name" value="jbpm-bpel.ear" />
| <property name="bpel.dir" value="src/main/bpel2" />
| <property name="lib.hsqldb.local" value="../../lib/hsqldb.jar" />
| <property name="lib.commons.lang.local" value="../../lib/commons-lang.jar" />
| <property name="ant.file.hello" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\build.xml" />
| <property name="published.wsdl.available" value="true" />
| <property name="user.home" value="C:\Documents and Settings\dchakraborty" />
| <property name="lib.jboss.j2ee.local" value="../../lib/jboss-j2ee.jar" />
| <property name="output.java.dir" value="target/java" />
| <property name="lib.jbpm.bpel.config.local" value="../../lib/jbpm-bpel-config.jar" />
| <property name="java.specification.vendor" value="Sun Microsystems Inc." />
| <property name="java.vendor.url" value="http://java.sun.com/" />
| <property name="java.library.path" value="D:\jdk1.6.0_05\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\jdk1.6.0_05\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.4.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Java_latest;C:\Program Files\Common Files\Adobe\AGL;D:\apache-ant-1.7.0\bin;D:\SOA_JBoss\jwsdp-2.0\jwsdp-shared\bin" />
| <property name="jboss.home" value="d:/jboss-4.2.2.GA" />
| <property name="lib.jbpm.jpdl.jar.local" value="../../lib/jbpm-jpdl.jar" />
| <property name="java.vm.vendor" value="Sun Microsystems Inc." />
| <property name="module.name" value="hello" />
| <property name="jboss.version" value="4.2.2.GA" />
| <property name="java.runtime.name" value="Java(TM) SE Runtime Environment" />
| <property name="lib.jboss.saaj.local" value="../../lib/jboss-saaj.jar" />
| <property name="lib.servlet-jsp.local" value="../../lib/jsp-api.jar" />
| <property name="ant.version" value="Apache Ant version 1.7.0 compiled on December 13 2006" />
| <property name="java.class.path" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\config;d:\jboss-4.2.2.GA\client\activation.jar;d:\jboss-4.2.2.GA\client\antlr.jar;d:\jboss-4.2.2.GA\client\avalon-framework.jar;d:\jboss-4.2.2.GA\client\commons-codec.jar;d:\jboss-4.2.2.GA\client\commons-httpclient.jar;d:\jboss-4.2.2.GA\client\commons-logging.jar;d:\jboss-4.2.2.GA\client\concurrent.jar;d:\jboss-4.2.2.GA\client\ejb3-persistence.jar;d:\jboss-4.2.2.GA\client\getopt.jar;d:\jboss-4.2.2.GA\client\hibernate-annotations.jar;d:\jboss-4.2.2.GA\client\hibernate-client.jar;d:\jboss-4.2.2.GA\client\jacorb.jar;d:\jboss-4.2.2.GA\client\javassist.jar;d:\jboss-4.2.2.GA\client\jaxb-api.jar;d:\jboss-4.2.2.GA\client\jaxb-impl.jar;d:\jboss-4.2.2.GA\client\jaxb-xjc.jar;d:\jboss-4.2.2.GA\client\jaxws-rt.jar;d:\jboss-4.2.2.GA\client\jaxws-tools.jar;d:\jboss-4.2.2.GA\client\jboss-annotations-ejb3.jar;d:\jboss-4.2.2.GA\client\jboss-aop-jdk50-client.jar;d:\jboss-4.2.2.GA\client\jboss-aspect-jdk50-client.jar;d:\jboss-4.2.2.GA\client\jboss-client.jar;d:\jboss-4.2.2.GA\client\jboss-common-client.jar;d:\jboss-4.2.2.GA\client\jboss-deployment.jar;d:\jboss-4.2.2.GA\client\jboss-ejb3-client.jar;d:\jboss-4.2.2.GA\client\jboss-ejb3x.jar;d:\jboss-4.2.2.GA\client\jboss-iiop-client.jar;d:\jboss-4.2.2.GA\client\jboss-j2ee.jar;d:\jboss-4.2.2.GA\client\jboss-jaxrpc.jar;d:\jboss-4.2.2.GA\client\jboss-jaxws.jar;d:\jboss-4.2.2.GA\client\jboss-jsr77-client.jar;d:\jboss-4.2.2.GA\client\jboss-remoting.jar;d:\jboss-4.2.2.GA\client\jboss-saaj.jar;d:\jboss-4.2.2.GA\client\jboss-serialization.jar;d:\jboss-4.2.2.GA\client\jboss-srp-client.jar;d:\jboss-4.2.2.GA\client\jboss-system-client.jar;d:\jboss-4.2.2.GA\client\jboss-transaction-client.jar;d:\jboss-4.2.2.GA\client\jboss-xml-binding.jar;d:\jboss-4.2.2.GA\client\jbossall-client.jar;d:\jboss-4.2.2.GA\client\jbosscx-client.jar;d:\jboss-4.2.2.GA\client\jbossha-client.jar;d:\jboss-4.2.2.GA\client\jbossjmx-ant.jar;d:\jboss-4.2.2.GA\client\jbossmq-client.jar;d:\jboss-4.2.2.GA\client\jbosssx-client.jar;d:\jboss-4.2.2.GA\client\jbossws-client.jar;d:\jboss-4.2.2.GA\client\jbossws-common.jar;d:\jboss-4.2.2.GA\client\jbossws-framework.jar;d:\jboss-4.2.2.GA\client\jbossws-jboss42.jar;d:\jboss-4.2.2.GA\client\jbossws-spi.jar;d:\jboss-4.2.2.GA\client\jmx-client.jar;d:\jboss-4.2.2.GA\client\jmx-invoker-adaptor-client.jar;d:\jboss-4.2.2.GA\client\jnp-client.jar;d:\jboss-4.2.2.GA\client\log4j.jar;d:\jboss-4.2.2.GA\client\logkit.jar;d:\jboss-4.2.2.GA\client\mail.jar;d:\jboss-4.2.2.GA\client\policy.jar;d:\jboss-4.2.2.GA\client\scout.jar;d:\jboss-4.2.2.GA\client\servlet-api.jar;d:\jboss-4.2.2.GA\client\stax-api.jar;d:\jboss-4.2.2.GA\client\stax-ex.jar;d:\jboss-4.2.2.GA\client\streambuffer.jar;d:\jboss-4.2.2.GA\client\trove.jar;d:\jboss-4.2.2.GA\client\wsdl4j.jar;d:\jboss-4.2.2.GA\client\wstx.jar;d:\jboss-4.2.2.GA\client\xmlsec.jar;D:\SOA_JBoss\jbpm-bpel-1.1.1\lib\junit.jar;D:\SOA_JBoss\jbpm-bpel-1.1.1\lib\jbpm-bpel-tools.jar;D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\target\classes;D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\target\test\classes;D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello;D:\jdk1.6.0_05\lib;D:\jdk1.6.0_05\jre\lib\rt.jar;D:\jboss-4.2.2.GA\server\onereview_analysis\lib\jbossall-client.jar;D:\jboss-4.2.2.GA\server\onereview_analysis\lib\rasuser-core.jar;D:\jboss-4.2.2.GA\server\onereview_analysis\lib\commons-logging-1.0.4.jar;D:\jboss-4.2.2.GA\server\onereview_analysis\lib\commons-logging.jar;D:\apache-ant-1.7.0\lib\ant-launcher.jar;D:\apache-ant-1.7.0\lib\ant.jar;D:\apache-ant-1.7.0\lib\ant-junit.jar" />
| <property name="client.dir" value="src/main/resources/client" />
| <property name="lib.xml.apis.local" value="../../lib/xml-apis.jar" />
| <property name="java.vm.specification.name" value="Java Virtual Machine Specification" />
| <property name="lib.jbpm.bpel.jboss420.jar.local" value="../../lib/jbpm-bpel-jboss420.jar" />
| <property name="java.vm.specification.version" value="1.0" />
| <property name="sun.os.patch.level" value="Service Pack 2" />
| <property name="sun.cpu.endian" value="little" />
| <property name="java.dir" value="src/main/java" />
| <property name="lib.jbpm.bpel.console.file" value="jbpm-bpel.war" />
| <property name="java.io.tmpdir" value="C:\DOCUME~1\DCHAKR~1\LOCALS~1\Temp\" />
| <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi" />
| <property name="jboss.wsdl.dir" value="d:/jboss-4.2.2.GA/server/default/data/wsdl/hello.war" />
| <property name="lib.jbpm.bpel.enterprise.file" value="jbpm-bpel-enterprise.jar" />
| <property name="ant.file.test" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\common\test-build.xml" />
| <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment" />
| <property name="os.arch" value="x86" />
| <property name="common.dir" value="../../examples/common" />
| <property name="java.ext.dirs" value="D:\jdk1.6.0_05\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext" />
| <property name="user.dir" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\target" />
| <property name="lib.jbpm.jpdl.version" value="3.2.3" />
| <property name="lib.commons.logging.local" value="../../lib/commons-logging.jar" />
| <property name="line.separator" value="
| " />
| <property name="lib.asm.local" value="../../lib/asm.jar" />
| <property name="java.vm.name" value="Java HotSpot(TM) Client VM" />
| <property name="basedir" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello" />
| <property name="ant.java.version" value="1.6" />
| <property name="config.dir" value="../../config" />
| <property name="ant.core.lib" value="D:\apache-ant-1.7.0\lib\ant.jar" />
| <property name="output.web.dir" value="target/resources/web" />
| <property name="file.encoding" value="Cp1252" />
| <property name="lib.jbpm.bpel.tools.jar.local" value="../../lib/jbpm-bpel-tools.jar" />
| <property name="lib.jbpm.bpel.container.name" value="jbpm-bpel-container.jar" />
| <property name="java.specification.version" value="1.6" />
| <property name="lib.commons.fileupload.local" value="../../lib/commons-fileupload.jar" />
| <property name="jboss.server.dir" value="d:/jboss-4.2.2.GA/server/default" />
| </properties>
| <testcase classname="org.jbpm.bpel.tutorial.hello.HelloTest" name="testSayHello_proxy" time="0.89">
| <error message="Call invocation failed; nested exception is:
| java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage" type="java.rmi.RemoteException">java.rmi.RemoteException: Call invocation failed; nested exception is:
| java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536)
| at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
| at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:151)
| at $Proxy3.sayHello(Unknown Source)
| at org.jbpm.bpel.tutorial.hello.HelloTest.testSayHello_proxy(HelloTest.java:47)
| at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
| at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
| at junit.extensions.TestSetup.run(TestSetup.java:23)
| Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
| at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:156)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:289)
| at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)
| </error>
| </testcase>
| <testcase classname="org.jbpm.bpel.tutorial.hello.HelloTest" name="testSayHello_dii" time="0.11">
| <error message="Call invocation failed; nested exception is:
| java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage" type="java.rmi.RemoteException">java.rmi.RemoteException: Call invocation failed; nested exception is:
| java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536)
| at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
| at org.jbpm.bpel.tutorial.hello.HelloTest.testSayHello_dii(HelloTest.java:57)
| at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
| at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
| at junit.extensions.TestSetup.run(TestSetup.java:23)
| Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
| at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:156)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:289)
| at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)
| </error>
| </testcase>
| <system-out><![CDATA[11:16:22,875 DEBUG [SecurityAssociation] Using ThreadLocal: false
| ]]></system-out>
| <system-err><![CDATA[]]></system-err>
| </testsuite>
|
I cannot understand this exception.could anyone pls help me out
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187182#4187182
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187182
17 years, 5 months
[Installation, Configuration & DEPLOYMENT] - JBOSS on MAC OS X leopard
by taysay
Good day all,
I am a Java developer who has being running java applications(j2se/j2ee) on the windows platform, though I am new to the MAC OS X world, I however find it quite interesting, I have a MacBook running version 10.5.4 I have eclipse and Netbeans running beautifully as well as MySql, I however have issues running JBOSS this has given me lots of trouble. To that effect I am posting this lenghty jboss console messages for you all to please look through and give me help which I am in dire need of
taysay-shaguys-macbook:jboss taysayshaguy$ cd /Applications/jboss .DS_Store jboss-4.2.3.GA/
taysay-shaguys-macbook:jboss taysayshaguy$ cd /Applications/jboss/jboss-4.2.3.GA/bin
taysay-shaguys-macbook:bin taysayshaguy$ run.sh
-bash: run.sh: command not found
taysay-shaguys-macbook:bin taysayshaguy$ ./run.sh
./run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument
run.sh: Could not set maximum file descriptor limit: unlimited
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Applications/jboss/jboss-4.2.3.GA
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: /Applications/jboss/jboss-4.2.3.GA/bin/run.jar
=========================================================================
13:43:01,939 INFO [Server] Starting JBoss (MX MicroKernel)...
13:43:01,939 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
13:43:01,944 INFO [Server] Home Dir: /Applications/jboss/jboss-4.2.3.GA
13:43:01,944 INFO [Server] Home URL: file:/Applications/jboss/jboss-4.2.3.GA/
13:43:01,945 INFO [Server] Patch URL: null
13:43:01,945 INFO [Server] Server Name: default
13:43:01,945 INFO [Server] Server Home Dir: /Applications/jboss/jboss-4.2.3.GA/server/default
13:43:01,946 INFO [Server] Server Home URL: file:/Applications/jboss/jboss-4.2.3.GA/server/default/
13:43:01,946 INFO [Server] Server Log Dir: /Applications/jboss/jboss-4.2.3.GA/server/default/log
13:43:01,946 INFO [Server] Server Temp Dir: /Applications/jboss/jboss-4.2.3.GA/server/default/tmp
13:43:01,946 INFO [Server] Root Deployment Filename: jboss-service.xml
13:43:02,179 INFO [ServerInfo] Java version: 1.5.0_16,Apple Inc.
13:43:02,180 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_16-133,Apple Inc.
13:43:02,180 INFO [ServerInfo] OS-System: Mac OS X 10.5.4,i386
13:43:02,465 INFO [Server] Core system initialized
OTHER TYPICAL JBOSS MESSAGE
I Depend On:
jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
ObjectName: jboss.web.deployment:war=web-console.war,id=1092359086
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
I Depend On:
jboss.admin:service=PluginManager
ObjectName: jboss.web.deployment:war=invoker.war,id=65268563
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
ObjectName: jboss.web.deployment:war=ROOT.war,id=-2088321142
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=-738882883
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)
13:43:29,049 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
13:43:29,056 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
13:43:29,058 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 27s:110ms
at this point calling the URL in my browser returns no response at all infact the brower just stares at me.
2, At the same time when I try to update my jdk with JavaForMacOSX10.5Update2.dmg from apple all I get is 1.5.0_16 is that same for 1.6.x
I will apprecaite your help very much thank you and sorry for the trouble.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187180#4187180
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187180
17 years, 5 months
[Beginners Corner] - ERROR [org.jboss.deployment.MainDeployer] Could not initiali
by AlyssaK
Hi everyone,
I installed JBoss and when i try to test the installation by executing run.bat the following error occurs. Any ideas?? I'm not sure where to start to solve the error
Thanks, Alyssa
| ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/C:/dev/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/
| java.lang.NoClassDefFoundError: javax/ejb/Stateless
| at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42)
| at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:219)
| at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy34.accepts(Unknown Source)
| at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:1078)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:857)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:595)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187177#4187177
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187177
17 years, 5 months
[JBoss jBPM] - couldn't find process definition 'helloworld'
by wuxi7227001
Hello,everyone
Im a JBPM newbie, I want to set up a project struts2+springmodule jbpm+hibernate+oracle and run a jbpm helloworld. my configuration is as below:
applicationContext.xml:
| <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" lazy-init="false">
| <property name="locations">
| <list>
| <value>classpath*:conf/jdbc.properties</value>
| <value>classpath*:hibernate.properties</value>
| </list>
| </property>
| </bean>
|
|
| <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
| <property name="driverClassName" value="${jdbc.driverClassName}" />
| <property name="url" value="${jdbc.url}" />
| <property name="username" value="${jdbc.username}" />
| <property name="password" value="${jdbc.password}" />
| </bean>
|
| <!--Hibernate SessionFatory-->
| <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
| <property name="dataSource" ref="dataSource" />
| <property name="mappingDirectoryLocations">
| <list>
| <value>classpath*:/com/indexerstudio/webapp/plugins/security/domain/hbm/</value>
| </list>
| </property>
| <property name="hibernateProperties">
| <props>
| <prop key="hibernate.dialect">${hibernate.dialect}</prop>
| <prop key="hibernate.show_sql">${hibernate.show_sql}</prop>
| <prop key="hibernate.use_sql_comments">true</prop>
| <prop key="hibernate.connection.useUnicode">true</prop>
| <prop key="hibernate.connection.defaultNChar">true</prop>
| <prop key="hibernate.connection.characterEncoding">UTF-8</prop>
| <prop key="hibernate.jdbc.use_streams_for_binary">true</prop>
| <prop key="hibernate.cache.use_query_cache">${hibernate.cache.use_query_cache}</prop>
| <prop key="hibernate.cache.provider_class">${hibernate.cache.provider_class}</prop>
| </props>
| </property>
| </bean>
|
| <!--Hibernate TransactionManager-->
| <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
| <property name="sessionFactory" ref="sessionFactory" />
| </bean>
|
| <!-- helper for reading jBPM process definitions -->
| <bean id="helloworld" class="org.springmodules.workflow.jbpm31.definition.ProcessDefinitionFactoryBean">
| <property name="definitionLocation" value="classpath:helloworld/processdefinition.xml" />
| </bean>
|
| <!-- jBPM configuration -->
| <bean id="jbpmConfiguration" class="org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean">
| <property name="sessionFactory" ref="sessionFactory" />
| <property name="configuration" value="classpath:jbpm.cfg.xml" />
| <property name="processDefinitions">
| <list>
| <ref local="helloworld" />
| </list>
| </property>
| <!-- property name="createSchema" value="true" / -->
| <!-- property name="processDefinitionsResources">
| <list>
| <value>classpath:/org/springmodules/workflow/jbpm31/someOtherWorkflow.xml</value>
| </list>
| </property -->
| </bean>
|
| <!-- jBPM template -->
| <bean id="jbpmTemplate" class="org.springmodules.workflow.jbpm31.JbpmTemplate">
| <constructor-arg index="0" ref="jbpmConfiguration" />
| <constructor-arg index="1" ref="helloworld" />
| </bean>
|
| <!-- EhCache Manager -->
| <bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
| <property name="configLocation">
| <value>classpath:conf/ehcache.xml</value>
| </property>
| </bean>
|
jbpm.cfg.xml:
| <jbpm-configuration>
| <jbpm-context>
| <service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory"/>
| <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory"/>
| <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory"/>
| <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory"/>
| <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory"/>
| <service name="tx" factory="org.jbpm.tx.TxServiceFactory"/>
| </jbpm-context>
|
| <string name="resource.business.calendar" value="org/jbpm/calendar/jbpm.business.calendar.properties"/>
| <string name="resource.default.modules" value="org/jbpm/graph/def/jbpm.default.modules.properties"/>
| <string name="resource.converter" value="org/jbpm/db/hibernate/jbpm.converter.properties"/>
| <string name="resource.action.types" value="org/jbpm/graph/action/action.types.xml"/>
| <string name="resource.node.types" value="org/jbpm/graph/node/node.types.xml"/>
| <string name="resource.parsers" value="org/jbpm/jpdl/par/jbpm.parsers.xml"/>
| <string name="resource.varmapping" value="org/jbpm/context/exe/jbpm.varmapping.xml"/>
|
| <bean name="jbpm.task.instance.factory" class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl"
| singleton="true"/>
| <bean name="jbpm.variable.resolver" class="org.jbpm.jpdl.el.impl.JbpmVariableResolver" singleton="true"/>
| <long name="jbpm.msg.wait.timout" value="5000" singleton="true"/>
| </jbpm-configuration>
|
I get error as below when app startup :
org.jbpm.JbpmException: couldn't find process definition 'helloworld'
at org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:158)
at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:67)
at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)
why does it queries the database for the latest version of a process definition with the given name? why not use xml file? thanks a lot!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187172#4187172
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187172
17 years, 5 months
[Clustering/JBoss] - Re: how to share file system folder accoss Jboss Application
by chicken
"noelo" wrote : Some suggestions
|
| If its properties that you want to load you could look at the Jboss property-service.
| It also might be an idea to bind the data to jndi and look it up in your apps..
| Alternatively you could look at look at using jboss cache.
|
| regards
| Noel
Thank for your suggestions but perhaps you misunderstood what i mean.
my problem is
- my application stores and access data in a folder ( for example: I use a folder to store all uploaded data C:\\upload)
- if there are two nodes in my clustering environment, for ex: node A and node B, there will be two upload folder, one in node A and another in node B. So I could not sure that data in node A and node B is the same.
- to solve this problem, I plan to create a share folder in the network and All nodes in the cluster will share the same data folder.
- because, I don't have any experience in this problem so I am not sure that solution is good enough (can all nodes concurrently access for reading and writing data in one share folder?). can I just use a normal share folder as I do in Windows system or I have to use special devices or other softwares?
- any one who have experience in this problem could give me your real-practice solution?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187150#4187150
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187150
17 years, 5 months