Re: Applets, Servlets, Security issues
-Original Message- From: Caprio, Mike Sent: Tuesday, March 20, 2001 5:21 PM To: '[EMAIL PROTECTED]' Subject: RE: tomcat-user Digest 18 Mar 2001 19:28:59 - Issue 805 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 18, 2001 2:29 PM To: [EMAIL PROTECTED] Subject: tomcat-user Digest 18 Mar 2001 19:28:59 - Issue 805 Try running policytools (it will update .java.policy not java.policy) I'm running on jdk1.3 on Win97 using PWS 4.0... sorry about not being more specific about the platform. There is no .java.policy file that I've found, just java.policy... but I can try running the policytool EXE file too. thanks, Mike Caprio Software EngineerMicrowave Radio Corporation [EMAIL PROTECTED] 101 Billerica Avenue, Building 6 978-671-5770 North Billerica, MA 01862-1256
Re: Applets, Servlets, Security issues
-Original Message- From: Caprio, Mike Sent: Tuesday, March 20, 2001 5:18 PM To: '[EMAIL PROTECTED]' Subject: RE: tomcat-user Digest 18 Mar 2001 01:53:55 - Issue 804 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 17, 2001 8:54 PM To: [EMAIL PROTECTED] Subject: tomcat-user Digest 18 Mar 2001 01:53:55 - Issue 804 "Caprio, Mike" wrote: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) when I send an event to the applet that should start the applet to servlet communications. That is a very specific exception - what are you trying to do with a Thread when it occurs? Apologies to all for the multiple posts - I wasn't aware of how long it would take for a message to make it to the list. There's a thread in the applet code which handles display changes; specifically, there's an applet called DisplayController. Upon pressing the applet's button, I get this exception, and it pretty much dies in the event handling code when it tries to create the thread. I'm not even sure if this is specifically Tomcat or Java which is not allowing me to create a thread... Mike Caprio Software EngineerMicrowave Radio Corporation [EMAIL PROTECTED] 101 Billerica Avenue, Building 6 978-671-5770 North Billerica, MA 01862-1256
Re: Applets, Servlets, Security issues
Try running policytools (it will update .java.policy not java.policy) Caprio, Mike wrote: Hi folks, I'm hoping someone on the list can point me in the right direction on a problem I'm having with applet to servlet communication. Specifically, I'm getting: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) when I send an event to the applet that should start the applet to servlet communications. Another developer has given me several classes, developed in JBuilder, that I'm now trying to install into Tomcat. I've created entries in the appropriate conf files for a new web application, and set crossContext="true" so that I can get servlet contexts. I've set tomcat.policy to grant all permissions for the appropriate webapp directory. I've also changed the java.policy file in the JRE security directory to grant all permissions to the absolute URL that the webapp is at. I'm pretty much at the end of my rope. Can anyone out there give me a hand? Mike Caprio Software Engineer Microwave Radio Corporation [EMAIL PROTECTED]101 Billerica Avenue, Building 6 978-671-5770North Billerica, MA 01862-1256
Applets, Servlets, Security issues
Hi folks, I'm hoping someone on the list can point me in the right direction on a problem I'm having with applet to servlet communication. Specifically, I'm getting: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) when I send an event to the applet that should start the applet to servlet communications. Another developer has given me several classes, developed in JBuilder, that I'm now trying to install into Tomcat. I've created entries in the appropriate conf files for a new web application, and set crossContext="true" so that I can get servlet contexts. I've set tomcat.policy to grant all permissions for the appropriate webapp directory. I've also changed the java.policy file in the JRE security directory to grant all permissions to the absolute URL that the webapp is at. I'm pretty much at the end of my rope. Can anyone out there give me a hand? Mike Caprio Software Engineer Microwave Radio Corporation [EMAIL PROTECTED]101 Billerica Avenue, Building 6 978-671-5770North Billerica, MA 01862-1256
Applets, Servlets, Security issues
Hi folks, I'm hoping someone on the list can point me in the right direction on a problem I'm having with applet to servlet communication. Specifically, I'm getting: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) when I send an event to the applet that should start the applet to servlet communications. Another developer has given me several classes, developed in JBuilder, that I'm now trying to install into Tomcat. I've created entries in the appropriate conf files for a new web application, and set crossContext="true" so that I can get servlet contexts. I've set tomcat.policy to grant all permissions for the appropriate webapp directory. I've also changed the java.policy file in the JRE security directory to grant all permissions to the absolute URL that the webapp is at. I'm pretty much at the end of my rope. Can anyone out there give me a hand? Mike Caprio Software Engineer Microwave Radio Corporation [EMAIL PROTECTED]101 Billerica Avenue, Building 6 978-671-5770North Billerica, MA 01862-1256
Applets, Servlets, Security issues
Hi folks, I'm hoping someone on the list can point me in the right direction on a problem I'm having with applet to servlet communication. Specifically, I'm getting: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) when I send an event to the applet that should start the applet to servlet communications. Another developer has given me several classes, developed in JBuilder, that I'm now trying to install into Tomcat. I've created entries in the appropriate conf files for a new web application, and set crossContext="true" so that I can get servlet contexts. I've set tomcat.policy to grant all permissions for the appropriate webapp directory. I've also changed the java.policy file in the JRE security directory to grant all permissions to the absolute URL that the webapp is at. I'm pretty much at the end of my rope. Can anyone out there give me a hand? Mike Caprio Software Engineer Microwave Radio Corporation [EMAIL PROTECTED]101 Billerica Avenue, Building 6 978-671-5770North Billerica, MA 01862-1256
Re: Applets, Servlets, Security issues
"Caprio, Mike" wrote: Hi folks, I'm hoping someone on the list can point me in the right direction on a problem I'm having with applet to servlet communication. Specifically, I'm getting: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) when I send an event to the applet that should start the applet to servlet communications. That is a very specific exception - what are you trying to do with a Thread when it occurs? -- WBB - [EMAIL PROTECTED] Java Cert mock exams http://www.lanw.com/java/javacert/ Author of Java Developer's Guide to Servlets and JSP ISBN 0-7821-2809-2