You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marco Pöhler <ma...@poehlerpoehler.de> on 2002/08/09 14:45:26 UTC

Deploying Struts on WebSphere Application Server 4.0.2

Hi,

i have a problem deploying my struts application on WebSphere Application
Server 4.0.2. I found similar problems in this list relating to Tomcat, but
no relating to WebSphere.

I have a trace attached, any ideas welcome!

thanks in advance

Marco

---snipp---
**** Der Server wird gestartet ****
IBM WebSphere Application Server, Release 4.0.2
Advanced Single Server Edition for Multiplatforms
Copyright IBM Corp., 1997-2001

************ Start Display Current Environment ************
WebSphere AEs 4.0.2 a0150.05 running with process name localhost/Default
Server and process id 1584
Host Operating System is Windows 2000, version 5.0
Java version = J2RE 1.3.0 IBM build cn130-20010925was (JIT enabled: jitc),
Java Compiler = jitc, Java VM name = Classic VM
server.root = C:/Programme/IBM/Application
...
[Servlet-Protokoll]: action: Loading application resources from resource
ApplicationResources
[09.08.02 14:29:40:502 GMT+02:00] 551319e2 WebGroup      I SRVE0091I:
[Servlet-Protokoll]: action: Initializing configuration from resource path
/WEB-INF/struts-config.xml
[09.08.02 14:29:40:542 GMT+02:00] 551319e2 SystemOut     U
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN',
'jar:file:/C:/Programme/IBM/Application
Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/org/a
pache/struts/resources/struts-config_1_0.dtd'
[09.08.02 14:29:40:542 GMT+02:00] 551319e2 SystemOut     U register('-//Sun
Microsystems, Inc.//DTD Web Application 2.2//EN',
'jar:file:/C:/Programme/IBM/Application
Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/org/a
pache/struts/resources/web-app_2_2.dtd'
[09.08.02 14:29:40:562 GMT+02:00] 551319e2 SystemOut     U register('-//Sun
Microsystems, Inc.//DTD Web Application 2.3//EN',
'jar:file:/C:/Programme/IBM/Application
Developer/workspace/CN_BSC3_Web/webApplication/WEB-INF/lib/struts.jar!/org/a
pache/struts/resources/web-app_2_3.dtd'
[09.08.02 14:29:40:592 GMT+02:00] 551319e2 SystemOut     U
Digester.getParser:
[09.08.02 14:29:40:592 GMT+02:00] 551319e2 SystemOut     U
java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl

^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - that is where it crashs....

[09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
[09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
org.apache.struts.digester.Digester.getParser(Digester.java:275)
[09.08.02 14:29:40:752 GMT+02:00] 551319e2 SystemOut     U 	at
org.apache.struts.digester.Digester.parse(Digester.java:755)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.ja
va:802)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleSe
rvlet.java:141)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycl
eServlet.java:254)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleSer
vlet.java:107)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388)
[09.08.02 14:29:40:762 GMT+02:00] 551319e2 SystemOut     U 	at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
[09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:
84)
[09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServlet
Manager.java:226)
[09.08.02 14:29:40:772 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebA
ppServletManager.java:357)
[09.08.02 14:29:40:792 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1010)
[09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:133)
[09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:234)
[09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:139)
[09.08.02 14:29:40:802 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:65
2)
[09.08.02 14:29:40:832 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36)
[09.08.02 14:29:40:832 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.Server.startModule(Server.java:617)
[09.08.02 14:29:40:842 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:333)
[09.08.02 14:29:40:842 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349
)
[09.08.02 14:29:40:852 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
[09.08.02 14:29:40:852 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
[09.08.02 14:29:40:862 GMT+02:00] 551319e2 SystemOut     U 	at
java.lang.reflect.Method.invoke(Native Method)
[09.08.02 14:29:40:872 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
[09.08.02 14:29:40:872 GMT+02:00] 551319e2 SystemOut     U 	at
com.ibm.etools.websphere.tools.runner.api.ServerRunner$1.run(ServerRunner.ja
va)
...
---snapp---


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>