will you post a copy of your struts-config.xml file? I suspect there's
something missing on it.

On Thu, 10 Jun 2004 16:44:29 -0400, David Meyer <[EMAIL PROTECTED]> wrote:
> I have a war file that I am trying to deploy on Weblogic 8.1.  I am able to
> deploy and access jsp's within the WAR file.  However, when a Struts action
> is requested, i.e. http://server/someAction.do, I get the following
> NullPointerException:
> 
> java.lang.NullPointerException
> at 
> org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1003)
> at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at 
> weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
> at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
> at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
> at 
> weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
> at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
> at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
> at 
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
> 
> It looks like that the Struts ActionServlet cannot find my struts config
> files, even though they are in the correct location within the war file.
> 
> What's really odd is if I unwar and deploy the app as an exploded directory,
> everything works fine, including the Struts pages.  Any ideas?
> 
> Thanks for the help,
> 
> David Meyer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to