wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts Error in WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Error in WebSphere" Watch "Struts Error in WebSphere" New topic
Author

Struts Error in WebSphere

sanat
Ranch Hand

Joined: Dec 08, 2004
Posts: 111

I have developed a sample application using struts-extension. I'm getting the error as:
------------------------------------------------------------------------------------------------
SRVE0026E: [Servlet Error]-[action]: 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 com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147) at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113) at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870) at com.ibm -- <truncated> --
----------------------------------------------------------------------------------------------

Can anyone give some suggestion?

Thanks in advance.
Giulietta Blumarine
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
Hi!
Struts problem can be various in a web application.
You should be more precise, even specifying when the problem happens and what your application has to do.

Regards
sanat
Ranch Hand

Joined: Dec 08, 2004
Posts: 111

Ok there was a problem in my web.xml file which i have solved.

The problem was, I have not configured the location of struts-config.xml correctly.
Giulietta Blumarine
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
Ah ok!

See you again

regards
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts Error in WebSphere
 
Similar Threads
Struts javascript validator issue
Classloader problem: WAS 5 and Struts
Eror 503
Struts!! will it work on websphere??
Problem in websphere Struts / Server config