Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / March 2004

Tip: Looking for answers? Try searching our database.

RMI client as bean in webapp (tomcat)

Thread view: 
Larry S - 12 Mar 2004 15:05 GMT
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 - 12 Mar 2004 19:09 GMT
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.

> hey there.
> I have a RMI Server/Client thing working when the client is its own
[quoted text clipped - 13 lines]
>
> thanks!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.