Closed johnou closed 13 years ago
Created my own security manager to find out where its hiding..
00:24:44,234 WARN ~ Trying to connect to 128.30.52.37 on port 80
java.lang.RuntimeException: Blocked connect!
at security.SecurityManager.checkConnect(SecurityManager.java:18)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:320)
at java.net.Socket.connect(Socket.java:529)
at sun.net.NetworkClient.doConnect(NetworkClient.java:161)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.
Actually your three line patch to org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer does work, it just does not seem to be bundled with "pdf-head", after compiling the converter myself and replacing the two yahp jars it no longer tries to validate documents online.
Might be nice to provide the patched jars with the module?
I have contacted the author of the yahp library in the mean time.
Patch is now included in the latest version available @ http://www.allcolor.org/YaHPConverter/
Additionally the yahp library now uses itext5 and .. "I've also corrected a problem with entities who where sometimes duplicated and not decoded correctly and another problem where remote css were not loaded."
I will create a new ticket about updating to the latest yahp.
Seems the patch to prevent the library contacting w3 is not working or its done from another place?
00:12:11,855 INFO ~ Application 'Registro' is now started ! 00:12:12,604 INFO ~ Using CSS implementation from: org.xhtmlrenderer.context.StyleReference 00:12:12,838 WARN ~ Trying to connect to www.w3.org on port 80 00:12:12,838 WARN ~ Trying to connect to www.w3.org on port -1 00:12:12,838 WARN ~ Trying to connect to 128.30.52.37 on port 80 00:12:12,838 WARN ~ Trying to connect to 128.30.52.37 on port 80 00:12:43,735 WARN ~ Trying to connect to www.w3.org on port 80 00:12:43,735 WARN ~ Trying to connect to www.w3.org on port -1 00:12:43,735 WARN ~ Trying to connect to 128.30.52.37 on port 80 00:12:43,735 WARN ~ Trying to connect to 128.30.52.37 on port 80 00:13:14,358 WARN ~ Trying to connect to www.w3.org on port 80 00:13:14,358 WARN ~ Trying to connect to www.w3.org on port -1 00:13:14,358 WARN ~ Trying to connect to 128.30.52.37 on port 80 00:13:14,358 WARN ~ Trying to connect to 128.30.52.37 on port 80 00:13:45,106 WARN ~ Trying to connect to www.w3.org on port 80 00:13:45,106 WARN ~ Trying to connect to www.w3.org on port -1 00:13:45,106 WARN ~ Trying to connect to 128.30.52.37 on port 80 00:13:45,121 WARN ~ Trying to connect to 128.30.52.37 on port 80 00:14:15,728 INFO ~ TIME: parse stylesheets 62ms 00:14:15,728 INFO ~ media = print 00:14:15,728 INFO ~ Matcher created with 118 selectors