Skip to Content
author's profile photo Former Member
Former Member

Connection time out while parsing web.xml

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#

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 20, 2006 at 01:00 PM

    Hello Daniel,

    I don't think that the WAS is trying to validate the descriptors. From the stack trace it looks like the application framework that you use is trying to connect o the Internet. There is a property of the web container service called ValidateDescriptors but it is set to false by default.

    Best Regards

    Vyara

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2006 at 01:28 PM

    Daniel,

    Did u solve this? We are experiencing simular problems. Error message =

    #1.5#02004C4F4F500053000002E7000011CC0004203DF681436D#1161350407578#/System/Server#sap.com/ADFSimpelWeb#com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer#Guest#2#####SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer#Plain###Error in parsing jar file C:
    usr
    sap
    J2E
    JC01
    j2ee
    cluster
    server0
    apps
    sap.com
    ADFSimpelWeb
    servlet_jsp
    SimpelWeb
    root
    WEB-INF
    lib
    adf-faces-impl.jar.

    The error is: java.lang.NumberFormatException: For input string: "10_1_3_0_4"

    Thanx in advance,

    Endy

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.