Hi,
I have developed very simple application using struts1.1 which i would like to deploy on websphere application server 5.0.2
I have kept all struts related jar files undert web-inf/lib folder. I am using WSAD 5.0 for development. My application runs fine on WSAD server.
It also works fine when deployed on WAS 5.0.2 with following settings.
Server
Application classloader policy - Multiple.
But due to my previous application i can not use server applicaiton classloader policy to MULTIPLE .. i have to use SINGLE. when i changed this i get folloowing error while loading my application
[2/12/05 10:44:44:680 IST] 4c8ff987 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet action: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
Actually problem is my application refers to adminconsole's struts.jar which is in struts1.0 not in strust.1.1. following logs are there
[2/12/05 10:44:27:633 IST] 4c8ff987 SystemOut O register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'wsjar:file:/C:/Program Files/WebSphere/AppServer/installedApps/j683d/adminconsole.ear/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
[2/12/05 10:44:27:664 IST] 4c8ff987 SystemOut O register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'wsjar:file:/C:/Program Files/WebSphere/AppServer/installedApps/j683d/adminconsole.ear/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
[2/12/05 10:44:27:664 IST] 4c8ff987 SystemOut O register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'wsjar:file:/C:/Program Files/WebSphere/AppServer/installedApps/j683d/adminconsole.ear/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd'
[2/12/05 10:44:27:664 IST] 4c8ff987 SystemOut O resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.1//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd')
[2/12/05 10:44:27:664 IST] 4c8ff987 SystemOut O Not registered, use system identifier
[2/12/05 10:44:44:680 IST] 4c8ff987 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet action: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
I have tried parent_last classloader policy option on my server but it doesn't work ..
Can anybody help me out in this ..
regards
amit