Hi there Dilip,

 

Just a stab in the dark but, I see you are running over https, so could
there be certificate or access problems when your apps try to
communicate with the endpoint?

The reason I say this is because the error message stats that it could
be due to an invalid address but, as you know this not to be the case, I
am thinking it might be a communication issue that does not have
anything to do with the path being invalid.

 

Regards,

Schalk

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 22 October 2007 02:21 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] URGENT - Image.getInstance error

 

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 email and all content are subject to the following disclaimer:

http://content.momentum.co.za/content/legal/disclaimer_email.htm


-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to