Code Comments
Programming Forum and web based access to our favorite programming groups.hey there. I have a RMI Server/Client thing working when the client is its own stand alone class/application. Its a very simple RMI function. Now, i just want to convert the client class into a javabean and access the Server method through a JSP. I keep getting the AccessControlException when trying to access this. This actually crashes my entire Tomcat instance. I'm assuming its because the bean can't find, or can't use my .policy file that i used to the original client. Can anyone help me on this? Are there any samples / tutorials out there on a webapp RMI Client? As always - any and all help is greatly appreciated. thanks!
Post Follow-up to this messagenevermind folks - i got it working.. its all in that catalina.policy file.. for testing purposes, i swapped it with a very open policy file, and it worked.. then, just run it with ./startup.sh -security, and all is good! awesome. dime0000@yahoo.com (Larry S) wrote in message news:<8fd7acb0.0403120705.32d1ecd@posting.goo gle.com>... > hey there. > I have a RMI Server/Client thing working when the client is its own > stand alone class/application. > Its a very simple RMI function. Now, i just want to convert the client > class into a javabean and access the Server method through a JSP. > > I keep getting the AccessControlException when trying to access this. > This actually crashes my entire Tomcat instance. I'm assuming its > because the bean can't find, or can't use my .policy file that i used > to the original client. > > Can anyone help me on this? Are there any samples / tutorials out > there on a webapp RMI Client? > > As always - any and all help is greatly appreciated. > > thanks!
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.