Correction.

The service assembly (including the SU) apparently deploys.

Ie, everything deploys...

It is apparent that SM does not like to generate schemas from source
code that is buried away in an SU's jar.

Would be nice to do this,

  Owen.

-----Original Message-----
From: Owen Thomas [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 16, 2007 1:55 PM
To: [email protected]
Subject: RE: Maven archetype for jsr181 component.

Just as I thought. The service unit apparently deploys...

Does anyone want a JIRA or somesuch raised?

  Owen.

-----Original Message-----
From: Owen Thomas [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 16, 2007 1:36 PM
To: [email protected]
Subject: RE: Maven archetype for jsr181 component.

I know what I'll do... I'll forget the jar, and put all the classes in
the SU.

-----Original Message-----
From: Owen Thomas [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 16, 2007 11:44 AM
To: [email protected]
Subject: RE: Maven archetype for jsr181 component.

Hi again.

I have installed and started a copy of SM 3.1.1. I am following your
(Bruce Snyder's) instructions below to deploy the SA. There was no
apparent need to rebuild the SA, so I had not done this prior to
deployment.

To deploy my SA, I follow the instructions below:

Bruce said:
> 4) In the ServiceMix distribution, copy the
> servicemix-jsr181-3.1-incubating-installer.zip and the
> servicemix-shared-3.1-incubating-installer.zip to the
> install directory

> 5) Copy the SA created in step number 3 above to the
> ServiceMix deploy directory

Lo and behold, I get the same error concerning a class (inside a jar
that is included with the JSR-181 SU) that is not found:

*
******** Start of output
ERROR - AutoDeploymentService          - Failed to update Service
Assembly: JVMHostServiceAssembly
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>
<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-jsr181</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>Could not deploy xbean service unit</loc-message>
</msg-loc-info>
</task-status-msg>
                        <exception-info>
                                <nesting-level>1</nesting-level>
                                <msg-loc-info>
                                        <loc-token/>
 
<loc-message>au/net/wcg/jvmhost/CommandReturn</loc-message>
 
<stack-trace><![CDATA[java.lang.NoClassDefFoundError:
au/net/wcg/jvmhost/CommandReturn
        at java.lang.Class.getDeclaredMethods0(Native Method)
******** End of output.
*

I'm pretty sure that I'm not being a stick in the mud. I have no idea
how to correct this, and would just like to get the thing working. I
didn't think what I was asking to do was all that difficult initially.

Maybe the simplicity of what I was trying to do has been crushed under
the collective weight of a million misunderstandings.

I'm getting philosophical.

  Owen.

Reply via email to