You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by pero <pe...@antaramusic.de> on 2001/10/20 19:23:26 UTC
adding Blocks to James
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: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org
Re: adding Blocks to James
Posted by Serge Knystautas <se...@lokitech.com>.
If we get a web-based admin system and found a license-compatible java-based
webmail project we all liked, I'm not against including it. Mainly I just
didn't want people starting a new project when there's already a lot of
webmail code around.
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/
----- Original Message -----
From: "Peter Romianowski" <pe...@antaramusic.de>
To: <ja...@jakarta.apache.org>
Sent: Sunday, October 21, 2001 2:35 PM
Subject: RE: adding Blocks to James
> Hi again,
>
> > I have the same idea! I already started to write a webadmin-interface
> > based on struts! I'm just at the beginning!
> > What is your primary idea?!?
>
> I intend to use Tomcat 4 and some sort of 'jsp-framework' I have developed
> and used in many projects which speeds up the jsp writing (by simplifying
> parameter-definition and -checking and html-generating). If I understood
> Serge right, then the web-interface will NOT be part of the james
> distribution, but an addon, so I think I can develop it the way I'm used
to.
> All in all I dont think that writing the web-interface will be a huge
> project, because with the basics you've written (RMI-Manager) 'only' the
> web-frontend is needed.
>
> But before we start developing the same thing, we should discuss our
> strategies (and perhaps work together). I will have a closer look at
struts
> for I don't know much about it. I think this project (web-interface) would
> be a good thing to start having a closer look at other strategies like
> struts.
>
> So, now I will try out your RMI-Manager and will post my ideas on the
> web-interface later on.
>
> cheers,
> pero
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org
RE: adding Blocks to James
Posted by Peter Romianowski <pe...@antaramusic.de>.
Hi again,
> I have the same idea! I already started to write a webadmin-interface
> based on struts! I'm just at the beginning!
> What is your primary idea?!?
I intend to use Tomcat 4 and some sort of 'jsp-framework' I have developed
and used in many projects which speeds up the jsp writing (by simplifying
parameter-definition and -checking and html-generating). If I understood
Serge right, then the web-interface will NOT be part of the james
distribution, but an addon, so I think I can develop it the way I'm used to.
All in all I dont think that writing the web-interface will be a huge
project, because with the basics you've written (RMI-Manager) 'only' the
web-frontend is needed.
But before we start developing the same thing, we should discuss our
strategies (and perhaps work together). I will have a closer look at struts
for I don't know much about it. I think this project (web-interface) would
be a good thing to start having a closer look at other strategies like
struts.
So, now I will try out your RMI-Manager and will post my ideas on the
web-interface later on.
cheers,
pero
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org
Re: adding Blocks to James
Posted by Gabriel Bucher <ga...@razor.ch>.
Peter Romianowski wrote:
> Hi Buchi,
>
> I took a first look into your proposal and it's pretty much the same I
> intended to do and it looks really promising. Later on I will go deeper and
> try it out.
> But it really saved a lot of work (at least for me) so I can concentrate on
> writing the webadmin-interface.
I have the same idea! I already started to write a webadmin-interface
based on struts! I'm just at the beginning!
What is your primary idea?!?
Cheers,
Buchi
> I think why I was running into problems is because I tried to write an
> independent block, which was not that integrated in james (like yours). I
> have to say that I'm not that experienced with avalon/phoenix so that I
> really appreciate your approach and work. I hope the james guys like it too
> and integrate it into james.
>
> Later on more about that,
>
> thanks,
> pero
>
> -----Original Message-----
> From: Gabriel Bucher [mailto:gabriel.bucher@razor.ch]
> Sent: Sunday, October 21, 2001 2:40 PM
> To: james-dev@jakarta.apache.org
> Subject: Re: adding Blocks to James
>
>
> 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: james-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: james-dev-help@jakarta.apache.org
> >
> >
> >
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org
RE: adding Blocks to James
Posted by Peter Romianowski <an...@gmx.de>.
Hi Buchi,
I took a first look into your proposal and it's pretty much the same I
intended to do and it looks really promising. Later on I will go deeper and
try it out.
But it really saved a lot of work (at least for me) so I can concentrate on
writing the webadmin-interface.
I think why I was running into problems is because I tried to write an
independent block, which was not that integrated in james (like yours). I
have to say that I'm not that experienced with avalon/phoenix so that I
really appreciate your approach and work. I hope the james guys like it too
and integrate it into james.
Later on more about that,
thanks,
pero
-----Original Message-----
From: Gabriel Bucher [mailto:gabriel.bucher@razor.ch]
Sent: Sunday, October 21, 2001 2:40 PM
To: james-dev@jakarta.apache.org
Subject: Re: adding Blocks to James
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: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org
Re: adding Blocks to James
Posted by Gabriel Bucher <ga...@razor.ch>.
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: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org