Tx for your reply. But this doesnt work. Is there any other way to do it?
Thanks Bala
At 04:59 AM 4/2/2003 -0800, you wrote:
in order for you to be able to access this code, your jar would have to be inside of server/lib/
because of security reasons, tomcat doesn't share the classloader with with tomcat webapps.
Filip
> -----Original Message----- > From: Balaji [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 4: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] > >
--------------------------------------------------------------------- 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]