All pastes #148654 Raw Edit

Something

public text v1 · immutable
#148654 ·published 2006-08-25 09:07 UTC
rendered paste body
D:\zahra\java-projects\integration\Servicemix\samples\wsdl-first\wsdl-first-sa>mvn -e jbi:projectDeploy
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jbi'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: WSDL first :: SA
[INFO]    task-segment: [jbi:projectDeploy]
[INFO] ----------------------------------------------------------------------------
Downloading: http://people.apache.org/maven-snapshot-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[WARNING] Unable to get resource from repository apache.snapshots (http://people.apache.org/maven-snapshot-repository)
Downloading: http://ibiblio.org/maven2//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[WARNING] Unable to get resource from repository central (http://ibiblio.org/maven2/)
Downloading: http://servicemix.org/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo)
Downloading: http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC2/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.
0.pom
[WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq
-4.0.2-RC2/maven2)
Downloading: http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[WARNING] Unable to get resource from repository codehaus (http://repository.codehaus.org)
Downloading: http://dist.codehaus.org/xml-security/poms/xmlsec-1.3.0.pom
[WARNING] Unable to get resource from repository codehaus.m1 (http://dist.codehaus.org)
Downloading: http://people.apache.org/maven-snapshot-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
[WARNING] Unable to get resource from repository apache.snapshots (http://people.apache.org/maven-snapshot-repository)
Downloading: http://ibiblio.org/maven2//wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
[WARNING] Unable to get resource from repository central (http://ibiblio.org/maven2/)
Downloading: http://servicemix.org/m2-repo/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
[WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo)
Downloading: http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC2/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
[WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq
-4.0.2-RC2/maven2)
Downloading: http://repository.codehaus.org/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
[WARNING] Unable to get resource from repository codehaus (http://repository.codehaus.org)
Downloading: http://dist.codehaus.org/wss4j/poms/wss4j-1.5.0.pom
[WARNING] Unable to get resource from repository codehaus.m1 (http://dist.codehaus.org)
Downloading: http://people.apache.org/maven-snapshot-repository/xfire/jaxws-api/2.0/jaxws-api-2.0.pom
[WARNING] Unable to get resource from repository apache.snapshots (http://people.apache.org/maven-snapshot-repository)
Downloading: http://ibiblio.org/maven2//xfire/jaxws-api/2.0/jaxws-api-2.0.pom
[WARNING] Unable to get resource from repository central (http://ibiblio.org/maven2/)
Downloading: http://servicemix.org/m2-repo/xfire/jaxws-api/2.0/jaxws-api-2.0.pom
[WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo)
Downloading: http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC2/maven2/xfire/jaxws-api/2.0/jaxws-api-2.0.pom

[WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq
-4.0.2-RC2/maven2)
Downloading: http://repository.codehaus.org/xfire/jaxws-api/2.0/jaxws-api-2.0.pom
[WARNING] Unable to get resource from repository codehaus (http://repository.codehaus.org)
Downloading: http://dist.codehaus.org/xfire/poms/jaxws-api-2.0.pom
[WARNING] Unable to get resource from repository codehaus.m1 (http://dist.codehaus.org)
Downloading: http://servicemix.org/m2-repo/geronimo/geronimo-connector/1.1/geronimo-connector-1.1.pom
[WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo)
Downloading: http://ibiblio.org/maven2//geronimo/geronimo-connector/1.1/geronimo-connector-1.1.pom
[WARNING] Unable to get resource from repository central (http://ibiblio.org/maven2/)
Downloading: http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2/geronimo/geronimo-connector/1.1/geron
imo-connector-1.1.pom
[WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq
-4.0.2-RC3/maven2)
Downloading: http://snapshots.repository.codehaus.org/geronimo/geronimo-connector/1.1/geronimo-connector-1.1.pom
[WARNING] Unable to get resource from repository codehaus-snapshot-repo (http://snapshots.repository.codehaus.org)
Downloading: http://servicemix.org/m2-repo/geronimo/geronimo-transaction/1.1/geronimo-transaction-1.1.pom
[WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo)
Downloading: http://ibiblio.org/maven2//geronimo/geronimo-transaction/1.1/geronimo-transaction-1.1.pom
[WARNING] Unable to get resource from repository central (http://ibiblio.org/maven2/)
Downloading: http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2/geronimo/geronimo-transaction/1.1/ger
onimo-transaction-1.1.pom
[WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq
-4.0.2-RC3/maven2)
Downloading: http://snapshots.repository.codehaus.org/geronimo/geronimo-transaction/1.1/geronimo-transaction-1.1.pom
[WARNING] Unable to get resource from repository codehaus-snapshot-repo (http://snapshots.repository.codehaus.org)
Downloading: http://servicemix.org/m2-repo/geronimo/geronimo-system/1.1/geronimo-system-1.1.pom
[WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo)
Downloading: http://ibiblio.org/maven2//geronimo/geronimo-system/1.1/geronimo-system-1.1.pom
[WARNING] Unable to get resource from repository central (http://ibiblio.org/maven2/)
Downloading: http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2/geronimo/geronimo-system/1.1/geronimo
-system-1.1.pom
[WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq
-4.0.2-RC3/maven2)
Downloading: http://snapshots.repository.codehaus.org/geronimo/geronimo-system/1.1/geronimo-system-1.1.pom
[WARNING] Unable to get resource from repository codehaus-snapshot-repo (http://snapshots.repository.codehaus.org)
Downloading: http://servicemix.org/m2-repo/geronimo/geronimo-core/1.1/geronimo-core-1.1.pom
[WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo)
Downloading: http://ibiblio.org/maven2//geronimo/geronimo-core/1.1/geronimo-core-1.1.pom
[WARNING] Unable to get resource from repository central (http://ibiblio.org/maven2/)
Downloading: http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2/geronimo/geronimo-core/1.1/geronimo-c
ore-1.1.pom
[WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq
-4.0.2-RC3/maven2)
Downloading: http://snapshots.repository.codehaus.org/geronimo/geronimo-core/1.1/geronimo-core-1.1.pom
[WARNING] Unable to get resource from repository codehaus-snapshot-repo (http://snapshots.repository.codehaus.org)
Downloading: http://servicemix.org/m2-repo/org/springframework/spring/2.0-rc2/spring-2.0-rc2.pom
[WARNING] Unable to get resource from repository servicemix-m2-repo (http://servicemix.org/m2-repo)
Downloading: http://ibiblio.org/maven2//org/springframework/spring/2.0-rc2/spring-2.0-rc2.pom
[WARNING] Unable to get resource from repository central (http://ibiblio.org/maven2/)
Downloading: http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2/org/springframework/spring/2.0-rc2/sp
ring-2.0-rc2.pom
[WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq
-4.0.2-RC3/maven2)
Downloading: http://snapshots.repository.codehaus.org/org/springframework/spring/2.0-rc2/spring-2.0-rc2.pom
[WARNING] Unable to get resource from repository codehaus-snapshot-repo (http://snapshots.repository.codehaus.org)
[INFO] [jbi:projectDeploy]
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: WSDL first :: SA has 3 child dependencies
[INFO]  - jbi-service-assembly : C:\Documents and Settings\zahra\.m2\repository\org\apache\servicemix\samples\wsdl-first
\wsdl-first-sa\3.0-incubating-SNAPSHOT\wsdl-first-sa-3.0-incubating-SNAPSHOT.zip
[INFO]  - jbi-component : C:\Documents and Settings\zahra\.m2\repository\org\apache\servicemix\servicemix-http\3.0-incub
ating-SNAPSHOT\servicemix-http-3.0-incubating-SNAPSHOT-installer.zip
[INFO]  - jbi-component : C:\Documents and Settings\zahra\.m2\repository\org\apache\servicemix\servicemix-jsr181\3.0-inc
ubating-SNAPSHOT\servicemix-jsr181-3.0-incubating-SNAPSHOT-installer.zip
[INFO]  - jbi-shared-library : C:\Documents and Settings\zahra\.m2\repository\org\apache\servicemix\servicemix-shared\3.
0-incubating-SNAPSHOT\servicemix-shared-3.0-incubating-SNAPSHOT-installer.zip
[INFO] -----------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to deploy project, Error accessing ServiceMix administration

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to deploy project, Error accessing ServiceMix administrat
ion
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to deploy project, Error accessing ServiceMix administ
ration
        at org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo.deployProject(JbiProjectDeployerMojo.java:174)
        at org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo.execute(JbiProjectDeployerMojo.java:103)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 16 more
Caused by: Error accessing ServiceMix administration
        at org.apache.servicemix.jbi.management.task.JbiTask.execute(JbiTask.java:283)
        at org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo.isDeployed(JbiProjectDeployerMojo.java:222)
        at org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo.deployProject(JbiProjectDeployerMojo.java:148)
        ... 19 more
Caused by: java.lang.NullPointerException
        at org.apache.servicemix.jbi.framework.AdminCommandsService.listServiceAssemblies(AdminCommandsService.java:365)

        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.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
        at org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:315)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
        at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1341)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
        at java.lang.Thread.run(Thread.java:595)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Fri Aug 25 13:36:21 IRDT 2006
[INFO] Final Memory: 10M/20M
[INFO] ------------------------------------------------------------------------