You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Nick Fedchik <ni...@fedchik.org.ua> on 2008/07/24 14:54:10 UTC
tutorial-sa: "Error accessing ServiceMix administration"
Hello!
I'm newbie in ServiceMix such as in other Java-based products.
I download ServiceMix 3.2.1 and install it to /opt/servicemix (Ubuntu 8.04.01)
Then I read tutorial, all samples passed good, until I break on
http://servicemix.apache.org/25-beginner-deploying-the-service-assembly.html
namelly:
cd tutorial-sa
mvn jbi:projectDeploy
The output:
fnm@inspiron1501:/opt/servicemix/examples/empty/tutorial-sa$ mvn
jbi:projectDeploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jbi'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Tutorial::SA
[INFO] task-segment: [jbi:projectDeploy]
[INFO] ------------------------------------------------------------------------
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[INFO] [jbi:projectDeploy]
[WARNING] Attempting to build MavenProject instance for Artifact
(org.apache.ws.commons:XmlSchema:1.1) of type: jar; constructing POM artifact
instead.
[INFO] ------------------ Deployment Analysis --------------------
[INFO] Tutorial::SA has 2 child dependencies
[INFO] -
jbi-service-assembly : /var/cache/maven/repository/org/apache/servicemix/tutorial/tutorial-sa/1.0-SNAPSHOT/tutorial-sa-1.0-SNAPSHOT.zip
[INFO] -
jbi-component : /var/cache/maven/repository/org/apache/servicemix/servicemix-file/3.2.1/servicemix-file-3.2.1-installer.zip
[INFO] -
jbi-shared-library : /var/cache/maven/repository/org/apache/servicemix/servicemix-shared/3.2.1/servicemix-shared-3.2.1-installer.zip
[INFO] -----------------------------------------------------------
[INFO] servicemix-shared is deployed
[INFO] servicemix-file is deployed
[INFO] tutorial-sa is not deployed
[INFO] Deploying jbi-service-assembly
from /var/cache/maven/repository/org/apache/servicemix/tutorial/tutorial-sa/1.0-SNAPSHOT/tutorial-sa-1.0-SNAPSHOT.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>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
</task-result-details>
</frmwk-task-result-details>
</frmwk-task-result>
<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-file</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>Unable to find suitable deployer for Service
Unit 'tutorial-file-su'</loc-message>
</msg-loc-info>
</task-status-msg>
</task-result-details>
</component-task-result-details>
</component-task-result>
</jbi-task-result>
</jbi-task>
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Thu Jul 24 15:49:22 EEST 2008
[INFO] Final Memory: 12M/75M
[INFO] ------------------------------------------------------------------------
The same output on a ServiceMix console:
ERROR - AutoDeploymentService - Failed to update Service Assembly:
tutorial-sa
java.lang.Exception: <?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>
...
Yep, it's looks like FAQ, I'm googling, but still didn't found valid solution,
so post here for a help.
It's also lloks strange than xmlsec-1.3.0.pom donloaded each time...
Thanks!
Re: tutorial-sa: "Error accessing ServiceMix administration"
Posted by Nick Fedchik <ni...@fedchik.org.ua>.
Problem solved - invalid file name
tutorial-file-su/src/main/resources/xbean.xml (was beans.xml)
Thanks to Google.
> Hello!
> I'm newbie in ServiceMix such as in other Java-based products.
> I download ServiceMix 3.2.1 and install it to /opt/servicemix (Ubuntu
> 8.04.01) Then I read tutorial, all samples passed good, until I break on
> http://servicemix.apache.org/25-beginner-deploying-the-service-assembly.htm
>l namelly:
>
> cd tutorial-sa
> mvn jbi:projectDeploy
>
> The output:
> fnm@inspiron1501:/opt/servicemix/examples/empty/tutorial-sa$ mvn
> <msg-loc-info>
> <loc-token/>
> <loc-message>Unable to find suitable deployer for Service
> Unit 'tutorial-file-su'</loc-message>
> </msg-loc-info>
>
> The same output on a ServiceMix console:
> ERROR - AutoDeploymentService - Failed to update Service Assembly:
> tutorial-sa
> java.lang.Exception: <?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>
> ...
>
> Yep, it's looks like FAQ, I'm googling, but still didn't found valid
> solution, so post here for a help.
>
> It's also lloks strange than xmlsec-1.3.0.pom donloaded each time...
>
> Thanks!