struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Jessica" <Jessica.Ander...@trs.state.tx.us>
Subject Is a parser required to run STRUTS?
Date Wed, 14 Mar 2001 18:52:35 GMT
I recently tried to load our application to another user's machine and am
curious what all is required.  I put the struts.jar in Web-inf\lib and made
sure all tlds, struts-config and web.xml were all in the correct place
(identical to my environment which run fine).  

All needed classes are compiled (with reference to struts.jar) and appear
under Web-inf\classes in their respective package structures.

However, I am receiving the following errors and wonder if something else
(maybe jaxp or other parser) is required to JUST RUN STRUTS web app?

The following error is appearing in the tomcat console when tomcat is
started (is Web-inf case sensitive?):

2001-03-14 12:25:24 - Ctx( /best ): Unsafe path G:\BestPilot\src\trs\best
/WEB-INF/struts-config.xml
cannot load servlet name: controller

Then when trying to retrieve a jsp:

2001-03-14 12:39:10 - Ctx( /best ): Exception in init  null -
java.lang.NullPointerException
        at
org.apache.tomcat.facade.ServletContextFacade.getResourceAsStream(ServletCon
textFacade.java:143)
        at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1284)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
        at org.apache.tomcat.core.Handler.init(Handler.java:215)
        at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
        at org.apache.tomcat.core.Handler.service(Handler.java:254)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

2001-03-14 12:39:10 - Ctx( /best ): Exception in: R( /best +
/maintainParticipant.do + null) - java.lang.NullPointerException
        at
org.apache.tomcat.facade.ServletContextFacade.getResourceAsStream(ServletCon
textFacade.java:143)
        at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1284)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
        at org.apache.tomcat.core.Handler.init(Handler.java:215)
        at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
        at org.apache.tomcat.core.Handler.service(Handler.java:254)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

Thanks,
Jessica

Mime
View raw message