  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Subject: Re: URGENT - Image.getInstance error | Subject: Re: URGENT - Image.getInstance error 2007-11-05 - By Satyajit Thadeshwar
Back
Hi,
I am also getting the same error while reading a URL by using openStream() method of URL class. Did you found any probable cause for this ?
- Satyajit
Dilip.Patel wrote: > > Hi, > > I am using iText to generate dynamic pdf. I am trying to use method > Image.getInstace(URL). I am getting error: > The url is correct, if I put that url on browser, it opens the image. > But it is not working in Java Code. > Please help me as soon as possible. It is very urgent. I will be greatly > appreciate. > > Caused by: java.net.SocketException: Connection timed out:could be due > to invalid address > at java.net.PlainSocketImpl.socketConnect(Native Method) > at > java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java(Compiled Code)) > at > java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java(Compiled > Code)) > at > java.net.PlainSocketImpl.connect(PlainSocketImpl.java(Compiled Code)) > at java.net.Socket.connect(Socket.java(Compiled Code)) > at java.net.Socket.connect(Socket.java(Compiled Code)) > at java.net.Socket.<init>(Socket.java(Compiled Code)) > at java.net.Socket.<init>(Socket.java(Inlined Compiled Code)) > at com.ibm.jsse.bv.<init>(Unknown Source) > at com.ibm.jsse.JSSESocketFactory.createSocket(Unknown Source) > at > com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([Dasho > Pro-V1.2-120198]) > at > com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer([Da > shoPro-V1.2-120198]) > at > com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-V1.2- > 120198]) > at > com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>([DashoPro- > V1.2-120198]) > at > com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>([DashoPro > -V1.2-120198]) > at > com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2 > -120198]) > at > com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2 > -120198]) > at > com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([ > DashoPro-V1.2-120198]) > at > com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputS > tream([DashoPro-V1.2-120198]) > at java.net.URL.openStream(URL.java:942) > > Thank you, > Dilip Patel > Web Developer > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > iText-questions mailing list > iText-questions@(protected) > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > >
-- View this message in context: http://www.nabble.com/URGENT---Image.getInstance -error-tf4671699.html#a13584855 Sent from the iText - General mailing list archive at Nabble.com.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |