Oh well, I was going through the classloader - How tos section. I ahve this following clarification. Sorry for my burst of mails though.

When I place my J2SE application Jar files under server/Lib ( these classes try to use the ServerFactory and other server classes, let us assume), my J2SE application is still not allowed to access these classes. So how is my presentation layer of the Web App get the details.

In the event, I'm going to bundle my WebApp something similar to the admin or manager app, isnt it in my own risk??

Also, I tried to configure the manager access for my local development server. The entries are

<user username="admin" password="admin" roles="admin,manager"/> in the tomcat-users.xml and the following line in the server conf.

<Context path="/manager" debug="0" privileged="true"
         docBase="c:/tomcat/jakarta-tomcat-4.1.18/server/webapps/manager">
                </Context>

When I connect to the URL

http://localhost:8080/manager, I get

"FAIL - Unknown command " as the response HTML page. Am I missing something here?

Thanks
Bala

At 09:41 PM 4/3/2003 -0800, you wrote:
nothing but the online documentation that comes with Tomcat,
If you want to access the server or any other class from /server/lib/*
just take a look at the "manager" webapp, and then of course you have the
source code.
and yes, tomcat ships with documentation, some on how the classloaders work

Filip

> -----Original Message-----
> From: Balaji [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 9:39 PM
> To: Tomcat Users List
> Subject: RE: Using the ServerFactory
>
>
> Hi,
>
> Thanks. But for the problem mentioned below, if the classloader is
> responsible, where can I find the details about the classloader
> architecture and the implementation of Tomcat.? Are there any documents
> about this?
>
> Regards
> Bala
>
>
> At 09:05 PM 4/3/2003 -0800, you wrote:
> >yes, using JMX is the correct way to go. Tomcat 5 will include
> stats through
> >JMX
> >
> >Filip
> >
> > > -----Original Message-----
> > > From: Balaji [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, April 03, 2003 9:05 PM
> > > To: Tomcat Users List
> > > Subject: RE: Using the ServerFactory
> > >
> > >
> > > No.  It is for an intranet purpose and I do not foresee it in the
> > > immediate
> > > plans. Given this, is there an solution to the said problem?
> > >
> > > Thanks
> > > Bala
> > >
> > >
> > > At 09:01 AM 4/3/2003 -0500, you wrote:
> > >
> > > >Howdy,
> > > >Do you have any interest at all in your webapp being
> portable to other
> > > >containers?
> > > >
> > > >Yoav Shapira
> > > >Millennium ChemInformatics
> > > >
> > > >
> > > > >-----Original Message-----
> > > > >From: Balaji [mailto:[EMAIL PROTECTED]
> > > > >Sent: Thursday, April 03, 2003 1:51 AM
> > > > >To: Tomcat Users List
> > > > >Subject: RE: Using the ServerFactory
> > > > >
> > > > >Hi,
> > > > >
> > > > >I have a webapp and as a small part of my Application, I
> try to list
> > > >the
> > > > >Tomcat server statistics. I figured that if I can get a
> reference to
> > > >the
> > > > >Server Object through ServerFactory, I get the server
> Info. But this
> > > > >returns me a null object for the Server.
> > > > >
> > > > >The only other way I figure out is that I need to look up the
> > > > >StandardServerMBean from the MBeanServer registry and get the
> > > >information.
> > > > >Is that right?
> > > > >
> > > > >Kind Regards
> > > > >Bala
> > > > >
> > > > >At 09:24 AM 4/2/2003 -0500, you wrote:
> > > > >
> > > > >>Howdy,
> > > > >>What are you trying to do?
> > > > >>
> > > > >>Yoav Shapira
> > > > >>Millennium ChemInformatics
> > > > >>
> > > > >>
> > > > >> >-----Original Message-----
> > > > >> >From: Balaji [mailto:[EMAIL PROTECTED]
> > > > >> >Sent: Wednesday, April 02, 2003 7:21 AM
> > > > >> >To: Tomcat Users List
> > > > >> >Subject: Using the ServerFactory
> > > > >> >
> > > > >> >Hi ,
> > > > >> >
> > > > >> >The following code returns me a null object for ServerFactory. I
> > > >assume
> > > > >> >that accessing ServerFactory would help me get all the
> details of
> > > >the
> > > > >> >Tomcat Server. Is my assumption right??
> > > > >> >
> > > > >> >
> > > > >> >       server = ServerFactory.getServer();
> > > > >> >       if(server == null)
> > > > >> >               System.out.println("Server is  null");
> > > > >> >
> > > > >> >Any help would be appreciated.
> > > > >> >
> > > > >> >Thanks
> > > > >> >Bala
> > > > >> >
> > > > >> >
> > > > >>
> > > >
> >---------------------------------------------------------------------
> > > > >> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > >> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >>This e-mail, including any attachments, is a confidential business
> > > > >>communication, and may contain information that is confidential,
> > > > >>proprietary and/or privileged.  This e-mail is intended
> only for the
> > > > >>individual(s) to whom it is addressed, and may not be
> saved, copied,
> > > > >>printed, disclosed or used by anyone else.  If you are not the(an)
> > > > >>intended recipient, please immediately delete this e-mail
> from your
> > > > >>computer system and notify the sender.  Thank you.
> > > > >>
> > > > >>
> > > >
> >>---------------------------------------------------------------------
> > > > >>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]
> > > >
> > > >
> > > >
> > > >
> > > >This e-mail, including any attachments, is a confidential business
> > > >communication, and may contain information that is confidential,
> > > >proprietary and/or privileged.  This e-mail is intended only for the
> > > >individual(s) to whom it is addressed, and may not be saved, copied,
> > > >printed, disclosed or used by anyone else.  If you are not the(an)
> > > >intended recipient, please immediately delete this e-mail from your
> > > >computer system and notify the sender.  Thank you.
> > > >
> > > >
> > > >---------------------------------------------------------------------
> > > >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]
> > >
> > >
> >
> >
> >
> >---------------------------------------------------------------------
> >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]
>
>



---------------------------------------------------------------------
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]



Reply via email to