I've done some searching and log analysis and found out these lines:

[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: WSDL first :: JSR181
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
[INFO] Unable to find resource 'org.apache.ws.security:wss4j:pom:1.5.2' in
repository apache.incubating (
http://people.apache.org/repo/m2-incubating-repository)
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
[INFO] Unable to find resource 'org.apache.ws.security:wss4j:pom:1.5.2' in
repository servicemix-m2-repo (
http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
[INFO] Unable to find resource 'org.apache.ws.security:wss4j:pom:1.5.2' in
repository apache-incubating (
http://people.apache.org/repo/m2-incubating-repository)
Downloading:
http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
[INFO] Unable to find resource 'org.apache.ws.security:wss4j:pom:1.5.2' in
repository codehaus (http://repository.codehaus.org)
Downloading:
http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom
[INFO] Unable to find resource 'org.apache.ws.security:wss4j:pom:1.5.2' in
repository java.net (http://download.java.net/maven/1)
Downloading:
http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
[INFO] Unable to find resource 'org.apache.ws.security:wss4j:pom:1.5.2' in
repository central (http://repo1.maven.org/maven2)
[INFO] [xfire:wsgen {execution: default}]
(...)

I think the problem is that this resource is missing. I'll search on how to
include it on the project.

Best regards,
--
António Jacob Costa
IBM Certified Deployment Professional - Maximo V6 EAM

MAXIMO Consultant and Software Engineer (Portuguese in Spain)
LinkedIn: http://www.linkedin.com/in/antoniojacobcosta
--



On Mon, May 25, 2009 at 09:16, inter <[email protected]> wrote:

>
> I got the same error when i deploy the wsdl-first  example to servicemix
> 3.3,
>
> here are the details:
>
> [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:585)
>        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
> --
> View this message in context:
> http://www.nabble.com/Unable-to-register-JSR-181-service-tp23470833p23702303.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to