Hi Pero,
I started around 3 month ago an implementation of a rmi-based
admin-interface. I posted today a new proposal!
I had never problems like you described!
Please check out what I have done and im really interesting in feedback.
Thanks,
Buchi
pero wrote:
> Hi,
>
> I'm trying to implement a RMI-based admin-interface for James. Therefor I
> wrote a new Block called 'JamesRMIServer'. Now I am trying to add
this thing
> to james. I managed it to include it into the james.sar-file and it is
> executing fine (the JamesRMIManager has access to all important
> James-Resources like Userstore etc.) But when I try to bind the class
to the
> RMI-Naming-Service (with Naming.rebind("//localhost/JamesRMIServer",
> this); ) the SecurityManager denies to connect to the RMI-Port (1099).
> Running the thing from command-line works fine.
> After looking into the james-server.xml I found the
policy-constraints which
> say that every block should have full access. But, actually this is
not the
> case.
>
> Has anybody written a working RMI-interface for james? And how can I
bundle
> my Block without adding it to the james.sar-file? Or should I write the
> JamesRMIServer within the james-package making it a part of james?
>
> confused,
> pero
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]