Hi Guillaume ! You should run with the -e switch, which would give you the whole stack trace. Usual reasons are: * servicemix not running * jmx uri changed (rmi port, etc...) * container name changed * authentication failed
All these parameters can be configured in the jbi maven plugin <configuration/> section. See http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojo.java?revision=440854&view=markup On 1/8/07, glaforge <[EMAIL PROTECTED]> wrote:
Hello, I inherited from a project using ServiceMix. But I encounter some problems with deploying the app to ServiceMix. I'm getting the following messages, but I can't seem to find what's wrong. ServiceMix is running. I think my setup is okay wrt Maven 2 and co. Any help is appreciated. Guillaume >mvn jbi:projectDeploy [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'jbi'. [INFO] ---------------------------------------------------------------------------- [INFO] Building Carrefour :: Infraws :: ESB :: SA [INFO] task-segment: [jbi:projectDeploy] [INFO] ---------------------------------------------------------------------------- Downloading: http://www.ibiblio.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom [WARNING] Unable to get resource from repository central (http://www.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-RC3/maven2/xml-security/xmlsec/1.3.0/x mlsec-1.3.0.pom [WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubato r-activemq-4.0.2-RC3/maven2) Downloading: http://www.ibiblio.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom [WARNING] Unable to get resource from repository central (http://www.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-RC3/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/incubato r-activemq-4.0.2-RC3/maven2) Downloading: http://www.ibiblio.org/maven2/tranql/tranql/1.3/tranql-1.3.pom [WARNING] Unable to get resource from repository central (http://www.ibiblio.org/maven2) Downloading: http://servicemix.org/m2-repo/tranql/tranql/1.3/tranql-1.3.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-RC3/maven2/tranql/tranql/1.3/tranql-1. 3.pom [WARNING] Unable to get resource from repository activemq-tmp-repo (http://people.apache.org/~chirino/incubato r-activemq-4.0.2-RC3/maven2) [INFO] [jbi:projectDeploy] [INFO] ------------------ Deployment Analysis -------------------- [INFO] Carrefour :: Infraws :: ESB :: SA has 5 child dependencies [INFO] - jbi-service-assembly : C:\Documents and Settings\Guillaume Laforge\.m2\repository\carrefour\infraws- esb-sa\1.0-SNAPSHOT\infraws-esb-sa-1.0-SNAPSHOT.zip [INFO] - jbi-component : C:\Documents and Settings\Guillaume Laforge\.m2\repository\org\apache\servicemix\ser vicemix-lwcontainer\3.1-incubating-SNAPSHOT\servicemix-lwcontainer-3.1-incubating-SNAPSHOT-installer.zip [INFO] - jbi-component : C:\Documents and Settings\Guillaume Laforge\.m2\repository\org\apache\servicemix\ser vicemix-bpe\3.1-incubating-SNAPSHOT\servicemix-bpe-3.1-incubating-SNAPSHOT-installer.zip [INFO] - jbi-component : C:\Documents and Settings\Guillaume Laforge\.m2\repository\org\apache\servicemix\ser vicemix-http\3.1-incubating-SNAPSHOT\servicemix-http-3.1-incubating-SNAPSHOT-installer.zip [INFO] - jbi-component : C:\Documents and Settings\Guillaume Laforge\.m2\repository\org\apache\servicemix\ser vicemix-eip\3.1-incubating-SNAPSHOT\servicemix-eip-3.1-incubating-SNAPSHOT-installer.zip [INFO] - jbi-shared-library : C:\Documents and Settings\Guillaume Laforge\.m2\repository\org\apache\servicemi x\servicemix-shared\3.1-incubating-SNAPSHOT\servicemix-shared-3.1-incubating-SNAPSHOT-installer.zip [INFO] ----------------------------------------------------------- [INFO] infraws-esb-sa is not deployed [INFO] servicemix-lwcontainer is deployed [INFO] Stopping servicemix-lwcontainer [INFO] Undeploying C:\Documents and Settings\Guillaume Laforge\.m2\repository\org\apache\servicemix\servicemix -lwcontainer\3.1-incubating-SNAPSHOT\servicemix-lwcontainer-3.1-incubating-SNAPSHOT-installer.zip [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to deploy project, Error accessing ServiceMix administration <?xml version="1.0" encoding="UTF-8"?> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0"> <jbi-task-result> <frmwk-task-result> <frmwk-task-result-details> <task-result-details> <task-id>uninstallComponent</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg> <msg-loc-info> <loc-token/> <loc-message>servicemix-lwcontainer</loc-message> </msg-loc-info> </task-status-msg> </task-result-details> </frmwk-task-result-details> </frmwk-task-result> </jbi-task-result> </jbi-task> [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 26 seconds [INFO] Finished at: Mon Jan 08 15:14:23 CET 2007 [INFO] Final Memory: 12M/24M [INFO] ------------------------------------------------------------------------ -- View this message in context: http://www.nabble.com/Deployment-failure-tf2939594s12049.html#a8218700 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet
