tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jon yeargers" <>
Subject RE: Trying to get past
Date Thu, 09 Oct 2003 16:03:34 GMT
I guess Im confused as it worked fine when run against the same server
code runnning in my IDE. I assumed that Tomcat would have more security
to prevent hostile apps from doing damage.

-----Original Message-----
From: Tim Funk [] 
Sent: Wednesday, October 08, 2003 2:48 PM
To: Tomcat Users List
Subject: Re: Trying to get past

If your applet is bombing with, then your
applet is 
the problem, not tomcat.


jon yeargers wrote:

> Problem: Im trying to use an Applet to interact with my Tomcat code 
> via sockets to transfer files. I get the following exception:
> Connection refused: connect
> and it points to a line in my code where I call 
> URLConnection::getOutputStream();
> All well and good. I can see where this needs to be protected. I STFW 
> for information about setting tomcat security (since my books don't 
> seem to cover it very well.. bad books I guess) and found this page:
> .h
> tml
> Sounds like a good thing to try. My applet lives in 
> ${catalina.home}/webapps/viewer so I added this line to my 
> catalina.policy file:
> grant codebase "file:{catalina.home}/webapps/viewer/-" {
>     permission;
> };

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message