A test tries to deploy an artifact through the JMX adapter,
but cannot find the war file. Does it exist?
Caused by: org.jboss.deployment.DeploymentException: url
file:/home/bruecker/workspace/jbpm/modules/enterprise/jar/target/test-libs
/enterprise-test.war could not be opened, does it exist?
/Heiko
On Dec 11, 2008, at 1:45 PM, Bernd Rücker wrote:
> Hi all,
>
> I currently always get this error when executing the Maven build.
> Colleague has the same problem on his computer...
>
> Any ideas what goes wrong here?
>
> Thanks
> Bernd
>
> ------------------------------------------------------------------------
> [INFO] Building JBoss jBPM3 - Enterprise (JAR)
> [INFO] task-segment: [clean, package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting
> directory /home/bruecker/workspace/jbpm/modules/enterprise/jar/target
> [INFO] artifact org.apache.maven.plugins:maven-ejb-plugin: checking for
> updates from
maven2.java.net
> [INFO] artifact org.apache.maven.plugins:maven-ejb-plugin: checking for
> updates from
repository.jboss.org
> [INFO] artifact org.apache.maven.plugins:maven-ejb-plugin: checking for
> updates from
snapshots.jboss.org
> [INFO] artifact org.apache.maven.plugins:maven-ejb-plugin: checking for
> updates from gwt-maven
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot org.jboss.bpm:bpm-spec-api:1.0.0-SNAPSHOT: checking for
> updates from
repository.jboss.org
> [INFO] snapshot org.jboss.bpm:bpm-spec-api:1.0.0-SNAPSHOT: checking for
> updates from
maven2.java.net
> [INFO] snapshot org.jboss.bpm:bpm-spec-api:1.0.0-SNAPSHOT: checking for
> updates from
maven1.java.net
> [INFO] snapshot org.jboss.bpm:bpm-spec-api:1.0.0-SNAPSHOT: checking for
> updates from
snapshots.jboss.org
> [INFO] snapshot org.jboss.bpm:bpm-spec-api:1.0.0-SNAPSHOT: checking for
> updates from gwt-maven
> [INFO] snapshot org.jboss.bpm:bpm-spec:1.0.0-SNAPSHOT: checking for
> updates from
repository.jboss.org
> [INFO] snapshot org.jboss.bpm:bpm-spec:1.0.0-SNAPSHOT: checking for
> updates from
maven2.java.net
> [INFO] snapshot org.jboss.bpm:bpm-spec:1.0.0-SNAPSHOT: checking for
> updates from
maven1.java.net
> [INFO] snapshot org.jboss.bpm:bpm-spec:1.0.0-SNAPSHOT: checking for
> updates from
snapshots.jboss.org
> [INFO] snapshot org.jboss.bpm:bpm-spec:1.0.0-SNAPSHOT: checking for
> updates from gwt-maven
> [INFO] [compiler:compile]
> [INFO] Compiling 25 source files
> to /home/bruecker/workspace/jbpm/modules/enterprise/jar/target/classes
> [INFO] [assembly:directory-single {execution:
> assembly-test-dependencies}]
> [INFO] Reading assembly descriptor:
> scripts/assembly-test-dependencies.xml
> [INFO] Processing DependencySet (output=/)
> [INFO] Copying files
> to
> /home/bruecker/workspace/jbpm/modules/enterprise/jar/target/test-dependenc
> ies
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 5 source files
> to
> /home/bruecker/workspace/jbpm/modules/enterprise/jar/target/test-classes
> [INFO] [antrun:run {execution: build-test-jars}]
> [INFO] Executing tasks
>
> build-test-jars:
> [mkdir] Created
> dir: /home/bruecker/workspace/jbpm/modules/enterprise/jar/target/test-libs
> [war] Building
> war:
> /home/bruecker/workspace/jbpm/modules/enterprise/jar/target/test-libs/ente
> rprise-test.war
> [INFO] Executed tasks
> [INFO] [surefire:test]
> [INFO] Surefire report
> directory:
> /home/bruecker/workspace/jbpm/modules/enterprise/jar/target/surefire-repor
> ts
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jbpm.enterprise.jta.JtaDbPersistenceTest
> javax.management.MBeanException
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(Re
> flectedDispatcher.java:180)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.ja
> va:163)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.ja
> va:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanO
> perationInterceptor.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 sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdapto
> rService.java:266)
> at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.ja
> va:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.ja
> va:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanO
> perationInterceptor.java:142)
> at
> org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(Serializabl
> eInterceptor.java:74)
> 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.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.
> java:179)
> at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.ja
> va: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.invocation.jrmp.server.JRMPInvoker
> $MBeanServerAction.invoke(JRMPInvoker.java:818)
> at
> org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)
> at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
> at sun.rmi.transport.Transport$1.run(Transport.java:159)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> at sun.rmi.transport.tcp.TCPTransport
> $ConnectionHandler.run0(TCPTransport.java:790)
> at sun.rmi.transport.tcp.TCPTransport
> $ConnectionHandler.run(TCPTransport.java:649)
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.jboss.deployment.DeploymentException: url
> file:/home/bruecker/workspace/jbpm/modules/enterprise/jar/target/test-libs
> /enterprise-test.war could not be opened, does it exist?
> at
> org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:781)
> at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.ja
> va:155)
> ... 47 more
>
>