Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Fw: [equinox-dev] Tomcat plugin RMI security problem


This is the bug report on RMI & security. Essentially, the Eclipse startup sequence needs to access a class' protection domain to find where it is installed, and this is prohibited by the RMI security policy.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=7220
--

equinox-dev-admin@xxxxxxxxxxx wrote on 02/15/2004 11:16:29 PM:

>
> I believe there is a known issue with using the RMI security manager
> in 2.1 (at least it sounds familiar to me).  You should search the
> bug database and mail/news archives.  Also, note that this mailing
> list is for equinox developers.  Equinox is the new 3.0 runtime so
> most of the people here don't really know that much about the 2.1
> runtime.  You might try the platform newsgroup.
>
> Jeff
>
>

>
> "Eime, Raymond (CAA)" <Raymond.Eime@xxxxxxxxxxxxxxxx>
> Sent by: equinox-dev-admin@xxxxxxxxxxx

> 02/15/2004 09:48 PM
>
> To

>
> "'equinox-dev@xxxxxxxxxxx'" <equinox-dev@xxxxxxxxxxx>

>
> cc

>
> Subject

>
> [equinox-dev] Tomcat plugin RMI security problem

>
>
>
>
> Hi,
>
> I'm having a  problem setting up my eclipse-tomcat debugging environment.
>
> I'm using Eclipse 2.1.0 with sysdeo tomcat plugin 2.2.1 & running tomcat
> 4.1.24 all running in a Windows 2000 environment.
> I'm also using an RMI server to do work for my application while in
> development stage.  I should also mention I'm not using java security within
> my application at this point.
>
> When I start a standalone tomcat server I have no problem using my RMI sever
> but when I start tomcat within Eclipse and my code trys to create the
> RMISecurity manager, ie execute "System.setSecurityManager(new
> RMISecurityManager());" I get an access denied exception thrown by the
> java.security.AccessControlContext class.
> eg java.security.AccessControlException: access denied
> (java.util.PropertyPermission catalina.base read)
>
> I have granted all permissions on my java.policy in both my tomcat instance
> & the RMI server.  I've tried setting the system variable
> "java.security.policy" to point to my java.policy file from within may
> application code as a last resort and still no success.
>
> I hope someone can be of assistance.
>
> cheers
>
> Ray Eime
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/equinox-dev

Back to the top