Author |
Message |
12/07/2013 15:31:21
|
abender
Power User
Joined: 04/02/2010 16:32:13
Messages: 34
Offline
|
Hi,
we just updated to the current release 20130711. While deploying our application on WebLogic Server we get the following Warning.
Code:
####<11.07.2013 13.36 Uhr CEST> <Warning> <HTTP> <WSWLC051> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1373542567697> <BEA-101196> <[elektrang]: Error while parsing the Tag Library Descriptor at "C:\bea103\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\ElektrA_NG_EAR\k3vw8a\war\WEB-INF\lib\jstl.jar!/META-INF/c-1_0-rt.tld".
com.ctc.wstx.exc.WstxIOException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
This happens with a couple of TLDs and slows the deployment process to more than 10 minutes.
On our local development systems we can prevent this by defining a http-proxy for the WebLogic server. But production systems are not allowed to connect to the internet.
Is there any way to prevent TLD validation? Why didn't this happen in older releases?
regards
Axel
|
Axel Bender, DXC Technology |
|
|
12/07/2013 18:07:24
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
we updated the JSF libraries, affected files are:
WEB-INF/lib/jsf-api.jar
WEB-INF/lib/jsf-impl.jar
WEB-INF/lib/jstl.jar
Maybe this is the reason?
Could you please replace the three libraries with their former version an check? Thanks!
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
15/07/2013 09:28:07
|
abender
Power User
Joined: 04/02/2010 16:32:13
Messages: 34
Offline
|
Hi Björn,
the problem is caused by the new version of jstl.jar. The previous version contains no TLDs at all. The new version contains 15 TLDs and 8 of those TLDs cause a connection to the internet.
WEB-INF\lib\jstl.jar!/META-INF/c-1_0-rt.tld
WEB-INF\lib\jstl.jar!/META-INF/c-1_0.tld
WEB-INF\lib\jstl.jar!/META-INF/fmt-1_0-rt.tld
WEB-INF\lib\jstl.jar!/META-INF/fmt-1_0.tld
WEB-INF\lib\jstl.jar!/META-INF/sql-1_0-rt.tld
WEB-INF\lib\jstl.jar!/META-INF/sql-1_0.tld
WEB-INF\lib\jstl.jar!/META-INF/x-1_0-rt.tld
WEB-INF\lib\jstl.jar!/META-INF/x-1_0.tld
Those 8 TLDs contain the the following DOCTYPE header which seems to be the reason.
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
Axel Bender, DXC Technology |
|
|
15/07/2013 09:35:31
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
...thanks for the info.
We go back to the previous version of the three jars with 20110715. Please also use the previous versions on your side.
Regards,
Björn
PS: the exchange was made due to preparations for our 5.0 release which is coming very soon, there we will change - but not as a part of a 4.0 update...
|
Björn Müller, CaptainCasa GmbH |
|
|
15/07/2013 09:40:26
|
abender
Power User
Joined: 04/02/2010 16:32:13
Messages: 34
Offline
|
thanks for your help.
Regards,
Axel
|
Axel Bender, DXC Technology |
|
|
|