password encryption

2011-04-01 Thread Henry Lu
I tried the following command and failed as tomcat home directory: C:\apps\apache-tomcat-7.0.11>java -cp lib/catalina.jar;bin/tomcat-juli.jar org.a pache.catalina.realm.RealmBase -a md5 henry Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tomcat/uti l/res/StringManager

Re: Problem with too many open db connections on Tomcat

2011-04-01 Thread Henry Lu
Is there a way to encrypt the password in the Resource tag and tomcat can still read it and decrypt? -Henry On 4/1/2011 9:58 AM, Mark Thomas wrote: On 01/04/2011 14:56, Claus Hausberger wrote: Original-Nachricht Datum: Fri, 01 Apr 2011 14:49:56 +0100 Von: Mark Thomas An: T

Re: tomcat 7 eliminate connection

2011-03-27 Thread Henry Lu
.168\.1\.\d+" would cover it. If not, please clarify further HTH Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Google!! They need to add GAL support on Android http://code.google.com/p/android/issues/detail?id=4602 2011/3/27 Henry Lu based u

tomcat 7 eliminate connection

2011-03-27 Thread Henry Lu
based upon the documentation, in the like the following: to only allow local access. Can we using wild card or a set of url/ip addrss access? Could someone give me some examples for allowing: 123.122.* 111.* 101.202.1.* -Henry -

Re: tomcat 7 lib

2011-03-27 Thread Henry Lu
I found the errors. The problem is in the server.xml. in 7.0.8, I set as following: in the 7.0.11, it didn't work. I have to set a context for my app and add the database resource config into the context. What I understand is that if I put the db resource in the GlobalNamingResources,

Re: tomcat 7 lib

2011-03-27 Thread Henry Lu
I did downloaded tomcat 7.0.11 and tried it with same settings and apps as 7.0.8 this time I got the following errors which I didn't get at all: INFO: Deploying web application directory cppclient log4j:ERROR Error occured while sending e-mail notification. javax.mail.MessagingException: Could n

Re: tomcat 7 lib

2011-03-27 Thread Henry Lu
It works! Thank you very much! -Henry On 3/27/2011 2:15 PM, Konstantin Kolinko wrote: 2011/3/27 Henry Lu: On 3/27/2011 2:01 PM, Konstantin Kolinko wrote: the suffix is exactly "*.jar". No other patterns are recognized. Thank you very much for you info. here was what I did: the

Re: tomcat 7 lib

2011-03-27 Thread Henry Lu
On 3/27/2011 2:01 PM, Konstantin Kolinko wrote: the suffix is exactly "*.jar". No other patterns are recognized. Thank you very much for you info. here was what I did: the suffix is exactly "*.jar". No other patterns are recognized. common.loader=...,${catalina.base}/lib/my_lib/*.jar and ev

tomcat 7 lib

2011-03-27 Thread Henry Lu
Can some one tell me how to add a sub folder under ${catalina.base}/lib something like ${catalina.base}/lib/my_lib so that all my apps will share these jar files under my_lib? I tried to edit the catalina.properties file and add ${catalina.base}/lib/my_lib/*.jar to common.loader=, server.load