Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

RMI client as bean in webapp (tomcat)
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!

Report this thread to moderator Post Follow-up to this message
Old Post
Larry S
03-20-04 01:55 AM


Re: RMI client as bean in webapp (tomcat)
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.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!

Report this thread to moderator Post Follow-up to this message
Old Post
Larry S
03-20-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Security archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 11:43 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.