You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by tcq tcq <to...@yahoo.com> on 2000/03/13 19:03:45 UTC
Tomcat and Apache configuration for JSP.
Hi all,
How do I configure Tomcat 3.0 and Apache web server
1.3.12 to communicate on Win NT?
I want to run JSP files.
Are there any documentation or a step by step process?
Please help...
Thanks
--Irfan
--- costin@eng.sun.com wrote:
> > It isn't HttpServer, but AdminImpl.java that i
> have overridden. I have
> > added a method getHttpServer() which return me the
> ref. to the
> > HttpServer that AdminImpl contains. From the
> HttpServer reference, i get
> > the CM and so on.
>
> > > I'm doing a look up in the RMI Registry to
> get a reference to the
> > > HttpServer(Tomcat "HttpServer" class)
> running[All my program knows is
> > > the host/port number of the registry].I have
> overridden the
> > > HttpServer.java, added a "getContextManager()"
> method using which i get
> > > a ref. to the context Manager. This,i use to get
> the info all the
> > > contexts i wish to modify(or delete etc.)
>
> You are using an old version of tomcat.
> Get 3.1beta and take a look at the admin interface.
> ( it's going to have a user/password and run on a
> different port ).
>
> You just need to write a normal servlet and make a
> normal http connection
> to your servlet. Inside the servlet you'll access
> the real Request object
> and get the ContextManager.
>
> Please note that all this will require special
> permissions for your
> servlet, and will be protected by a SecurityManager.
>
> Costin
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-dev-help@jakarta.apache.org
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Re: Tomcat and Apache configuration for JSP.
Posted by Arion <ar...@talentinfo.com.hk>.
Hi!
Yes, there's a document in Tomcat v3.1 beta1. Please check.
Arion
tcq tcq wrote:
> Hi all,
>
> How do I configure Tomcat 3.0 and Apache web server
> 1.3.12 to communicate on Win NT?
> I want to run JSP files.
>
> Are there any documentation or a step by step process?
>
> Please help...
>
> Thanks
>
> --Irfan
>
> --- costin@eng.sun.com wrote:
> > > It isn't HttpServer, but AdminImpl.java that i
> > have overridden. I have
> > > added a method getHttpServer() which return me the
> > ref. to the
> > > HttpServer that AdminImpl contains. From the
> > HttpServer reference, i get
> > > the CM and so on.
> >
> > > > I'm doing a look up in the RMI Registry to
> > get a reference to the
> > > > HttpServer(Tomcat "HttpServer" class)
> > running[All my program knows is
> > > > the host/port number of the registry].I have
> > overridden the
> > > > HttpServer.java, added a "getContextManager()"
> > method using which i get
> > > > a ref. to the context Manager. This,i use to get
> > the info all the
> > > > contexts i wish to modify(or delete etc.)
> >
> > You are using an old version of tomcat.
> > Get 3.1beta and take a look at the admin interface.
> > ( it's going to have a user/password and run on a
> > different port ).
> >
> > You just need to write a normal servlet and make a
> > normal http connection
> > to your servlet. Inside the servlet you'll access
> > the real Request object
> > and get the ContextManager.
> >
> > Please note that all this will require special
> > permissions for your
> > servlet, and will be protected by a SecurityManager.
> >
> > Costin
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tomcat-dev-help@jakarta.apache.org
> >
> >
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org