Home > Archive > Java Security > March 2004 > RMI client as bean in webapp (tomcat)
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
RMI client as bean in webapp (tomcat)
|
|
| Larry S 2004-03-19, 8:55 pm |
| 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!
| |
| Larry S 2004-03-19, 8:55 pm |
| nevermind 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.google.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!
|
|
|
|
|