on 04-20-2006 10:13 AM
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 😧
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 😧
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#
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.