tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jon yeargers" <>
Subject Trying to get past
Date Wed, 08 Oct 2003 21:28:16 GMT
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
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:
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/-" {
and restarted the server with 
bin/ -security
.. to no avail. The situation hasn't changed. 
is this the right approach? Am I barking up the wrong proverbial tree?
(The applet in question is signed with a test cert - it makes it past
client security and sees my local drive ok)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message