Hi, I have a web application that is deployed fine in Websphere 5.0.2
(with FixPatch 6) on a windows XP machine. But when I try the same war
file, same version of the websphere on a windows 2000 server machine, I
will get the following error:
Cannot find message resources under key org.apache.struts.action.MESSAGE
<!--
Stack Trace is :
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Cannot find message
resources under key org.apache.struts.action.MESSAGE
at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:884)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
-->
Here is a portion of my web.xml file:
<!-- Action Servlet Configuration -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
and struts-config.xml:
<!-- ========== Message Resources Definitions ===========================
-->
<message-resources parameter="resourcebundles/StaticMessages"
null="false"/>
<message-resources parameter="resourcebundles/cmpUIMessages"
null="false" key="cmpUIMessages"/>
I tried researching for this for quite a while now. Can someone shed some
light on this? This Struts 1.1 btw. Thanks
-Scott