how to access tomcat server version info in runtime?

2011-05-18 Thread Yongqin Xu
Hello, If I am using Tomcat 7, what's the best way for my web app to retrieve the sever version info? thanks.

RE: tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-11 Thread Yongqin Xu
Assume you have TC7 installed and configured.1. put a any jar to your separate local path, such as /home/foo/lib/food.jar2. edit $CATALINA_HOME/conf/catalina.properties to apend "${foo.bar}/lib/food.jar" to common.loader property3, setenv JAVA_OPTS -Dfoo.bar=/home/foo4. start TC7, then stop TC

RE: tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-11 Thread Yongqin Xu
I would love to see that happen. thanks. > Date: Wed, 11 May 2011 10:01:48 -0400 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: tomcat 7: common.loader property in catalina.properties does not > take ANT style variable > > -BEGIN PGP SIGNED MESSAGE- >

tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-09 Thread Yongqin Xu
The default common.loader property has${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jarI added my own entries like ${oracle.home}/lib/*.jar, and set $JAVA_OPTS=-Doracle.home=/usr/local/oracle, then start tomcat 7 and stop tomcat 7, the stop complai

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-05 Thread Yongqin Xu
possible to config tomcat common classloader to > point to other location? > > > From: Yongqin Xu [mailto:yong...@hotmail.com] > > Subject: RE: tomcat 7: is it possible to config tomcat common classloader > > to point to other location? > > > I mean, can I def

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-02 Thread Yongqin Xu
rom: chuck.caldar...@unisys.com > To: users@tomcat.apache.org > Date: Mon, 2 May 2011 23:39:59 -0500 > Subject: RE: tomcat 7: is it possible to config tomcat common classloader to > point to other location? > > > From: Yongqin Xu [mailto:yong...@hotmail.com] > > Subject: R

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-02 Thread Yongqin Xu
er location? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yongqin, > > On 4/26/2011 6:57 PM, Yongqin Xu wrote: > > I am using TC 7, and the doc says, TC common classloader load > > $CATALINA_HOME/lib for thosecommonly shared lib jar files. Is it > >

tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-04-26 Thread Yongqin Xu
Hello, I am using TC 7, and the doc says, TC common classloader load $CATALINA_HOME/lib for thosecommonly shared lib jar files. Is it possible for me to config it pointing to other location? I know ifI define $CATALINA_BASE to point to a outside location, will $CATALINA_BASE/lib be used for TCc

RE: shared library in tomcat container runtime`

2011-04-22 Thread Yongqin Xu
ubject: RE: shared library in tomcat container runtime` > > > From: Yongqin Xu [mailto:yong...@hotmail.com] > > Subject: RE: shared library in tomcat container runtime` > > > for our own shared lib jars, we have to duplicate them for each > > deployed apps, even if

RE: shared library in tomcat container runtime`

2011-04-22 Thread Yongqin Xu
Yes, I am using TC 7.0.12, this virtual webapp loader could be very useful. > Date: Sat, 23 Apr 2011 00:45:04 +0400 > Subject: Re: shared library in tomcat container runtime` > From: knst.koli...@gmail.com > To: users@tomcat.apache.org > > 2011/4/22 Yongqin Xu : > >

RE: shared library in tomcat container runtime`

2011-04-22 Thread Yongqin Xu
dar...@unisys.com > To: users@tomcat.apache.org > Date: Fri, 22 Apr 2011 12:12:23 -0500 > Subject: RE: shared library in tomcat container runtime` > > > From: Yongqin Xu [mailto:yong...@hotmail.com] > > Subject: shared library in tomcat container runtime` > > > In

shared library in tomcat container runtime`

2011-04-22 Thread Yongqin Xu
Hello, According to TC docs, $CATALINA_HOME/lib can hold shared lib jars for all deployed apps, and each deployed app , such as web app, will have its own classloader. My question is: In runtime, will each app get its own separate object instances from the same shared lib jars? Even for those