The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


URLConnection.getInputStream Exception when connecting to JRun Servlet

Posted by Franklin Perez on October 26, 2000 at 10:38 AM

I have a simple java application that opens a URLConnection to a servlet, which for testing purposes acts as a echo server. This combination works using JavaWebServer2.0, however, I'm trying to migrate to JRun over IIS.

I have been successful at accessing the Servlet via a browser, but when my java application tries to open a URLConnection the following is returned:

Exception in thread "main" http://localhost:8100/demo/servlet/EchoServlet at .java:530) at TestApp.main(, Compiled Code)

Is this a bug or just a configuration issue? I am new to JRun and have run into a brick wall. I have tried configuring virtual paths and I have verified that the web-connector is valid. I've restarted the server several times, and nothing i do seems to help.


Franklin Perez


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us