**Hi everyone,
I'm having some trouble deploying *wsdl-first*.
The problem I'm having right now is that when I execute *mvn:install* I get
the error which I include below. I've tried to search the internet on it but
cannot find the answer.
*Service Mix*: 3.3
*Apache Maven*: 2.1.0
*java version*: 1.5.0_16
*OS*: Microsoft Windows XP Pro SP3
I'll provide all the information required.
Thanks in advance.
Best regards,
--
António Jacob Costa
*ERROR*
[INFO] [jbi:generate-jbi-service-unit-descriptor]
[INFO] Generating jbi.xml
[INFO] Created Service Unit Analyzer
org.apache.servicemix.jsr181.packaging.jsr181serviceunitanaly...@18b3fee
2009-05-18 15:47:53,546 [main ] INFO
ileSystemXmlApplicationContext - Refreshing
org.apache.xbean.spring.context.FileSystemXmlApp
licationcont...@10da1d8: display name
[org.apache.xbean.spring.context.filesystemxmlapplicationcont...@10da1d8];
startup date [Mon May 18 15
:47:53 CEST 2009]; root of context hierarchy
2009-05-18 15:47:53,625 [main ] INFO
XBeanXmlBeanDefinitionReader - Loading XML bean definitions from URL
[file:/D:/Apps/Apache
/apache-servicemix-3.3/examples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml]
2009-05-18 15:47:54,125 [main ] INFO
ileSystemXmlApplicationContext - Bean factory for application context
[org.apache.xbean.spri
ng.context.filesystemxmlapplicationcont...@10da1d8]:
org.springframework.beans.factory.support.defaultlistablebeanfact...@669255
2009-05-18 15:47:54,140 [main ] INFO
DefaultListableBeanFactory - Pre-instantiating singletons in
org.springframework.beans.f
actory.support.defaultlistablebeanfact...@669255: defining beans
[org.apache.servicemix.jsr181.Jsr181Endpoint]; parent: org.apache.servicemi
x.common.xbean.simplebeanfact...@75c2be
[WARNING] 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:483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
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: java.lang.RuntimeException: Unable to register JSR-181 service,
Error calling init
at
org.apache.servicemix.jsr181.packaging.Jsr181ServiceUnitAnalyzer.getProvides(Jsr181ServiceUnitAnalyzer.java:62)
at
org.apache.servicemix.common.xbean.AbstractXBeanServiceUnitAnalyzer.init(AbstractXBeanServiceUnitAnalyzer.java:97)
at
org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorMojo.generateJbiDescriptor(GenerateServiceUnitDescriptorMojo.
java:185)
... 19 more
Caused by: javax.jbi.JBIException: Error calling init
at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:205)
at
org.apache.servicemix.common.SyncLifeCycleWrapper.init(SyncLifeCycleWrapper.java:44)
at
org.apache.servicemix.jsr181.packaging.Jsr181ServiceUnitAnalyzer.getProvides(Jsr181ServiceUnitAnalyzer.java:60)
... 21 more
Caused by: java.lang.NullPointerException
at
org.apache.servicemix.common.EndpointDeliveryChannel.createExchangeFactory(EndpointDeliveryChannel.java:70)
at
org.apache.servicemix.common.endpoints.SimpleEndpoint.activate(SimpleEndpoint.java:53)
at
org.apache.servicemix.common.endpoints.ProviderEndpoint.activate(ProviderEndpoint.java:57)
at
org.apache.servicemix.common.DefaultServiceUnit.init(DefaultServiceUnit.java:54)
at
org.apache.servicemix.common.DefaultComponent.doInit(DefaultComponent.java:348)
at
org.apache.servicemix.jsr181.Jsr181Component.doInit(Jsr181Component.java:71)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:197)
... 23 more