tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ranganath s" <rangana...@gmail.com>
Subject security Exception in tomcat6, jdk6+ubuntu6.06
Date Tue, 24 Apr 2007 06:34:23 GMT
Hi all,

         Sorry for the mishap in my previous mail. I really didnt mean It. I
just installed the Tomcat 6 on jdk6 with Ubuntu6.06.  I am
getting the following exceptions in the log. please kindly let me know
how to go about solving this.

 I have set the context to true in the context.xml
 I have commented the "<Listener
className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on"
/>" in the server.xml

 I followed some blog which said that above things were required to be
made. and i have also changed the port to 8081 in the connector tag of
the server.xml.

=================================================================
17 Apr, 2007 8:43:38 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
17 Apr, 2007 8:43:38 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1347 ms
17 Apr, 2007 8:43:38 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
17 Apr, 2007 8:43:38 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
17 Apr, 2007 8:43:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory ROOT
java.lang.SecurityException : Servlet of class
org.apache.catalina.servlets.InvokerServlet is privileged and cannot be
loaded by this web application
   at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java
:1134)
   at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
   at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java
:4044)
   at
org.apache.catalina.core.StandardContext.start (StandardContext.java:4350)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:761)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
   at org.apache.catalina.core.StandardHost.addChild (StandardHost.java:525)
   at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
   at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
:883)
   at
org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java:492)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
LifecycleSupport.java:120)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1015)
   at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
   at
org.apache.catalina.core.StandardServer.start (StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java
:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17 Apr, 2007 8:43:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory docs
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.InvokerServlet is privileged and cannot be
loaded by this web application
   at
org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java
:1134)
   at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
   at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java
:4044)
   at
org.apache.catalina.core.StandardContext.start (StandardContext.java:4350)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:761)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
   at org.apache.catalina.core.StandardHost.addChild (StandardHost.java:525)
   at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
   at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
:883)
   at
org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java:492)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
LifecycleSupport.java:120)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1015)
   at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
   at
org.apache.catalina.core.StandardServer.start (StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java
:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17 Apr, 2007 8:43:40 PM org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory examples
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.InvokerServlet is privileged and cannot be
loaded by this web application
   at
org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java
:1134)
   at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
   at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java
:4044)
   at
org.apache.catalina.core.StandardContext.start (StandardContext.java:4350)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:761)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
   at org.apache.catalina.core.StandardHost.addChild (StandardHost.java:525)
   at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
   at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
:883)
   at
org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java:492)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
LifecycleSupport.java:120)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1015)
   at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
   at
org.apache.catalina.core.StandardServer.start (StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java
:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17 Apr, 2007 8:43:41 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
17 Apr, 2007 8:43:41 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
17 Apr, 2007 8:43:41 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/74  config=null
17 Apr, 2007 8:43:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2781 ms
17 Apr, 2007 8:47:46 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8081
17 Apr, 2007 8:47:47 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
17 Apr, 2007 8:47:47 PM org.apache.catalina.startup.HostConfig undeployApps
WARNING: Error while removing context []
java.lang.NullPointerException
   at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:885)
   at
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180)
   at org.apache.catalina.startup.HostConfig.stop (HostConfig.java:1151)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:120)
   at org.apache.catalina.core.ContainerBase.stop (ContainerBase.java:1056)
   at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1068)
   at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
   at
org.apache.catalina.core.StandardService.stop (StandardService.java:510)
   at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
   at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
   at org.apache.catalina.startup.Catalina.start (Catalina.java:577)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:413)
17 Apr, 2007 8:47:47 PM org.apache.catalina.startup.HostConfig undeployApps
WARNING: Error while removing context [/docs]
java.lang.NullPointerException
   at
org.apache.catalina.core.ContainerBase.removeChild (ContainerBase.java:885)
   at
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180)
   at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java:313)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:120)
   at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1056)
   at org.apache.catalina.core.ContainerBase.stop (ContainerBase.java:1068)
   at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
   at
org.apache.catalina.core.StandardService.stop(StandardService.java:510)
   at org.apache.catalina.core.StandardServer.stop (StandardServer.java:744)
   at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke (Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17 Apr, 2007 8:47:47 PM org.apache.catalina.startup.HostConfig undeployApps
WARNING: Error while removing context [/examples]
java.lang.NullPointerException
   at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:885)
   at
org.apache.catalina.startup.HostConfig.undeployApps (HostConfig.java:1180)
   at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
LifecycleSupport.java:120)
   at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1056)
   at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1068)
   at org.apache.catalina.core.StandardEngine.stop (StandardEngine.java:448)
   at
org.apache.catalina.core.StandardService.stop(StandardService.java:510)
   at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
   at org.apache.catalina.startup.Catalina.stop (Catalina.java:602)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java :288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17 Apr, 2007 8:47:47 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8081

==================================================================

Thank you
Regards

Ranganath.S

-- 
I blog at http://ranganaths.wordpress.com

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