I have an application running on a websphere 3.5.4 and when i start it up
i get this exception:
resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
Not registered, use system identifier
Parse Fatal Error at line 5 column -1: External entity not found: "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd".
java.net.UnknownHostException: java.sun.com
at org.xml.sax.SAXException.<init> (SAXException.java:78)
at org.xml.sax.SAXParseException. <init>(SAXParseException.java:78)
at com.sun.xml.parser.Parser.fatal (Parser.java:2817)
at com.sun.xml.parser.Parser. externalParameterEntity(Parser.java(Compiled Code))
at com.sun.xml.parser.Parser. maybeDoctypeDecl(Parser.java:1137)
at com.sun.xml.parser.Parser. parseInternal(Parser.java:481)
at com.sun.xml.parser.Parser. parse(Parser.java:284)
at javax.xml.parsers.SAXParser .parse(SAXParser.java:155)
at javax.xml.parsers.SAXParser .parse(SAXParser.java:77)
at org.apache.struts.digester. Digester.parse(Digester.java:755)
at org.apache.struts.action. ActionServlet.initServlet(ActionServlet.java:1433)
at org.apache.struts.action. ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. StrictServletInstance.doInit(ServletManager.java:604)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet._init(StrictLifecycleServlet.java:136)
at com.ibm.servlet.engine.webapp. PreInitializedServletState.init(StrictLifecycleServlet.java:244)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet.init(StrictLifecycleServlet.java:102)
at com.ibm.servlet.engine.webapp. ServletInstance.init(ServletManager.java:284)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. ServletManager.addServlet(ServletManager.java:76)
at com.ibm.servlet.engine.webapp. WebAppServletManager.loadServlet(WebAppServletManager.java:91)
at com.ibm.servlet.engine.webapp. WebAppServletManager.getServletReference (WebAppServletManager.java:135)
at com.ibm.servlet.engine.webapp. WebApp.getServletReference(WebApp.java:293)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcherInfo. calculateInfo( WebAppRequestDispatcherInfo.java:151)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcherInfo.<init>(WebAppRequestDispatcherInfo.java:50)
at com.ibm.servlet.engine.webapp. WebApp.getRequestDispatcher(WebApp.java:962)
at dk.lec.nice. servlet.NiceWebServletDispatcher. gotoPage(Trace.java(1k):305)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost$ ajcPostCall(Trace.java(1k):151)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost(Trace.java(1k):1163)
at dk.lec.nice.servlet. NiceWebServletDispatcher.handleDoPost $method_call(Trace.java(1k))
at dk.lec.nice.servlet.NiceWebServletDispatcher .doPost(Trace.java(1k):24)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp. IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp. StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp. ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp. ValidServletReferenceState.dispatch (ServletManager.java:775)
at com.ibm.servlet.engine.webapp. ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp. WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt. WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation. CachedInvocation.handleInvocation (CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation. CacheableInvocationContext.invoke (CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp .ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener .OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener. SQEventListenerImp$ServiceRunnable. run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener. SQEventListenerImp.notifySQEvent (SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener .serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener. serverqueue.SQWrapperEventSource$ SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener. serverqueue.SQWrapperEventSource $SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener .outofproc.OutOfProcThread$ CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
[03.07.24 09:01:38:031 GMT+02:00] e5967865 WebGroup A SRVE0092I: [
Servlet LOG]: "action: null": java.net.UnknownHostException: java.sun.com
at org.xml.sax.SAXException. <init>(SAXException.java:78)
at org.xml.sax.SAXParseException. <init>(SAXParseException.java:78)
at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
at com.sun.xml.parser.Parser. externalParameterEntity(Parser.java(Compiled Code))
at com.sun.xml.parser.Parser. maybeDoctypeDecl(Parser.java:1137)
at com.sun.xml.parser.Parser. parseInternal(Parser.java:481)
at com.sun.xml.parser.Parser. parse(Parser.java:284)
at javax.xml.parsers. SAXParser.parse(SAXParser.java:155)
at javax.xml.parsers. SAXParser.parse(SAXParser.java:77)
at org.apache.struts. digester.Digester.parse(Digester.java:755)
at org.apache.struts. action.ActionServlet.initServlet(ActionServlet.java:1433)
at org.apache.struts. action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet. init(GenericServlet.java:258)
at com.ibm.servlet.engine.webapp. StrictServletInstance.doInit(ServletManager.java:604)
the line:
'-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd'
is from the web.xml file
Does anyone have a suggestion to what is going on ??