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 : > 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? >

Re: Mac and Google Authentication Issue

2011-03-27 Thread Dick Eastlake
what is "dlb" ? it is not initialized in your fragment of code.        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 tag  Yup, I mistakenly deleted it trying to clean up the email       

Re: Tomcat 7.0.11: bug with manager application when undeploying

2011-03-27 Thread Konstantin Kolinko
2011/3/25 Francis GALIEGUE : > 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 this directory

Re: Mac and Google Authentication Issue

2011-03-27 Thread Konstantin Kolinko
2011/3/28 Dick Eastlake : >                               name="j_username" value=" > <% >                   out.print(dlb.getEmail() + "\""); > %> >                         1) what is "dlb" ? it is not initialized in your fragment of code. What happens if the email is not found. 2) you might b

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 : > 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 tomcats on

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 i

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 authe

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

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 Konstantin Kolinko
2011/3/27 Henry Lu : >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 docs. --

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 Konstantin Kolinko
2011/3/27 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.ma

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

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 t

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 suffix is ex

Re: tomcat 7 lib

2011-03-27 Thread Konstantin Kolinko
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 suffix is exactly "*.jar". No other patterns are recognized. > > common.loader=...,${cat

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

Re: tomcat 7 lib

2011-03-27 Thread Konstantin Kolinko
2011/3/27 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 > >

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