Bertybb / sipservlets

Automatically exported from code.google.com/p/sipservlets
0 stars 0 forks source link

Upgrade to Latest Tomcat Version #257

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
7.0.50

Original issue reported on code.google.com by jean.deruelle on 13 Feb 2014 at 2:27

GoogleCodeExporter commented 8 years ago
This issue was closed by revision b2b38820eace.

Original comment by jean.der...@telestax.com on 13 Feb 2014 at 2:28

GoogleCodeExporter commented 8 years ago
After migration an issue has been spotted on regular application such as 
manager 
SEVERE: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/manager]]
    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:634)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1230)
    at org.mobicents.servlet.sip.catalina.SipHostConfig.deployDirectory(SipHostConfig.java:173)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1876)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
    at javax.naming.NameImpl.<init>(NameImpl.java:281)
    at javax.naming.CompositeName.<init>(CompositeName.java:231)
    at org.apache.naming.NamingContext.createSubcontext(NamingContext.java:575)
    at org.mobicents.servlet.sip.startup.SipNamingContextListener.addAppNameSubContext(SipNamingContextListener.java:201)
    at org.mobicents.servlet.sip.startup.SipNamingContextListener.containerEvent(SipNamingContextListener.java:93)
    at org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1398)
    at org.mobicents.servlet.sip.startup.SipStandardContext.loadSipJNDIContext(SipStandardContext.java:678)
    at org.mobicents.servlet.sip.startup.SipStandardContext.listenerStart(SipStandardContext.java:483)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5455)
    at org.mobicents.servlet.sip.startup.SipStandardContext.startInternal(SipStandardContext.java:389)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 12 more

Original comment by jean.deruelle on 13 Feb 2014 at 3:08

GoogleCodeExporter commented 8 years ago
fixed NPE in r484605e748e2d5ed11fe5c8fbfcc53b963cc3a93

Original comment by jean.deruelle on 13 Feb 2014 at 3:14

GoogleCodeExporter commented 8 years ago

Original comment by jean.deruelle on 14 Feb 2014 at 9:51

GoogleCodeExporter commented 8 years ago
2014-02-14 22:40:39,078 7198  DEBUG 
[org.mobicents.servlet.sip.catalina.SipHostConfig:183] (localhost-startStop-1:) 
WEB-INF/sip.xml not found in 
/media/jean/Data/servers/MSS/mss-3.0.0-SNAPSHOT-apache-tomcat-7.0.50/webapps/hos
t-manager. Not Enabling sip servlet archive deployment
2014-02-14 22:40:39,078 7198  DEBUG 
[org.mobicents.servlet.sip.catalina.SipHostConfig:189] (localhost-startStop-1:) 
Context class used to deploy the directory : 
org.apache.catalina.core.StandardContext
2014-02-14 22:40:39,079 7199  DEBUG 
[org.mobicents.servlet.sip.catalina.SipHostConfig:190] (localhost-startStop-1:) 
Context config class used to deploy the directory : 
org.apache.catalina.startup.ContextConfig
Feb 14, 2014 10:40:39 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/media/jean/Data/servers/MSS/mss-3.0.0-SNAPSHOT-apache-tomcat-7.0.50/webapps/hos
t-manager
2014-02-14 22:40:39,081 7201  INFO  
[org.mobicents.servlet.sip.startup.SipStandardContext:213] 
(localhost-startStop-1:) Initializing the sip context /host-manager
2014-02-14 22:40:39,083 7203  INFO  
[org.mobicents.servlet.sip.startup.SipStandardContext:231] 
(localhost-startStop-1:) sip context Initialized /host-manager
2014-02-14 22:40:39,088 7208  INFO  
[org.mobicents.servlet.sip.startup.SipStandardContext:295] 
(localhost-startStop-1:) Starting the sip context /host-manager
2014-02-14 22:40:39,089 7209  DEBUG 
[org.mobicents.servlet.sip.startup.SipStandardContext:304] 
(localhost-startStop-1:) Configuring default Resources
Feb 14, 2014 10:40:39 PM org.apache.catalina.loader.WebappLoader setRepositories
INFO: No work dir for 
org.mobicents.servlet.sip.startup.ConvergedApplicationContextFacade@6f548414
Feb 14, 2014 10:40:39 PM org.apache.catalina.util.LifecycleBase start
INFO: The start() method was called on component 
[org.apache.catalina.deploy.NamingResources@2bd9c3e7] after start() had already 
been called. The second call will be ignored.
Feb 14, 2014 10:40:39 PM org.apache.catalina.util.LifecycleBase start
INFO: The start() method was called on component [WebappLoader[/host-manager]] 
after start() had already been called. The second call will be ignored.
2014-02-14 22:40:39,425 7545  DEBUG 
[org.mobicents.servlet.sip.startup.SipStandardContext:490] 
(localhost-startStop-1:) Configuring sip listeners
2014-02-14 22:40:39,425 7545  DEBUG 
[org.mobicents.servlet.sip.startup.SipNamingContextListener:87] 
(localhost-startStop-1:) Sip Subcontext added to the JNDI context for container 
StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/host-manag
er]
2014-02-14 22:40:39,425 7545  DEBUG 
[org.mobicents.servlet.sip.startup.SipNamingContextListener:103] 
(localhost-startStop-1:) null is null so subcontext not added to JNDI context 
for container 
StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/host-manag
er]
2014-02-14 22:40:39,426 7546  ERROR 
[org.mobicents.servlet.sip.startup.SipNamingContextListener:318] 
(localhost-startStop-1:) Failed to bind object: 
javax.naming.NameNotFoundException: Name [null] is not bound in this Context. 
Unable to find [null].
2014-02-14 22:40:39,426 7546  DEBUG 
[org.mobicents.servlet.sip.startup.SipNamingContextListener:123] 
(localhost-startStop-1:) Sip Factory added to the JNDI context for container 
StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/host-manag
er]
2014-02-14 22:40:39,426 7546  ERROR 
[org.mobicents.servlet.sip.startup.SipNamingContextListener:252] 
(localhost-startStop-1:) Failed to bind object: 
javax.naming.NameNotFoundException: Name [null] is not bound in this Context. 
Unable to find [null].
2014-02-14 22:40:39,426 7546  DEBUG 
[org.mobicents.servlet.sip.startup.SipNamingContextListener:139] 
(localhost-startStop-1:) SipSessionsUtil added to the JNDI context for 
container 
StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/host-manag
er]
2014-02-14 22:40:39,427 7547  ERROR 
[org.mobicents.servlet.sip.startup.SipNamingContextListener:285] 
(localhost-startStop-1:) Failed to bind object: 
javax.naming.NameNotFoundException: Name [null] is not bound in this Context. 
Unable to find [null].
2014-02-14 22:40:39,427 7547  DEBUG 
[org.mobicents.servlet.sip.startup.SipNamingContextListener:155] 
(localhost-startStop-1:) TimerService added to the JNDI context for container 
StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/host-manag
er]
2014-02-14 22:40:39,431 7551  DEBUG 
[org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl:472] 
(localhost-startStop-1:) Adding the following sip servlet application null, 
SipContext=StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[
/host-manager]
Feb 14, 2014 10:40:39 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[/host-mana
ger]]
    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:634)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1230)
    at org.mobicents.servlet.sip.catalina.SipHostConfig.deployDirectory(SipHostConfig.java:192)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1876)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    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:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: Something when wrong while 
initializing a sip servlets or converged application 
    at org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.addSipApplication(SipApplicationDispatcherImpl.java:475)
    at org.mobicents.servlet.sip.startup.SipStandardContext.startInternal(SipStandardContext.java:450)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 12 more
Feb 14, 2014 10:40:39 PM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory 
/media/jean/Data/servers/MSS/mss-3.0.0-SNAPSHOT-apache-tomcat-7.0.50/webapps/hos
t-manager
java.lang.IllegalStateException: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Sip-Servlets].StandardHost[localhost].StandardContext[/host-mana
ger]]
    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:634)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1230)
    at org.mobicents.servlet.sip.catalina.SipHostConfig.deployDirectory(SipHostConfig.java:192)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1876)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    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:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)

Original comment by jean.deruelle on 14 Feb 2014 at 9:52

GoogleCodeExporter commented 8 years ago
fixed in r2de0135faaf8

Original comment by jean.deruelle on 14 Feb 2014 at 10:03

GoogleCodeExporter commented 8 years ago

Original comment by jean.der...@telestax.com on 25 Aug 2014 at 10:52