what is the file you are trying to read, ie what is the extension.

did you check if the server allows you to access the file directly.. ie
http://server:port/dir/yourfile.ext

are you able to access the this way ?


----- Original Message -----
From: "Efrat Bar-Nahum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, November 19, 2003 12:27 AM
Subject: ConnectException in Tomcat 4.1


Hi,

I'm trying to run my web application with Tomcat 4.1 (until now I worked
with Tomcat 3.2, and didn't have any problems).
In my application I have an applet that reads from a file (the file is
located on the web server.)
When I try to do it (using Url.openStream()) I get:
java.net.ConnectException: Connection refused.

I guess I have to configure some kind of permissions in the tomcat
configuration files or something like that, but I didn't find anything.
(In my Java policy tool I made sure to give java.security.AllPermission, but
I'm not sure that it's connected).

I know that the problem is not with my applet since the same code is running
perfectly on Tomcat 3.2.
Can you please help me?...

Thanks a lot,
Efrat


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Confidentiality Notice 

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to