Skip to Content
0
Former Member
May 24, 2006 at 07:26 AM

Error in migrating a Spring/Struts-App from Tomcat to WebAS

30 Views

I tried migrating a Struts/Spring-App (war) which is running smoothly in Tomcat to WebAS.

Deploying is no problem and the plain JSPs work fine. But the 'real' app is not running and throws the following error at startup:

24 Mai 2006 09:07:13,593 - ActionServlet.initServlet(1149) | The /WEB-INF/web.xml was not found.

org.xml.sax.SAXParseException: Dokumentwurzelelement fehlt

at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)

at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)

at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)

at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)

at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)

at org.apache.commons.digester.Digester.parse(Digester.java:1567)

at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1142)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:328)

at javax.servlet.GenericServlet.init(GenericServlet.java:258)

at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:134)

at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:376)

at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

Any help much appreciated!