servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fseneque <fsene...@gmail.com>
Subject Issues on starting a Camel Sip Route on Smx 5.5.2
Date Fri, 05 Feb 2016 00:06:13 GMT
Hi All,

We are having some issues to start a camel sip route by following the
indications on the main camel sip page. This is the error :

2016-02-05 00:49:58,459 | ERROR | l Console Thread | BlueprintCamelContext           
| 128 - org.apache.camel.camel-blueprint - 2.15.5 | Error occurred during
starting Camel: CamelContext(cceu-adapto
r-context) due The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not
be instantiated. Ensure the Path Name has been set.
javax.sip.PeerUnavailableException: The Peer SIP Stack:
gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path
Name has been set.
        at javax.sip.SipFactory.createStack(SipFactory.java:324)
        at javax.sip.SipFactory.createSipStack(SipFactory.java:152)
        at
org.apache.camel.component.sip.SipSubscriber.doStart(SipSubscriber.java:49)
        at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
        at
org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:2885)
        at
org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3179)
        at
org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3115)
        at
org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3045)
        at
org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:2813)
        at
org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:2669)
        at
org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:167)
        at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2483)
        at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2479)
        at
org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2502)
        at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2479)
        at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
        at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2448)
        at
org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:180)
        at
org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:212)
        at
org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:150)
        at
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:943)
        at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794)
        at
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)
        at
org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4445)
        at org.apache.felix.framework.Felix.registerService(Felix.java:3431)
        at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.registerService(BlueprintContainerImpl.java:453)
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:388)
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)
        at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)
        at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)
        at
org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[14:org.apache.aries.util:1.1.0]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[14:org.apache.aries.util:1.1.0]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[14:org.apache.aries.util:1.1.0]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[14:org.apache.aries.util:1.1.0]
        at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
        at
org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127)
        at
org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)
        at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2100)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)
        at
org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:37)
        at
org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)
        at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
        at
org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_71]
        at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_71]
        at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[16:org.apache.aries.proxy.impl:1.0.4]
        at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[16:org.apache.aries.proxy.impl:1.0.4]
        at
org.apache.karaf.shell.console.commands.$BlueprintCommand1211052760.execute(Unknown
Source)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.karaf.shell.console.jline.Console.run(Console.java:195)[22:org.apache.karaf.shell.console:2.4.3]
        at
org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[22:org.apache.karaf.shell.console:2.4.3]
Caused by: java.lang.ClassNotFoundException: gov.nist.javax.sip.SipStackImpl
not found by org.apache.servicemix.specs.jain-sip-api-1.2.1 [228]
        at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
        at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
        at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_71]
        at java.lang.Class.forName0(Native Method)[:1.7.0_71]
        at java.lang.Class.forName(Class.java:191)[:1.7.0_71]
        at javax.sip.SipFactory.createStack(SipFactory.java:305)
        ... 62 more


We have tried to install the implementation
(org.apache.servicemix.bundles/org.apache.servicemix.bundles.jain-sip-ri/1.2.154_2)
manually but it did not still find the class.

Are we missing something?

THanks for your help




--
View this message in context: http://servicemix.396122.n5.nabble.com/Issues-on-starting-a-Camel-Sip-Route-on-Smx-5-5-2-tp5723408.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Mime
View raw message