tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: TomEE+ 1.5.2 and Mobicents SIP Servlets 2.0.0
Date Fri, 30 Aug 2013 15:01:52 GMT
Hmm

Do you have it under 1.6.0-snapshot? If no it could be a bug. If yes the
error is in your deployment/packaging
Le 30 août 2013 07:22, "ChrisAA" <carnold@calltower.com> a écrit :

> Hello,
>
> I am looking to use TomEE+ for a project (which I have been wanting to for
> awhile) that uses SIP to communicate with Lync.  I am running into some
> issues with pulling in the SIP servlet of choice (the Mobicents SIP
> Servlets
> Tomcat server) into the TomEE+ project.
>
> How I currently have my server setup: I have pulled in the lib folder from
> mss-2.0.0.FINAL-apache-tomcat-7.0.29 (I will call it mss) into the
> apache-tomee-plus-1.5.2 (tomee+), excluding the tomcat jars and the
> annotations-api.jar and el-api.jar.  Next, I pull in dars/ and
> mss-sip-stack.properties from mss/conf/.  Lastly I modify the server.xml
> and
> add the required service to use mss.
>
> At this point the server will start up fine, but once I pull in the wars
> from mss, it starts to fail.  I have figured out some of the issues, but
> what I am having a problem with is this error:
>
> INFO: ------------------------- localhost -> /Click2CallAsync
> Aug 29, 2013 2:23:01 PM org.apache.openejb.util.JarExtractor extract
> INFO: Extracting jar:
> C:\dev\apache-tomee-plus-1.5.2\webapps\Click2CallAsync.war
> Aug 29, 2013 2:23:01 PM org.apache.openejb.util.JarExtractor extract
> INFO: Extracted path:
> C:\dev\apache-tomee-plus-1.5.2\webapps\Click2CallAsync
> Aug 29, 2013 2:23:01 PM org.apache.catalina.core.ContainerBase
> addChildInternal
> SEVERE: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
>
> [StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/Click2CallAsync]]
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>         at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
>         at
>
> org.mobicents.servlet.sip.catalina.SipHostConfig.deployWAR(SipHostConfig.java:149)
>         at
>
> org.mobicents.servlet.sip.catalina.SipHostConfig.deploySAR(SipHostConfig.java:137)
>         at
>
> org.mobicents.servlet.sip.catalina.SipHostConfig.deployWARs(SipHostConfig.java:213)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
>         at
>
> org.mobicents.servlet.sip.catalina.SipHostConfig.deployApps(SipHostConfig.java:57)
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1402)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)
>         at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>         at
> org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)
>         at
>
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1140)
>         at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassCastException:
> org.apache.tomee.catalina.LazyStopLoader cannot be cast to
> org.apache.catalina.loader.WebappLoader
>         at
>
> org.mobicents.servlet.sip.startup.SipStandardContext.startInternal(SipStandardContext.java:342)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         ... 25 more
> Aug 29, 2013 2:23:01 PM org.apache.catalina.startup.HostConfig deployWAR
> SEVERE: Error deploying web application archive
> C:\dev\apache-tomee-plus-1.5.2\webapps\Click2CallAsync.war
> java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
>
> [StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/Click2CallAsync]]
>         at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
>         at
>
> org.mobicents.servlet.sip.catalina.SipHostConfig.deployWAR(SipHostConfig.java:149)
>         at
>
> org.mobicents.servlet.sip.catalina.SipHostConfig.deploySAR(SipHostConfig.java:137)
>         at
>
> org.mobicents.servlet.sip.catalina.SipHostConfig.deployWARs(SipHostConfig.java:213)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
>         at
>
> org.mobicents.servlet.sip.catalina.SipHostConfig.deployApps(SipHostConfig.java:57)
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1402)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)
>         at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>         at
> org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)
>         at
>
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1140)
>         at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
>
>
> I can tell that this problem is due to a ClassCastException, but without
> digging into the code on both projects I have not been able to resolve it.
>
> Has anyone resolved this issue or know how I might be setting it up wrong?
> It would be nice to be able to use SIP Servlet with TomEE+
>
> Thank You,
>
> //Chris Arnold
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-1-5-2-and-Mobicents-SIP-Servlets-2-0-0-tp4664916.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message