3 Replies Latest reply on Oct 27, 2009 2:21 PM by valerie choy

    Unable to get my own JMS provider su to compile and run

    Danny Kruitbosch Newbie

      Hi,

       

      I'm trying to create a SA which contains a jms provider.

       

      I create the jms provider with the smx-arch su jms-provider command and that worked out OK.

       

      When I run a mvn install in the jms-provider dir I get the following error:

      file:////data/fuse/fuse-esb-3.4.0.4/projects/orxproxy/orx-jmsprovider/src/main/resources/xbean.xml

      Failed to generate jbi.xml: org.apache.servicemix.maven.plugin.jbi.JbiPluginException: Unable to generate service unit descriptor!

      org.apache.servicemix.maven.plugin.jbi.JbiPluginException: Unable to generate service unit descriptor!

           at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorMojo.generateJbiDescriptor(GenerateServiceUnitDescriptorMojo.java:206)

           at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorMojo.execute(GenerateServiceUnitDescriptorMojo.java:143)

           at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)

           at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)

           at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)

           at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)

           at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)

           at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)

           at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

           at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)

           at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

           at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)

           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:597)

           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.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL file:////data/fuse/fuse-esb-3.4.0.4/projects/orxproxy/orx-jmsprovider/src/main/resources/xbean.xml; nested exception is java.lang.IncompatibleClassChangeError: Implementing class

           at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:385)

       

       

      My xbean.xml and pom.xml (for the jms provider su) are attached