Livesites
Cocoon 2 www.triptravel.net and there is a WAP-enabled version accesible in: www.triptravel.net/index.wml (from your wap device) both are in spanish Thanks !! Lucas Pons Bayarri Etra I+D Valencia, Spain +34 96 313 40 82 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
bug ?
I have previously send this question, but now I've tried many solutions, and no one works. The question is easy to explain: I have a Servlet which uses URLConnection in order to retrieve comunicate and retrieve from a external site. It works fine as a Tomcat Servlet. but when I make a pipeline that calls this servlet, it fails in the getInputStream() function, the funtion that gets the internet resource. Anobody knows why this servlet works when it is directly called and don't when it is called by Cocoon? the output that I get is the following: . DEBUG (2002-01-03) 11:49.48:722 [cocoon ] (/cocoon/wh@m/exec/GenerateItinerary) Thread-16/DefaultComponentFactory: ComponentFactory decommissioning instance of org.apache.cocoon.components.parser.JaxpParser. WARN(2002-01-03) 11:49.48:722 [cocoon ] (/cocoon/wh@m/exec/GenerateItinerary) Thread-16/FileGenerator: Could not find resource http://portet:8080/cocoon/wh@m/GenerateItinerary java.io.FileNotFoundException: http://portet:8080/cocoon/wh@m/GenerateItinerary at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:574) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection .java:817) at java.net.HttpURLConnection.getHeaderFieldDate(HttpURLConnection.java:270) at java.net.URLConnection.getLastModified(URLConnection.java:424) at org.apache.cocoon.components.source.URLSource.getInfos(URLSource.java:97) at org.apache.cocoon.components.source.URLSource.getLastModified(URLSource.java :113) at org.apache.cocoon.generation.FileGenerator.generateKey(FileGenerator.java:81 ) at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven tPipeline.java:250) at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi ngEventPipeline.java:103) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:279) at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN40F(sitemap_xmap.java:5461) Lucas Pons Bayarri Etra I+D Valencia, Spain +34 96 330 40 82 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem with URLConnection
My code receives data from external data sources. I get this data with the URLConnection class, everything works fine in Tomcat 1.3.1. I can Post the parameters and receive the results of the external cgi. I have a servlet which makes it (probed). but (always there is a but :) ) I have problems integrating this servlet into the cocoon pipeline, (both cocoon and tomcat runs in the same machine, of course). it fails in the generate .. step, and I get a IOException message. I can connect to the Internet with or without a proxy (we are still migrating to dsl). Can any of you help me ?. thank in advance, and merry chrismas for all of us, cocoon bunch Lucas Pons Bayarri Etra I+D Valencia, Spain +34 96 330 40 82 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with URLConnection
this is the fragment of the Servlet where the URL is accesed: . String XML = buf.toString(); try{ URL miurl = new URL(http://www.whatever.es/cgi-bin/XMLprocess;); URLConnection con = miurl.openConnection(); con.setDoOutput(true); PrintWriter escritor = new PrintWriter(con.getOutputStream()); escritor.println(XML= + URLEncoder.encode(XML)); escritor.close(); out.println(i arrive here); BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); out.println(i don't arrive here); . }catch (IOException ee ){ out.println(IOException: + ee.getLocalizedMessage()); } ... it is very simple and it works when is directly called as: http://portet:8080/cocoon/generateItinerary this address does not match any pipeline in the sitemap. I try to integrate this servlet in the next way: map:match pattern=wh@m/exec/GenerateItinerary map:act type=request map:parameter name=parameters value=true/ map:generate src=http://portet:8080/cocoon/wh@m/GenerateItinerary?Orig={Orig}amp;Dest={ Dest}amp;CodOrig= {CodOrig}amp;CodDest={CodDest}amp;modo={modo}amp;criterio={criterio}amp; Fecha={Fecha}amp;Hora={Hora}/ /map:act map:select map:when test=wap map:transform src=wh@m/styles/Itinerary2wml.xsl/ map:serialize type=wap/ /map:when map:otherwise map:transform src=wh@m/styles/Itinerary2html.xsl/ map:serialize type=html/ /map:otherwise /map:select map:serialize type=html/ /map:match The output I receive is the next: ... IOException: http://www.whatever.es/cgi-bin/XMLprocess ... Not very descriptive :( I think, my problem is related to the internet conection. we have changed the internet conection settings in the out net, so no proxy server is need any more. Shall I rebuild Cocoon? I also managed to change the proxy settings in the java plug-in control panel, seting and removing the proxy parameter, but I haven't succed at all. -Mensaje original- De: Reinhard Pötz [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 02 de enero de 2002 16:27 Para: [EMAIL PROTECTED] Asunto: AW: problem with URLConnection Hi lucas, Could you give me further details (your goals, pipeline, error message ...). Regards, Reinhard -Ursprüngliche Nachricht- Von: lucas [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 02. August 2001 16:12 An: COCOON Betreff: problem with URLConnection My code receives data from external data sources. I get this data with the URLConnection class, everything works fine in Tomcat 1.3.1. I can Post the parameters and receive the results of the external cgi. I have a servlet which makes it (probed). but (always there is a but :) ) I have problems integrating this servlet into the cocoon pipeline, (both cocoon and tomcat runs in the same machine, of course). it fails in the generate .. step, and I get a IOException message. I can connect to the Internet with or without a proxy (we are still migrating to dsl). Can any of you help me ?. thank in advance, and merry chrismas for all of us, cocoon bunch Lucas Pons Bayarri Etra I+D Valencia, Spain +34 96 330 40 82 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with URLConnection
thanks for the help, tomorrow i'll try it bye -Mensaje original- De: Reinhard Pötz [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 02 de enero de 2002 17:39 Para: [EMAIL PROTECTED] Asunto: AW: problem with URLConnection I can't offer you a concret solution - but you may try this: Try the HTMLGenerator. map:generate type=html src=http://portet:8080/cocoon/wh@m/GenerateItinerary; map:parameter name=copy-parameters value=true/ /map:generate Regards, Reinhard -Ursprüngliche Nachricht- Von: lucas [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 02. August 2001 16:51 An: [EMAIL PROTECTED] Betreff: RE: problem with URLConnection this is the fragment of the Servlet where the URL is accesed: . String XML = buf.toString(); try{ URL miurl = new URL(http://www.whatever.es/cgi-bin/XMLprocess;); URLConnection con = miurl.openConnection(); con.setDoOutput(true); PrintWriter escritor = new PrintWriter(con.getOutputStream()); escritor.println(XML= + URLEncoder.encode(XML)); escritor.close(); out.println(i arrive here); BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); out.println(i don't arrive here); . }catch (IOException ee ){ out.println(IOException: + ee.getLocalizedMessage()); } ... it is very simple and it works when is directly called as: http://portet:8080/cocoon/generateItinerary this address does not match any pipeline in the sitemap. I try to integrate this servlet in the next way: map:match pattern=wh@m/exec/GenerateItinerary map:act type=request map:parameter name=parameters value=true/ map:generate src=http://portet:8080/cocoon/wh@m/GenerateItinerary?Orig={Orig} amp;Dest={ Dest}amp;CodOrig= {CodOrig}amp;CodDest={CodDest}amp;modo={modo}amp;criterio={cri terio}amp; Fecha={Fecha}amp;Hora={Hora}/ /map:act map:select map:when test=wap map:transform src=wh@m/styles/Itinerary2wml.xsl/ map:serialize type=wap/ /map:when map:otherwise map:transform src=wh@m/styles/Itinerary2html.xsl/ map:serialize type=html/ /map:otherwise /map:select map:serialize type=html/ /map:match The output I receive is the next: ... IOException: http://www.whatever.es/cgi-bin/XMLprocess ... Not very descriptive :( I think, my problem is related to the internet conection. we have changed the internet conection settings in the out net, so no proxy server is need any more. Shall I rebuild Cocoon? I also managed to change the proxy settings in the java plug-in control panel, seting and removing the proxy parameter, but I haven't succed at all. -Mensaje original- De: Reinhard Pötz [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 02 de enero de 2002 16:27 Para: [EMAIL PROTECTED] Asunto: AW: problem with URLConnection Hi lucas, Could you give me further details (your goals, pipeline, error message ...). Regards, Reinhard -Ursprüngliche Nachricht- Von: lucas [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 02. August 2001 16:12 An: COCOON Betreff: problem with URLConnection My code receives data from external data sources. I get this data with the URLConnection class, everything works fine in Tomcat 1.3.1. I can Post the parameters and receive the results of the external cgi. I have a servlet which makes it (probed). but (always there is a but :) ) I have problems integrating this servlet into the cocoon pipeline, (both cocoon and tomcat runs in the same machine, of course). it fails in the generate .. step, and I get a IOException message. I can connect to the Internet with or without a proxy (we are still migrating to dsl). Can any of you help me ?. thank in advance, and merry chrismas for all of us, cocoon bunch Lucas Pons Bayarri Etra I+D Valencia, Spain +34 96 330 40 82 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http
sendRedirect() problem
Hi all of you ! I'm performing a site for both html and wml clients. The logic of the system is performed by servlets (Tomcat 3.2.3). C2 is used to render this data properly for each client. This Works fine (90% finished) if the client directly requests the pages or calls the logic, the problem appears when a wap client calls a servlet which makes 'something', and then redirects the output to another pipeline: class myServlet { doGet() { my code res.sendRedirect(http://myserver/cocoon/anotherServlet;); } } the pipeline of this last servlet generates the xml, but fails rendering the output, because it detects that the user is an html user (WRONG!),and formats the output appropiately, and then my WAP client could not show the output. I think my problem is that the second call (the redirect call) is performed by a 'fixed' user, cocoon, and then the second pipeline does not detect any wap client in this call. I know i can make another pipeline, which does not make any client type comparation, and directly renders it into a wml page, let's call it anotherServletWAP. But i prefer not to use much more pipelines and keep both html and wap not very differents. thank's all of you in advance. regards Lucas Pons Bayarri Etra I+D Valencia, Spain +34 96 330 40 82 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problems with Jtidy
Hi All, I have a problem integrating Jtidy into my cocoon application. Any Help is appreciated. I am using Cocoon and JDOM to generate the XML at the server and applying a certain XSLT stylesheet to it. At a certain point of the transformation, I need to insert a mal-formed HTML into the XSLT output stream. I believe I can use JTidy to actually convert this to a well-formed HTML and then have it inserted into the output. My problem is that I just cant start off. How do I reference the XSLT to call the Jtidy application. Can Jtidy accept a ill-formed HTML on the fly, generate a XHTML and send the XHTML and the control back to the XSLT for further processing. If anybody has done this, a small piece of code will be nice. Thanks Lucas Pons Bayarri Etra I+D Valencia, Spain +34 96 330 40 82 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problems with Jtidy
thanks a lot! , this works fine. -Mensaje original- De: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 27 de diciembre de 2001 14:21 Para: [EMAIL PROTECTED] Asunto: Re: problems with Jtidy On Friday 27 July 2001 12:41, lucas wrote: At a certain point of the transformation, I need to insert a mal-formed HTML into the XSLT output stream. You could use the standard Cocoon HTMLGenerator to do this, for example: map:generate type=html src=http://somehost/file.html/ And maybe aggregate this with your XML using map:aggregate, to have both XML trees in a single document for further processing. -- -- Bertrand Delacrétaz, www.codeconsult.ch -- web technologies consultant - OO, Java, XML, C++ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: anybody has the sitemap.xmap?
that's for you. -Mensaje original-De: Andreas Panagiotidis [mailto:[EMAIL PROTECTED]]Enviado el: martes, 18 de diciembre de 2001 12:45Para: [EMAIL PROTECTED]Asunto: anybody has the sitemap.xmap? Please if anybody has the original sitemap.xmap (or partly differentiated) send it to me sitemap.xmap Description: Binary data - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Passing POST parameters to a request.
I must send a parameter to an external cgi. This cgi only implements doGet() method, and couldn't be changed. ¿How can i pass parameters to this external server using POST method?. I have a pipeline like that: map:match pattern=exec/external map:act type=request map:parameter name=parameters value=true/ map:generate src=http://www.external.es/cgi-bin/TheCGI; map:parameter name='XML' value={XML}/ /map:generate /map:act map:serialize type=html/ /map:match and I have a a servlet which create the parameter(XML) and links to this direction res.sendRedirect(http://myserv:8080/myproject/exec/external?XML=; + XML_VAR); I know the parameter is well-formed (probed), and the cgi also works. But a get a message from the external server warning me that i have not sended any parameter .. ¿what can i do? thanks in advance. Lucas Pons Bayarri Etra I+D Valencia, Spain +34 96 330 40 82 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problems with Html Generator
Thank's a lot for your interest ! You where right, as I read in the documentation the problem was related with my proxy configuration, so I try your solution. Unfortunalety I think I do something wrong: My proxy host is http://pinedo on port 80, so, I create the environment variable with value: TOMCAT_OPTS :-Dhttp.proxyhost=http://pinedo -Dhttp.proxyport=80 But the problem persist ¿Is the sintax correct? Thanks. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Sebastien Koechlin Enviado el: jueves, 18 de octubre de 2001 17:54 Para: [EMAIL PROTECTED] Asunto: Re: problems with Html Generator Please, do not post in HTML ! When I install Cocoon for the first time I didn't install the html generator, but now I need it so I install it. I get the file Tidy.jar and i put it on the lib's directory, but when i try to use it (even with the cocoon examples ), I get a `can't find file' message It's not a problem with HTMLGenerator, but with your server : java.net.UnknownHostException: www.yahoo.com The JVM can't resolv www.yahoo.com Are you using a proxy ? Did you declare it to the JVM ? if no, can you ping it ? Tomcat can be configured to work with a proxy server by specifying the following directives with the TOMCAT_OPTS system variable: -Dhttp.proxyhost=proxy_address -Dhttp.proxyport=proxy_port -- Sébastien Koechlin - IVision - [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problems with Html Generator
When I install Cocoon for the first time I didnt install the html generator, but now I need it so I install it. I get the file Tidy.jar and i put it on the libs directory, but when i try to use it (even with the cocoon examples ), I get a cant find file message And in the log file appear the following lines: CONTEXT PATH: /cocoon SERVLET PATH: /yahoo PATH INFO: null REMOTE HOST: CHUMILLAS REMOTE ADDRESS: 192.168.0.84 REMOTE USER: null REQUEST SESSION ID: 9abpnvdf81 REQUEST PREFERRED LOCALE: es_ES SERVER HOST: portet SERVER PORT: 8080 METHOD: GET CONTENT LENGTH: -1 PROTOCOL: HTTP/1.1 SCHEME: http AUTH TYPE: null REQUEST PARAMETERS: SESSION ATTRIBUTES: DEBUG (2001-10-18) 19:49.39:889 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment: Changing Cocoon context(sitemap.xmap) to prefix() DEBUG (2001-10-18) 19:49.39:889 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment: from context(file:/C:/ApacheGroup/Tomcat/webapps/cocoon/) and prefix() DEBUG (2001-10-18) 19:49.39:889 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment: at URI yahoo DEBUG (2001-10-18) 19:49.39:889 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment: New context is file:/C:/ApacheGroup/Tomcat/webapps/cocoon/ DEBUG (2001-10-18) 19:49.39:889 [cocoon ] (/cocoon/yahoo) Thread-15/DefaultPool: Retrieving a org.apache.cocoon.components.pipeline.CachingEventPipeline from the pool DEBUG (2001-10-18) 19:49.39:889 [cocoon ] (/cocoon/yahoo) Thread-15/DefaultPool: Retrieving a org.apache.cocoon.components.pipeline.CachingStreamPipeline from the pool DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap: Matched wildcardmatcher_wildcard_N5FB pattern:yahoo DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap: Component generator:html(param) DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap: Source=http://www.yahoo.com DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/DefaultPool: Retrieving a org.apache.cocoon.generation.HTMLGenerator from the pool DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap: Component transformer:xslt(emptyParam) DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap: Source=stylesheets/news/news.xsl DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/DefaultPool: Retrieving a org.apache.cocoon.transformation.TraxTransformer from the pool DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap: Component serializer:html(emptyParam) DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/DefaultPool: Retrieving a org.apache.cocoon.serialization.HTMLSerializer from the pool DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment: Resolving 'http://www.yahoo.com' DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/URLFactoryImpl: Making URL from http://www.yahoo.com DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment: Resolved to 'http://www.yahoo.com' DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment: Resolving 'stylesheets/news/news.xsl' DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/URLFactoryImpl: Making URL from file:/C:\ApacheGroup\Tomcat\webapps\cocoon\stylesheets\news\news.xsl DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment: Resolved to 'file:/C:/ApacheGroup/Tomcat/webapps/cocoon/stylesheets/news/news.xsl' DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/TraxTransformer: Using stylesheet: 'file:/C:/ApacheGroup/Tomcat/webapps/cocoon/stylesheets/news/news.xsl' in org.apache.cocoon.transformation.TraxTransformer@7db937, last modified: 989441413000 DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/MRUMemoryStore: Getting object from memory. Key: file:/C:/ApacheGroup/Tomcat/webapps/cocoon/stylesheets/news/news.xsl DEBUG (2001-10-18) 19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/TraxTransformer: Reusing Templates in org.apache.cocoon.transformation.TraxTransformer@7db937 for file:/C:/ApacheGroup/Tomcat/webapps/cocoon/stylesheets/news/news.xsl WARN (2001-10-18) 19:49.39:909 [cocoon ] (/cocoon/yahoo) Thread-15/HTMLGenerator: HTMLGenerator.generate() java.net.UnknownHostException: www.yahoo.com at java.net.InetAddress.getAllByName0(InetAddress.java:571) at java.net.InetAddress.getAllByName0(InetAddress.java:540) at java.net.InetAddress.getByName(InetAddress.java:449) at java.net.Socket.init(Socket.java:100) at sun.net.NetworkClient.doConnect(NetworkClient.java:50) at sun.net.www.http.HttpClient.openServer(HttpClient.java:331) at sun.net.www.http.HttpClient.openServer(HttpClient.java:517) at sun.net.www.http.HttpClient.init(HttpClient.java:267) at sun.net.www.http.HttpClient.init(HttpClient.java:277)