Hello,

I was able to do this earlier very easily in SMX-3.x (JBI using ANT, etc).
Now I would like to switch to SMX-4.3 using maven-plugins for jbi. I created
a very simple SU (with the TraceBean example) to be included in an SA. All
using the maven examples from the tutorials on SU and SA on servicemix.I
copied the SA.zip to servicemix\deploy directory and tried to restart the
bundle and I get the following error:

Am I missing something very basic or is there a mismatch of jars or xsds in
my environment?

thanx
-ram

-----------------------------
Caused by: javax.jbi.management.DeploymentException: <component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
        <component-name>servicemix-bean</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>*/Failed to invoke
method: public static void org.apache.xbean.spring.context.impl.Q
NameHelper.coerceQNamePropertyValues(org.apache.xbean.spring.context.impl.QNameReflectionParams)
via reflection: java.lang.IllegalArgum
entException: argument type mismatch; nested exception is
java.lang.IllegalArgumentException: argument type mismatch/*</loc-message>
                                        <stack-trace></stack-trace>
                                </msg-loc-info>
                        </exception-info>
                </task-result-details>
        </component-task-result-details>
</component-task-result>
        at
org.apache.servicemix.common.ManagementSupport.failure(ManagementSupport.java:46)[93:servicemix-common:2011.01.0.fuse-03-01]

        at
org.apache.servicemix.common.AbstractDeployer.failure(AbstractDeployer.java:43)[93:servicemix-common:2011.01.0.fuse-03-01]
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:118)[93:servicemix-common:2011.01
.0.fuse-03-01]
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)[93:servicemix-common:2011.01.0.
fuse-03-01]
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[93:servicemix-common:2011.01.0.fu
se-03-01]
        at
org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[96:org.apache.servicemix.jbi.d
eployer:1.4.0.fuse-03-01]
        at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[96:org.apache.
servicemix.jbi.deployer:1.4.0.fuse-03-01]
        ... 15 more
------------------------------------------------------------

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/error-deploying-simple-servicemix-bean-to-SMX-4-3-1-tp5624054p5624054.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to