Skip to Content
0
Former Member
Apr 20, 2006 at 09:13 AM

Connection time out while parsing web.xml

293 Views

Hello,

we started to migrate (currently on WAS 6.4 SP11) an Oracle ADF webapplication which is running fine on Tomcat 4/5 and JBoss 3/4.

The application is successfully deployed. But when we access the site we get a java.net.ConnectException.

We guess that the WAS want to download the web-app_2_3.dtd as defined in the doctype of the web.xml. The problem is that the application server isn't connected to the internet.

Now the question: How can we stop the WAS trying to download the dtd? Can we put the file somewhere in the ear/war file or in a directory of the WAS?

thanks a lot, Daniel

<u>The stack from the browser:</u>

javax.servlet.ServletException: java.net.ConnectException: Connection timed out: connect

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)

at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)

...

javax.faces.FacesException: java.net.ConnectException: Connection timed out: connect

at org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser.parse(WebXmlParser.java:114)

at org.apache.myfaces.shared_impl.webapp.webxml.WebXml.init(WebXml.java:134)

at org.apache.myfaces.shared_impl.webapp.webxml.WebXml.getWebXml(WebXml.java:121)

...

Caused by: java.net.ConnectException: Connection timed out: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

<u>Entries from the logfile:</u>

com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer#Plain###Error parsing a tag library descriptor. The error is: For input string: "10_1_3_0_4"#

com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer#Plain###Error parsing a tag library descriptor. The error is: For input string: "10_1_3_0_4"#

com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer#Plain###Error parsing a tag library descriptor. The error is: TagExtraInfo class [com.sun.faces.taglib.FacesTagExtraInfo] not found.#

com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer#Plain###Error parsing a tag library descriptor. The error is: TagExtraInfo class [com.sun.faces.taglib.FacesTagExtraInfo] not found.#

com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer#Plain###Error in parsing jar file D:
usr
sap
J2E
JC00
j2ee
cluster
server0
apps
sap.com
SchibuEar
servlet_jsp
SchiBu
root
WEB-INF
lib
adf-faces-impl-10_1_3_0_4.jar. The error is: For input string: "10_1_3_0_4"#

com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer#Plain###Error in parsing jar file D:
usr
sap
J2E
JC00
j2ee
cluster
server0
apps
sap.com
SchibuEar
servlet_jsp
SchiBu
root
WEB-INF
lib
adf-faces-impl-10_1_3_0_4.jar. The error is: For input string: "10_1_3_0_4"#

com.sap.engine.services.dbpool.deploy.ContainerImpl#Plain###DataSources or DataSource aliases of 'sap.com/SchibuEar' application started successfully.#

com.sap.engine.services.servlets_jsp.server.container.WebContainer#Plain###Start of application [sap.com/SchibuEar] finished successfully in web container.#

com.sap.engine.services.deploy#Plain###Operation startApp on application sap.com/SchibuEar finished for 127599 ms.#

com.sap.engine.services.deploy#Plain###

Warning occurred on server 3062650 during startApp sap.com/SchibuEar : Error in taglib http://xmlns.oracle.com/adf/faces in web.xml. Cannot find or parse it. java.lang.NumberFormatException: For input string: "10_1_3_0_4"#

com.sap.engine.services.deploy#Plain###

Warning occurred on server 3062650 during startApp sap.com/SchibuEar : Error in taglib http://xmlns.oracle.com/adf/faces/html in web.xml. Cannot find or parse it. java.lang.NumberFormatException: For input string: "10_1_3_0_4"#

com.sap.engine.services.deploy#Plain###

Warning occurred on server 3062650 during startApp sap.com/SchibuEar : Error in taglib http://java.sun.com/jsf/html in web.xml. Cannot find or parse it. com.sap.engine.services.servlets_jsp.server.exceptions.WebWrongDescriptorException: TagExtraInfo class [com.sun.faces.taglib.FacesTagExtraInfo] not found.#

com.sap.engine.services.deploy#Plain###

Warning occurred on server 3062650 during startApp sap.com/SchibuEar : Error in taglib http://java.sun.com/jsf/core in web.xml. Cannot find or parse it. com.sap.engine.services.servlets_jsp.server.exceptions.WebWrongDescriptorException: TagExtraInfo class [com.sun.faces.taglib.FacesTagExtraInfo] not found.#

com.sap.engine.services.deploy#Plain###

Operation startApp over application sap.com/SchibuEar finished successfully on server 3062650#

com.sap.engine.services.deploy#Plain###

Warning occurred on server 3062650 during update sap.com/SchibuEar : Error in taglib http://xmlns.oracle.com/adf/faces in web.xml. Cannot find or parse it. java.lang.NumberFormatException: For input string: "10_1_3_0_4"#

com.sap.engine.services.deploy#Plain###

Warning occurred on server 3062650 during update sap.com/SchibuEar : Error in taglib http://xmlns.oracle.com/adf/faces/html in web.xml. Cannot find or parse it. java.lang.NumberFormatException: For input string: "10_1_3_0_4"#

com.sap.engine.services.deploy#Plain###

Warning occurred on server 3062650 during update sap.com/SchibuEar : Error in taglib http://java.sun.com/jsf/html in web.xml. Cannot find or parse it. com.sap.engine.services.servlets_jsp.server.exceptions.WebWrongDescriptorException: TagExtraInfo class [com.sun.faces.taglib.FacesTagExtraInfo] not found.#

com.sap.engine.services.deploy#Plain###

Warning occurred on server 3062650 during update sap.com/SchibuEar : Error in taglib http://java.sun.com/jsf/core in web.xml. Cannot find or parse it. com.sap.engine.services.servlets_jsp.server.exceptions.WebWrongDescriptorException: TagExtraInfo class [com.sun.faces.taglib.FacesTagExtraInfo] not found.#

com.sap.engine.services.deploy#Plain###

Operation update over application sap.com/SchibuEar finished successfully on server 3062650#

com.sap.engine.services.deploy#Plain###

Operation update on application sap.com/SchibuEar finished in whole cluster for 0 ms.#

com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###Processing an http request to servlet [MyFacesServlet] finished with error.The error is: java.net.ConnectException: Connection timed out: connect#