tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shilpa Nalgonda" <snalgo...@mypublisher.com>
Subject application not working on unix.
Date Fri, 06 Aug 2004 15:52:55 GMT
I am trying to deploy my prototype shoppingcart application onto linux
environment , i am using apache tomcat4.0.4, and struts 1.1.  The same
application was deployed successfully on windows.  I have copied
prototype.war into /var/lib/tomcat4/webapps.
restarted tomcat as /etc/init.d/tomcat4 restart and it does not work.  I
have the following errors in catalina.out and local_host.log ..please help.

I get this error in catlina.out----
Aug 6, 2004 3:32:25 AM org.apache.commons.digester.Digester getParser
SEVERE: Digester.getParser:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:269)
        at
java.security.AccessController.checkPermission(AccessController.java:401)
        at
java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
        at java.lang.ClassLoader.getParent(ClassLoader.java:1034)
        at
org.apache.catalina.loader.WebappClassLoader.toString(WebappClassLoader.java
:888)
        at java.lang.String.valueOf(String.java:2131)
        at java.lang.StringBuffer.append(StringBuffer.java:370)
        at
javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:34
2)
        at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:226)
        at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:134)
        at
org.apache.commons.digester.Digester.getFactory(Digester.java:512)
        at org.apache.commons.digester.Digester.getParser(Digester.java:686)
        at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
        at org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3279)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        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:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

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

And i get this error in log file :...localhost_log.2004-08-06.txt
============================================================================
==
2004-08-06 03:32:25 StandardContext[/prototype]: Servlet /prototype threw
load()
 exception
javax.servlet.ServletException: Servlet.init() for servlet action threw
exceptio
n
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:946)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:81
0)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3279)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
421)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
5)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)

        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:232)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:155)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)

        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:3
88)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
----- Root Cause -----
java.lang.NullPointerException
        at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
        at org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java
:1433)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:918)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:81
0)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3279)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
421)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
5)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)

        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:232)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:155)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)

        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:3
88)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


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


Mime
View raw message