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=,

Re: tomcat 7 lib

2011-03-27 Thread Konstantin Kolinko
2011/3/27 Henry Lu z...@umich.edu: 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

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 even

Re: tomcat 7 lib

2011-03-27 Thread Konstantin Kolinko
2011/3/27 Henry Lu z...@umich.edu: 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.

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 Luz...@umich.edu: 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

Windows Authentication: Issue 49318 vs 47679

2011-03-27 Thread Stefan Mayr
Hello everybody, as many others before we wanted to do single-sign-on for intranet web applications using integrated windows authentication (negotiate because IE sometimes tries NTLM instead of using plain kerberos - breaking all our kerberos-only experiments). We thought that IIS would be

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

Re: tomcat 7 lib

2011-03-27 Thread Konstantin Kolinko
2011/3/27 Henry Lu z...@umich.edu: 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.

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: GlobalNamingResources !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- Resource name=UserDatabase auth=Container

Re: tomcat 7 lib

2011-03-27 Thread Konstantin Kolinko
2011/3/27 Henry Lu z...@umich.edu: What I understand is that if I put the db resource in the GlobalNamingResources, every app can access it. Yes, but additional configuration is required in each of those applications that want to a access it. Search GlobalNamingResources and ResourceLink in the

tomcat 7 eliminate connection

2011-03-27 Thread Henry Lu
based upon the documentation, in the context tag, we can set something like the following: Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127\.0\.0\.1/ to only allow local access. Can we using wild card or a set of url/ip addrss access? Could someone give me

Re: tomcat 7 eliminate connection

2011-03-27 Thread Serge Fonville
Hi, http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Request_Filters I found deny=192\.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

Mac and Google Authentication Issue

2011-03-27 Thread Dick Eastlake
Users can authenticate to the secured area of my Website using IE and Firefox; no problem Wouldn't you know, some pesky users want to use their Macs and some are trying with Google and neither of these work. Goes straight to the not_auth.html. Please help! I'm using a simple form-based

Re: tomcat 7 eliminate connection

2011-03-27 Thread Henry Lu
Can we have multiple allow and multiple deny value tags? what if I want to allow 123.11.22.33 and 212.22.11.33? -Henry On 3/27/2011 4:04 PM, Serge Fonville wrote: Hi, http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Request_Filters I found deny=192\.168\.1\.\d+ would cover it.

Re: Lack of shutdown port (port=-1) behavior does not appear to match documentation

2011-03-27 Thread Konstantin Kolinko
2011/3/26 Steven Schlansker ste...@trumpet.io: Hi everyone, I'm running Tomcat 6.0.32 on Linux and am encountering a pretty confusing mismatch between documentation and reality.  Hoping you can verify that this is a problem or point out where I'm doing things wrong. We are running multiple

Re: Mac and Google Authentication Issue

2011-03-27 Thread Konstantin Kolinko
2011/3/28 Dick Eastlake dickeastl...@yahoo.com:                               input tabindex=1 type=text name=j_username value= %                   out.print(dlb.getEmail() + \); %                         /td 1) what is dlb ? it is not initialized in your fragment of code. What happens if

Re: Tomcat 7.0.11: bug with manager application when undeploying

2011-03-27 Thread Konstantin Kolinko
2011/3/25 Francis GALIEGUE f...@one2team.com: Scenario: * tomcat starts, as user u1, with only the manager application in place; * it is configured as to not deploy automatically; * user u1 copies a webapp tree into $CATALINA_HOME/webapps, which it can since it has write/execute access to

Re: Mac and Google Authentication Issue

2011-03-27 Thread Dick Eastlake
what is dlb ? it is not initialized in your fragment of code.        jsp:useBean id=dlb scope=session class=com.dealer.beans.DealerBean/ gets initialized in another jsp. What happens if the email is not found. would be caught earlier and you are certainly missing closing from the input tag

Re: tomcat 7 eliminate connection

2011-03-27 Thread Konstantin Kolinko
See the JavaDoc for java.util.regex.Pattern in your JDK for the syntax. Note the examples for the RemoteHostValve in the docs mentioned by Serge below. 2011/3/28 Henry Lu z...@umich.edu: Can we have multiple allow and multiple deny value tags? what if I want to allow 123.11.22.33 and