I followed:

http://servicemix.apache.org/SMX4NMR/4-installing-the-nmr-in-equinox.html

all went well then when starting bundle 30 (wsdl-first-sa)

osgi> install
jbi:http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-shared-compat/3.2.1/servicemix-shared-compat-3.2.1-installer.zip
Bundle id is 27

osgi> install
jbi:http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-jsr181/3.2.1/servicemix-jsr181-3.2.1-installer.zip
Bundle id is 28

osgi> install
jbi:http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-http/3.2.1/servicemix-http-3.2.1-installer.zip
Bundle id is 29

osgi> install
jbi:http://repo1.maven.org/maven2/org/apache/servicemix/samples/wsdl-first/wsdl-first-sa/3.2.1/wsdl-first-sa-3.2.1.zip
Bundle id is 30

osgi> start 27 28 29
05-Jun-2008 15:26:53 org.apache.servicemix.jbi.deployer.impl.Deployer
installSharedLibrary
INFO: Deploying bundle 'null (servicemix-shared)' as a JBI shared library
05-Jun-2008 15:26:53 org.apache.servicemix.jbi.deployer.impl.Deployer
installComponent
INFO: Deploying bundle 'null (servicemix-jsr181)' as a JBI component
05-Jun-2008 15:26:54
org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl doRegister
INFO: JBI component registered with properties: {NAME=servicemix-jsr181,
TYPE=service-engine, objectClass=[Ljava.lang.String;@107bd0d, service.id=37}
log4j:WARN No appenders could be found for logger
(org.apache.servicemix.jsr181.Jsr181Component).
log4j:WARN Please initialize the log4j system properly.
05-Jun-2008 15:26:54 org.apache.servicemix.jbi.deployer.impl.Deployer
installComponent
INFO: Deploying bundle 'null (servicemix-http)' as a JBI component
05-Jun-2008 15:26:54
org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl doRegister
INFO: JBI component registered with properties: {NAME=servicemix-http,
TYPE=binding-component, objectClass=[Ljava.lang.String;@dc0435,
service.id=41}

osgi> start 30
05-Jun-2008 15:27:06 org.apache.servicemix.jbi.deployer.impl.Deployer
deployServiceAssembly
INFO: Deploying bundle 'null (wsdl-first-sa)' as a JBI service assembly
05-Jun-2008 15:27:07 org.apache.servicemix.jbi.deployer.impl.Deployer
deployServiceAssembly
SEVERE: Error deploying SU wsdl-first-jsr181-su
javax.jbi.management.DeploymentException: <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>tried to access class
javax.xml.bind.ContextFinder from class
javax.xml.bind.JAXBContext</loc-message>
                                       
<stack-trace><![CDATA[java.lang.IllegalAccessError: tried to access class
javax.xml.bind.ContextFinder from class javax.xml.bind.JAXBContext
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
        at
org.codehaus.xfire.jaxb2.JaxbWSDLBuilder.generateJaxbSchemas(JaxbWSDLBuilder.java:80)
        at
org.codehaus.xfire.jaxb2.JaxbWSDLBuilder.writeComplexTypes(JaxbWSDLBuilder.java:70)
        at
org.codehaus.xfire.wsdl11.builder.WSDLBuilder.write(WSDLBuilder.java:169)
        at
org.codehaus.xfire.wsdl11.builder.WSDLBuilderAdapter.write(WSDLBuilderAdapter.java:40)
        at
org.codehaus.xfire.DefaultXFire.generateWSDL(DefaultXFire.java:104)
        at
org.apache.servicemix.jsr181.Jsr181Endpoint.generateWsdl(Jsr181Endpoint.java:444)
        at
org.apache.servicemix.jsr181.Jsr181Endpoint.createDescription(Jsr181Endpoint.java:334)
        at
org.apache.servicemix.jsr181.Jsr181Endpoint.registerService(Jsr181Endpoint.java:328)
        at
org.apache.servicemix.jsr181.Jsr181Endpoint.validate(Jsr181Endpoint.java:258)
        at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)
        at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:96)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.deployer.impl.ServiceUnitImpl.deploy(ServiceUnitImpl.java:89)
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.deployServiceAssembly(Deployer.java:271)
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.register(Deployer.java:136)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.onBundleStarted(AbstractBundleWatcher.java:80)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.access$000(AbstractBundleWatcher.java:34)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher$1.bundleChanged(AbstractBundleWatcher.java:53)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1210)
        at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
        at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
        at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1558)
        at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1509)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:355)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:150)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:300)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:285)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:221)
        at java.lang.Thread.run(Unknown Source)
]]></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)
        at
org.apache.servicemix.common.AbstractDeployer.failure(AbstractDeployer.java:43)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:111)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.deployer.impl.ServiceUnitImpl.deploy(ServiceUnitImpl.java:89)
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.deployServiceAssembly(Deployer.java:271)
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.register(Deployer.java:136)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.onBundleStarted(AbstractBundleWatcher.java:80)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.access$000(AbstractBundleWatcher.java:34)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher$1.bundleChanged(AbstractBundleWatcher.java:53)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1210)
        at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
        at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
        at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1558)
        at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1509)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:355)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:150)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:300)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:285)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:221)
        at java.lang.Thread.run(Unknown Source)


If I do ss

Framework is launched.

id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.3.2.R33x_v20080105
1       ACTIVE      org.apache.commons.logging_1.0.4.v200803061811
2       ACTIVE      org.eclipse.equinox.cm_3.2.0.v20070116
3       ACTIVE      org.eclipse.osgi.services_3.1.200.v20070605
4       ACTIVE      org.eclipse.equinox.common_3.3.0.v20070426
5       ACTIVE      org.eclipse.equinox.preferences_3.2.101.R33x_v20080117
6       ACTIVE     
org.apache.geronimo.specs.geronimo-activation_1.1_spec_1.0.2
7       ACTIVE      org.apache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1
8       ACTIVE      org.apache.xbean.xbean-classloader_3.3.1.r631610
9       ACTIVE      org.apache.servicemix.bundles.aopalliance-1.0_1.0.0.m3
10      ACTIVE      org.apache.servicemix.bundles.ant-1.7.0_1.0.0.m3
11      ACTIVE      org.springframework.bundle.spring.aop_2.5.2
12      ACTIVE      org.springframework.bundle.spring.beans_2.5.2
13      ACTIVE      org.springframework.bundle.spring.context_2.5.2
14      ACTIVE      org.springframework.bundle.spring.core_2.5.2
15      ACTIVE      org.springframework.bundle.osgi.core_1.0.2
16      ACTIVE      org.springframework.bundle.osgi.extender_1.0.2
17      ACTIVE      org.springframework.bundle.osgi.io_1.0.2
18      ACTIVE      org.apache.servicemix.kernel.filemonitor_1.0.0.m3
19      ACTIVE      org.apache.servicemix.nmr.api_1.0.0.m1
20      ACTIVE      org.apache.servicemix.nmr.core_1.0.0.m1
21      ACTIVE      org.apache.servicemix.nmr.osgi_1.0.0.m1
22      ACTIVE      org.apache.servicemix.nmr.spring_1.0.0.m1
23      ACTIVE      org.apache.servicemix.jbi.api_1.0.0.m1
24      ACTIVE      org.apache.servicemix.jbi.deployer_1.0.0.m1
25      ACTIVE      org.apache.servicemix.jbi.osgi_1.0.0.m1
26      ACTIVE      org.apache.servicemix.jbi.runtime_1.0.0.m1
27      ACTIVE      servicemix-shared_3.2.1
28      ACTIVE      servicemix-jsr181_3.2.1
29      ACTIVE      servicemix-http_3.2.1
30      ACTIVE      wsdl-first-sa_3.2.1

Does anyone have any ideas?
-- 
View this message in context: 
http://www.nabble.com/Installing-the-NMR-in-Equinox-Fails-for-wsdl-first-sa-tp17671600p17671600.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to