tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51393] New: startup failure
Date Sat, 18 Jun 2011 20:34:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51393

             Bug #: 51393
           Summary: startup failure
           Product: Tomcat 7
           Version: 7.0.14
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: atlantisician@yahoo.com
    Classification: Unclassified


Platform: Linux Debian
Tomcat:   Tomcat-7.0.14
JDK:      jdk1.6.0_27

This error is 'out-of-the-box' with:
  JAVA_HOME=/root/jdk1.6.0_27
  PATH=/root/jdk1.6.0_27/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

A Web search suggests that servlet-api.jar (in Tomcat's lib) has an obsolete
member: javax.servlet.ServletContext

Here catalina.out:::

Jun 18, 2011 6:37:44 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
/root/jdk1.6.0_27/jre/lib/i386/client:/root/jdk1.6.0_27/jre/lib/i386:/root/jdk1.6.0_27/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Jun 18, 2011 6:37:44 PM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jun 18, 2011 6:37:44 PM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jun 18, 2011 6:37:44 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 538 ms
Jun 18, 2011 6:37:44 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 18, 2011 6:37:44 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.14
Jun 18, 2011 6:37:44 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jun 18, 2011 6:37:44 PM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory ROOT
java.lang.NoSuchMethodError:
javax.servlet.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig;
        at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1281)
        at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1285)
        at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:316)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)
        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
        at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:379)
        at
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:324)
        at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
        at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
        at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:620)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message