Hello Alex,

Thanks for your reply. Im online again. Thanks for your advice. 

I didn't provide the  jnp-client.jar in the classpath. Additionally my system 
was not setup well. I haved removed my old configuration and installed the 
needed programs (Java-1.5, Ant, jwsdp, ....) again and it's work well. I can 
deploy the hello Example successfully. But now that the jBoss server tell me my 
process have been succefully deployed:

12:10:28,775 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.context.def.VariableAccess]; using defaults.
  | 12:10:28,775 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Action]; using defaults.
  | 12:10:28,785 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.bpel.data.exe.MessageVariableInstance]; using defaults.
  | 12:10:28,785 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.bpel.data.def.VariableDefinition]; using defaults.
  | 12:10:28,785 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.bpel.exe.Fault]; using defaults.
  | 12:10:28,895 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.bpel.service.exe.CorrelationSetInstance]; using defaults.
  | 12:10:28,895 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.bpel.service.def.CorrelationSetDefinition]; using defaults.
  | 12:10:30,057 INFO  [SessionFactoryObjectFactory] Not binding factory to 
JNDI, no JNDI name configured
  | 12:10:30,057 INFO  [SessionFactoryImpl] Checking 0 named queries
  | 12:10:30,057 INFO  [JbpmService] binding JbpmSessionFactory 
'java:/jbpm/BpelSessionFactory' into JNDI...
  | 12:10:30,217 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
  | 12:10:30,728 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jms/jms-ra.rar
  | 12:10:31,288 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/mail-ra.rar
  | 12:10:32,049 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI 
name 'java:DefaultDS'
  | 12:10:32,480 INFO  [A] Bound to JNDI name: queue/A
  | 12:10:32,480 INFO  [B] Bound to JNDI name: queue/B
  | 12:10:32,480 INFO  [C] Bound to JNDI name: queue/C
  | 12:10:32,480 INFO  [D] Bound to JNDI name: queue/D
  | 12:10:32,480 INFO  [ex] Bound to JNDI name: queue/ex
  | 12:10:32,510 INFO  [testTopic] Bound to JNDI name: topic/testTopic
  | 12:10:32,510 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
  | 12:10:32,510 INFO  [testDurableTopic] Bound to JNDI name: 
topic/testDurableTopic
  | 
  | 12:10:32,510 INFO  [testQueue] Bound to JNDI name: queue/testQueue
  | 12:10:32,560 INFO  [UILServerILService] JBossMQ UIL service available at : 
/0.0.0.0:8093
  | 12:10:32,600 INFO  [DLQ] Bound to JNDI name: queue/DLQ
  | 12:10:32,811 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to 
JNDI name 'java:JmsXA'
  | 12:10:32,881 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, 
warUrl=.../deploy/jmx-console.war/
  | 12:10:33,031 INFO  [EARDeployer] Init J2EE application: 
file:/C:/OrdnerHyrarchie/MyCourses/Diplomarbeit/KOM/jBPM/Engine/jBossAS-4.0.3SP1/server/default/deploy/hello-application.ear
  | 12:10:33,291 INFO  [ClientDeployer] Client ENC bound under: hello-client
  | 12:10:33,301 INFO  [TomcatDeployer] deploy, ctxPath=/hello, 
warUrl=.../tmp/deploy/tmp60829hello-application.ear-contents/hello-web-exp.war/
  | 12:10:37,387 INFO  [[/hello]] messagerServlet: BPEL application started: 
helloWorld
  | 12:10:37,668 INFO  [WSDLFilePublisher] WSDL published to: 
file:/C:/OrdnerHyrarchie/MyCourses/Diplomarbeit/KOM/jBPM/Engine/jBossAS-4.0.3SP1/server/default/data/wsdl/hello-application.ear/hello-web.war/service.wsdl
  | 12:10:37,818 INFO  [AxisService] WSDD published to: 
C:\OrdnerHyrarchie\MyCourses\Diplomarbeit\KOM\jBPM\Engine\jBossAS-4.0.3SP1\server\default\data\wsdl\hello-application.ear\hello-web.war\callerPort.wsdd
  | 12:10:38,389 INFO  [AxisService] Web Service deployed: 
http://Bertrand:8080/hello/caller
  | 12:10:38,399 INFO  [EARDeployer] Started J2EE application: 
file:/C:/OrdnerHyrarchie/MyCourses/Diplomarbeit/KOM/jBPM/Engine/jBossAS-4.0.3SP1/server/default/deploy/hello-application.ear
  | 12:10:38,479 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-8080
  | 12:10:38,609 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
  | 12:10:38,619 INFO  [JkMain] Jk running ID=0 time=0/40  config=null
  | 12:10:38,629 INFO  [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: 
CVSTag=JBoss.


Running the Junit-Test (Running Ant with the Windows CMD-Tool in the 
{JBPM.BPEL.HOME}/doc/example/hello ) give some strange Error i can't analyse:

C:\OrdnerHyrarchie\MyCourses\Diplomarbeit\KOM\jBPM\Engine\jbpm-bpel-1.0-alpha4\doc\examples\hello>ant
 run-test
  | Buildfile: build.xml
  | 
  | compile-test:
  | 
  | run-test:
  |     [junit] Testsuite: org.jbpm.bpel.tutorial.hello.HelloTest
  |     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2,824 sec
  | 
  |     [junit] Testcase: 
testSayHello(org.jbpm.bpel.tutorial.hello.HelloTest):Caused an ERROR
  |     [junit] (500)Internal Server Error
  |     [junit] AxisFault
  |     [junit]  faultCode: {http://xml.apache.org/axis/}HTTP
  |     [junit]  faultSubcode:
  |     [junit]  faultString: (500)Internal Server Error
  |     [junit]  faultActor:
  |     [junit]  faultNode:
  |     [junit]  faultDetail:
  |     [junit]     {}string: return code:  500
  |     [junit] <html><head><title>Apache Tomcat/5.5 - Error repor
  | t</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color
  | :white;background-color:#525D76;font-size:22px;} H2 
{font-family:Tahoma,Arial,sa
  | ns-serif;color:white;background-color:#525D76;font-size:16px;} H3 
{font-family:T
  | 
ahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BOD
  | Y {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B {f
  | ont-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{fon
  | 
t-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
  | {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
  |  </head><body><h1>HTTP Status 500 - </h1><HR size=&qu
  | ot;1" noshade="noshade"><p><b>type</b> Excep
  | tion report</p><p><b>message</b> <u></u><
  | /p><p><b>description</b> <u>The server encountered an
  |  internal error () that prevented it from fulfilling this request.</u><
  | /p><p><b>exception</b> <pre>javax.servlet.ServletExce
  | ption: Servlet execution threw an exception
  |     [junit]     
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  |     [junit] </pre></p><p><b>root cause</b> 
<pre>java.lang.NoSuchMethodError: 
  | org.apache.commons.lang.StringUtils.isWhitespace(Ljava/lang/String;)Z
  |     [junit]     
org.jbpm.bpel.xml.util.XmlUtil.copyChildNodes(XmlUtil.java:700)
  |     [junit]     org.jbpm.bpel.xml.util.XmlUtil.copy(XmlUtil.java:623)
  |     [junit]     
org.jbpm.bpel.service.messager.PortHandler.processResponse(PortHandler.java:495)
  |     [junit]     
org.jbpm.bpel.service.messager.PortHandler.handleResponse(PortHandler.java:248)
  |     [junit]     
org.jboss.webservice.handler.HandlerWrapper.handleResponse(HandlerWrapper.java:127)
  |     [junit]     
org.jboss.webservice.handler.HandlerChainBaseImpl.handleResponse(HandlerChainBaseImpl.java:279)
  |     [junit]     
org.jboss.webservice.handler.ServerHandlerChain.handleResponse(ServerHandlerChain.java:83)
  |     [junit]     
org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(InvokerProviderJSE.java:117)
  |     [junit]     
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
  |     [junit]     
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
  |     [junit]     
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  |     [junit]     org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  |     [junit]     org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
  |     [junit]     
org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
  |     [junit]     
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
  |     [junit]     
org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
  |     [junit]     
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
  |     [junit]     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  |     [junit]     
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
  |     [junit]     javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |     [junit]     
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  |     [junit] </pre></p><p><b>note</b> <u>The
  | full stack trace of the root cause is available in the Apache Tomcat/5.5 
logs.&l
  | t;/u></p><HR size="1" noshade="noshade"><h
  | 3>Apache Tomcat/5.5</h3></body></html>
  | 
  |     [junit] org.jboss.axis.AxisFault: (500)Internal Server Error
  |     [junit]     at 
org.jboss.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:717)
  |     [junit]     at 
org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:136)
  |     [junit]     at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  |     [junit]     at 
org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  |     [junit]     at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
  |     [junit]     at 
org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128)
  |     [junit]     at org.jboss.axis.client.Call.invokeEngine(Call.java:3079)
  |     [junit]     at org.jboss.axis.client.Call.invoke(Call.java:3064)
  |     [junit]     at org.jboss.axis.client.Call.invoke(Call.java:2652)
  |     [junit]     at org.jboss.axis.client.Call.invoke(Call.java:2561)
  |     [junit]     at org.jboss.axis.client.Call.invokeInternal(Call.java:1982)
  |     [junit]     at org.jboss.axis.client.Call.invoke(Call.java:1920)
  |     [junit]     at 
org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
  |     [junit]     at 
org.jboss.axis.client.AxisClientProxy.invokeSEIMethod(AxisClientProxy.java:286)
  |     [junit]     at 
org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:177)
  |     [junit]     at $Proxy3.sayHello(Unknown Source)
  |     [junit]     at 
org.jbpm.bpel.tutorial.hello.HelloTest.testSayHello(HelloTest.java:32)
  | 
  | 
  |     [junit] Test org.jbpm.bpel.tutorial.hello.HelloTest FAILED
  | 
  | BUILD SUCCESSFUL
  | Total time: 3 seconds
  | /code]
  | 
  | And the JBoss-server responses with:
  | 
  | 
  | 
  | 12:16:22,353 INFO  [WSDLFilePublisher] WSDL published to: 
file:/C:/OrdnerHyrarchie/MyCourses/Diplomarbeit/KOM/jBPM/Engine/jBossAS-4.0.3SP1/server/default/data/wsdl/hello-application.ear/hello-web.war/service.wsdl
  |   | 12:16:22,483 INFO  [AxisService] WSDD published to: 
C:\OrdnerHyrarchie\MyCourses\Diplomarbeit\KOM\jBPM\Engine\jBossAS-4.0.3SP1\server\default\data\wsdl\hello-ap
  |   | plication.ear\hello-web.war\callerPort.wsdd
  |   | 12:16:22,944 INFO  [AxisService] Web Service deployed: 
http://Bertrand:8080/hello/caller
  |   | 12:16:22,964 INFO  [EARDeployer] Started J2EE application: 
file:/C:/OrdnerHyrarchie/MyCourses/Diplomarbeit/KOM/jBPM/Engine/jBossAS-4.0.3SP1/server/default/deploy/hello-application.ear12:16:23,034
 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
  |   | 12:16:23,164 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
  |   | 12:16:23,184 INFO  [JkMain] Jk running ID=0 time=0/40  config=null
  |   | 12:16:23,194 INFO  [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: 
CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 35s:501ms
  |   | 12:29:08,515 ERROR [[callerServlet]] Servlet.service() for servlet 
callerServlet threw exception
  |   | java.lang.NoSuchMethodError: 
org.apache.commons.lang.StringUtils.isWhitespace(Ljava/lang/String;)Z
  |   |         at 
org.jbpm.bpel.xml.util.XmlUtil.copyChildNodes(XmlUtil.java:700)
  |   |         at org.jbpm.bpel.xml.util.XmlUtil.copy(XmlUtil.java:623)
  |   |         at 
org.jbpm.bpel.service.messager.PortHandler.processResponse(PortHandler.java:495)
  |   |         at 
org.jbpm.bpel.service.messager.PortHandler.handleResponse(PortHandler.java:248)
  |   |         at 
org.jboss.webservice.handler.HandlerWrapper.handleResponse(HandlerWrapper.java:127)
  |   |         at 
org.jboss.webservice.handler.HandlerChainBaseImpl.handleResponse(HandlerChainBaseImpl.java:279)
  |   |         at 
org.jboss.webservice.handler.ServerHandlerChain.handleResponse(ServerHandlerChain.java:83)
  |   |         at 
org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(InvokerProviderJSE.java:117)
  |   |         at 
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
  |   |         at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
  |   |         at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  |   |         at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  |   |         at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
  |   |         at 
org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
  |   | 
  |   |         at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
  |   |         at 
org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
  |   | 
  |   |         at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
  |   |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  |   |         at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
  |   |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |   |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |   |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |   |         at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  |   |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |   |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |   |         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  |   |         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  |   |         at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  |   |         at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  |   |         at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  |   |         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |   |         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |   |         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  |   |         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  |   |         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  |   |         at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  |   |         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |   |         at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |   |         at java.lang.Thread.run(Thread.java:595).
  | 
  | I have tried to use eclipse-3.1 to deploy the Hello process and every think 
works well till the  ant run-test I become the following Error :
  | 
  | Buildfile: 
C:\OrdnerHyrarchie\MyCourses\Diplomarbeit\KOM\jBPM\Engine\jbpm-bpel-1.0-alpha4\doc\examples\hello\build.xml
  |   | compile-test:
  |   | run-test:
  |   | 
  |   | BUILD FAILED
  |   | 
C:\OrdnerHyrarchie\MyCourses\Diplomarbeit\KOM\jBPM\Engine\jbpm-bpel-1.0-alpha4\doc\examples\hello\build.xml:224:
 Could not create task or type of type: junit.
  |   | 
  |   | Ant could not find the task or a class this task relies upon.
  |   | 
  |   | This is common and has a number of causes; the usual 
  |   | solutions are to read the manual pages then download and
  |   | install needed JAR files, or fix the build file: 
  |   |  - You have misspelt 'junit'.
  |   |    Fix: check your spelling.
  |   |  - The task needs an external JAR file to execute
  |   |      and this is not found at the right place in the classpath.
  |   |    Fix: check the documentation for dependencies.
  |   |    Fix: declare the task.
  |   |  - The task is an Ant optional task and the JAR file and/or libraries
  |   |      implementing the functionality were not found at the time you
  |   |      yourself built your installation of Ant from the Ant sources.
  |   |    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
  |   |      task and make sure it contains more than merely a 
META-INF/MANIFEST.MF.
  |   |      If all it contains is the manifest, then rebuild Ant with the 
needed
  |   |      libraries present in ${ant.home}/lib/optional/ , or alternatively,
  |   |      download a pre-built release version from apache.org
  |   |  - The build file was written for a later version of Ant
  |   |    Fix: upgrade to at least the latest release version of Ant
  |   |  - The task is not an Ant core or optional task 
  |   |      and needs to be declared using <taskdef>.
  |   |  - You are attempting to use a task defined using 
  |   |     <presetdef> or <macrodef> but have spelt wrong or not 
  |   |    defined it at the point of use
  |   | 
  |   | Remember that for JAR files to be visible to Ant tasks implemented
  |   | in ANT_HOME/lib, the files must be in the same directory or on the
  |   | classpath
  |   | 
  |   | Please neither file bug reports on this problem, nor email the
  |   | Ant mailing lists, until all of these causes have been explored,
  |   | as this is not an Ant bug.
  |   | 
  |   | Total time: 1 second
  |   | 
  | 
  | I tried to fix this like described in the FAQ by copying the 
junit-2.8.1.jar and the clover.jar to the {ANT_HOME}/lib and put them on the 
classpath. Additionally on eclipse Project -> properties -> Java Build Path -> 
.... -> (Hope you unterstand what i mean.) 
  | But it doesn't solve the problem with eclipse and i leave this issues.
  | 
  | Know i need any way to talk to my process by sending a String message in a 
SOAP-Request. This could be done using the Junit test provided with the hello 
example. 
  | 
  | Later i intend to analyse the JMS (Java Message Service) and correlation  
used in JBPM to send the right message to the correct processinstance. There 
for i'll need to send more SOAP-Messages (With differents String in the 
SOAP-Body) to the deployed prozess and analyse which information is persisted 
to the DB.
  | 
  | 
  | Could any give me better ideas how to solve this problem ?
  | 
  | Thanks once again.
  | 
  | Regards
  | 
  | Bertrand N.

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to