Auth-constraint with Tomcat 6

2009-06-23 Thread Clement Chong
Hi tomcat users, I am using Tomcat 6.0.20 and have successfully implemented a lockout realm with nested JDBCRealm and JNDIRealm. The security constraint has also been setup in my application WEB-INF/web.xml file: * User is now authenticated via JDBCRealm followed by JNDIRealm and

Re: problem in loging

2009-06-23 Thread André Warnier
pandeyprashant wrote: hi... plz tell me how to solve this problem? There is no problem. when i strat tomcat it shows this massage. Jun 24, 2009 9:45:56 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in p

Help: auth-constraint with Tomcat 6

2009-06-23 Thread Clement Chong
Hi tomcat users, I am using Tomcat 6.0.20 and have successfully implemented a lockout realm with nested JDBCRealm and JNDIRealm. The security constraint has also been setup in my application WEB-INF/web.xml file: * User is now authenticated via JDBCRealm followed by JNDIRealm and

problem in loging

2009-06-23 Thread pandeyprashant
hi... plz tell me how to solve this problem? when i strat tomcat it shows this massage. Jun 24, 2009 9:45:56 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the ja

Help: auth-constraint with Tomcat 6

2009-06-23 Thread Clement Chong
Hi tomcat users, I am using Tomcat 6.0.20 and have successfully implemented a lockout realm with nested JDBCRealm and JNDIRealm. The security constraint has also been setup in my application WEB-INF/web.xml file: * User is now authenticated via JDBCRealm followed by JNDIRealm and

Re: SSLImplementation

2009-06-23 Thread Bill Barker
"Susumu Sai" wrote in message news:7d50e06a0906231422q734e985dybc92648f59fae...@mail.gmail.com... >I have confirmed that SSLImplementation attribute works in Connector >of server.xml file (Refer to >http://mail-archives.apache.org/mod_mbox/tomcat-users/200609.mbox/%3c6244765.p...@talk.nabble.com

Re: problem with tomcat-native 1.1.14 and tomcat 6

2009-06-23 Thread Mladen Turk
Jay M wrote: I am trying to compile the tomcat-native-1.1.14 from Ubuntu, am getting the message Like Charles suggested try with 1.1.16 checking for OpenSSL library... using openssl from /usr/lib and /usr/include checking OpenSSL library version... not compatible checking for OpenSSL DSA sup

SSLImplementation

2009-06-23 Thread Susumu Sai
I have confirmed that SSLImplementation attribute works in Connector of server.xml file (Refer to http://mail-archives.apache.org/mod_mbox/tomcat-users/200609.mbox/%3c6244765.p...@talk.nabble.com%3e). But I just don't understand why SSLImplementation attribute is not included in Tomcat 6.0 document

Re: How does one control what the path is on the JSESSIONID cookie?

2009-06-23 Thread John Caron
Pid wrote: Filip Hanik - Dev Lists wrote: John Caron wrote: Tomcat 6.0.18 automatically adds the session cookie like: Set-Cookie: JSESSIONID=6D839FF3B960947CC6FD41B98CD02E0D; Path=/thredds How can I change the path part of the cookie? the only thing you can do is set it to em

Re: Trouble calling a secure Web Service requiring client certificate

2009-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, On 6/22/2009 4:37 PM, frank.bowar wrote: > I used WSDL2Java to create stubs for the Web Service I am connecting to. > Here is my code that wraps around the generated stubs: [snip] I didn't see any SSL or cert stuff in there. > The only metho

Re: Just a few questions on my Tomcat Configuration

2009-06-23 Thread Josh Gooding
P, Sorry, I'm not sure why GMail included you as well. It should only have gone to the tomcat users listing. I didn't realize that it was a servlet spec item and a non-tomcat item. I have downloaded SS 2.4 final. That has info on it. I've done a ton of mappings in the web.xml file already for

Re: Having login trouble to tomcat

2009-06-23 Thread Tom Gendron
Thank you! Silly me. Caldarale, Charles R wrote: From: tom.gend...@sun.com [mailto:tom.gend...@sun.com] Subject: Having login trouble to tomcat I don't see anything wrong in the logs. Any suggestions as to how I might debug this problem? Try uncommenting the and elements. - Chuc

RE: Having login trouble to tomcat

2009-06-23 Thread Caldarale, Charles R
> From: tom.gend...@sun.com [mailto:tom.gend...@sun.com] > Subject: Having login trouble to tomcat > > > > > > I don't see anything wrong in the logs. Any suggestions as to how I > might debug this problem? Try uncommenting the and elements. - Chuck THIS COMMUNICATION MAY CONTAIN CONFID

Having login trouble to tomcat

2009-06-23 Thread Tom Gendron
Hi, Just installed Tomcat on to my Mac and am having trouble logging into Tomcat. The work around is clearly provided for this in many places but I have not been able to apply the work around with success. Tomcat starts up with out trouble and I can view the index page at address localhost:

Re: Multiple applications

2009-06-23 Thread David Smith
Peter Flynn wrote: > I've been using Tomcat5 with Apache2 under RH5 to run Cocoon, but I > now need to add Lucene and eXist. Is it possible to run multiple > applications like this on the same machine using the same Tomcat server? > > Someone mentioned something about "another Tomcat instance" but

RE: Multiple applications

2009-06-23 Thread Caldarale, Charles R
> From: Peter Flynn [mailto:pfl...@ucc.ie] > Subject: Multiple applications > > Is it possible to run multiple applications like this on > the same machine using the same Tomcat server? Clearly you can - look how many independent webapps are deployed in the standard Tomcat download. > I did lo

Re: Tomcat 6 not working with Apache 1.3.37 on Debian

2009-06-23 Thread Rainer Jung
On 23.06.2009 14:57, zvince wrote: > I found an error in my Apache configuration : > > is wrong. > is correct. > is what we need to load the module. The "!" means that > the directives will be executed if the module is not in the modules list. > so, if I am right, > > LoadModule jk_mod

Re: Apache mod_jk SetEnvIf negative look ahead not working

2009-06-23 Thread Rainer Jung
Hi, On 22.06.2009 06:10, as2 wrote: > Hi, > > I am trying to add a rule .. some thing like this > > > > SetHandler jakarta-servlet > SetEnvIf REQUEST_URI "\.(jsp|htm?)$" JK_WORKER_NAME=default > SetEnvIf REQUEST_URI ^(/app/dir/([^/]*)/(?!jsp)) no-jk > > > > I am having problem with

Re: Multiple applications

2009-06-23 Thread Hassan Schroeder
On Tue, Jun 23, 2009 at 7:37 AM, Peter Flynn wrote: > > I've been using Tomcat5 with Apache2 under RH5 to run Cocoon, but I now need > to add Lucene and eXist. Is it possible to run multiple applications like > this on the same machine using the same Tomcat server? Yes. > At the moment, all Co

Re: Memory analysis after 'OutOfMemoryError PermGen space' error induced by redeployments

2009-06-23 Thread Xie Xiaodong
Hello, http://blogs.sun.com/fkieviet/entry/how_to_fix_the_dreaded I recommend this article for your reference. 2009/6/23 Timo Meinen | mindmatters > Obviously, my screenshot couldn't be attached to the mailinglist, so here > is it: > > http://timomeinen.de/bilder/PermGenSpace.png > > > Best r

Multiple applications

2009-06-23 Thread Peter Flynn
I've been using Tomcat5 with Apache2 under RH5 to run Cocoon, but I now need to add Lucene and eXist. Is it possible to run multiple applications like this on the same machine using the same Tomcat server? Someone mentioned something about "another Tomcat instance" but I don't know if this is

Re: How does one control what the path is on the JSESSIONID cookie?

2009-06-23 Thread Pid
Filip Hanik - Dev Lists wrote: > John Caron wrote: >> Tomcat 6.0.18 automatically adds the session cookie like: >> >> Set-Cookie: JSESSIONID=6D839FF3B960947CC6FD41B98CD02E0D; Path=/thredds >> >> How can I change the path part of the cookie? > the only thing you can do is set it to empty, by using

Re: How does one control what the path is on the JSESSIONID cookie?

2009-06-23 Thread Filip Hanik - Dev Lists
John Caron wrote: Tomcat 6.0.18 automatically adds the session cookie like: Set-Cookie: JSESSIONID=6D839FF3B960947CC6FD41B98CD02E0D; Path=/thredds How can I change the path part of the cookie? the only thing you can do is set it to empty, by using emptySessionPath. Filip thanks... --

AW: Problem with Tomcat Cluster (read acknowledgement from server)

2009-06-23 Thread Ehlers, Kolja
Thanks for your reply. We will consider upgrading, but can you explain the error that we are facing. Then we may be able to reproduce this and see if it was fixed with 5.5.27. -Ursprüngliche Nachricht- Von: Pid [mailto:p...@pidster.com] Gesendet: Dienstag, 23. Juni 2009 13:50 An: Tomca

Re: Tomcat 6 not working with Apache 1.3.37 on Debian

2009-06-23 Thread zvince
I found an error in my Apache configuration : is wrong. is correct. is what we need to load the module. The "!" means that the directives will be executed if the module is not in the modules list. so, if I am right, LoadModule jk_module /usr/local/apache/modules/mod_jk.so AddM

Re: MemoryLeak Problem with ThreadWithAttributes

2009-06-23 Thread ultan ocarroll
Thanks, it wasnt clear to me whether it was ajp/nio/http or otherwise, but if a straight upgrade has potential I will add it to the battery of options. Caldarale, Charles R wrote: From: ultan ocarroll [mailto:ultan.ocarr...@corp.aol.com] Subject: Re: MemoryLeak Problem with ThreadWithAttribute

Re: Problem with Tomcat Cluster (read acknowledgement from server)

2009-06-23 Thread Pid
Ehlers, Kolja wrote: > Hello everybody, > > we are running a couple of clustered Tomcat 5.5.9 instances and keep > experiencing problems in our productive environment. This is > the configuration: The current version is 5.5.27, there have been a lot of bug fixes since 5.5.9. You should definite

RE: MemoryLeak Problem with ThreadWithAttributes

2009-06-23 Thread Caldarale, Charles R
> From: ultan ocarroll [mailto:ultan.ocarr...@corp.aol.com] > Subject: Re: MemoryLeak Problem with ThreadWithAttributes > > Thought I'd try one last time : was there any resolution or guidance on > this ? Any help would be very much appreciated. Since it appears the code in question isn't used on

Re: MemoryLeak Problem with ThreadWithAttributes

2009-06-23 Thread ultan ocarroll
Thought I'd try one last time : was there any resolution or guidance on this ? Any help would be very much appreciated. Thread ID 192899 users Digest of: thread.192899 MemoryLeak Problem with ThreadWithAttributes 192899 by: Hennig, Patrick 192916 by: Caldarale, Charles R

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-23 Thread Cyrille Le Clerc
Thanks for your reply Mark, I exposed this "Valve + RequestFacade subclassing" scenario to the other guys on my project and we prefer not to modify Tomcat internals. We are currently hesitating between introducing a ServletFilter and subclassing org.springframework.security.securechannel.Sec

Re: Memory analysis after 'OutOfMemoryError PermGen space' error induced by redeployments

2009-06-23 Thread Mark Thomas
Timo Meinen | mindmatters wrote: > Obviously, my screenshot couldn't be attached to the mailinglist, so > here is it: > > http://timomeinen.de/bilder/PermGenSpace.png http://markmail.org/message/fcbvwapt6afyndxn HTH, Mark > > > Best regards > Timo Meinen > > Am 23.06.2009 um 10:26 schrieb T

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-23 Thread Mark Thomas
Cyrille Le Clerc wrote: > Thank you for the clarification Mark. > >> Depending on where the session is created, you might be able to use a >> filter to wrap your response and modify the secure attribute of any >> cookies as they are added to the response. > > I am sorry to bother you but I don't

Problem with Tomcat Cluster (read acknowledgement from server)

2009-06-23 Thread Ehlers, Kolja
Hello everybody, we are running a couple of clustered Tomcat 5.5.9 instances and keep experiencing problems in our productive environment. This is the configuration: This is the log of node2: Jun 22, 2009 1

Re: Memory analysis after 'OutOfMemoryError PermGen space' error induced by redeployments

2009-06-23 Thread Timo Meinen | mindmatters
Obviously, my screenshot couldn't be attached to the mailinglist, so here is it: http://timomeinen.de/bilder/PermGenSpace.png Best regards Timo Meinen Am 23.06.2009 um 10:26 schrieb Timo Meinen | mindmatters: Hello, we host a Tomcat 6 server with several webapps on it. It is used for co

Memory analysis after 'OutOfMemoryError PermGen space' error induced by redeployments

2009-06-23 Thread Timo Meinen | mindmatters
Hello, we host a Tomcat 6 server with several webapps on it. It is used for continuous integration, so the test webapps are deployed often. We run into OutOfMemoryError: PermGen space after some redeployments and cannot find a solution. I connected JConsole remotely and made a screenshot

Re: Context.xml not updating dataSource

2009-06-23 Thread Rainer Frey
On Monday 22 June 2009 13:53:47 Mark Thomas wrote: > >> Edit the copy of the context.xml file and all will work as you expect. > > > 1. In production, the operations folks don't have to unpack the app, > edit the context file and re-pack the app to edit the configuration. > > 2. When a new version

Question concerning application paths

2009-06-23 Thread smonte
Hey all. I have a an application where other people can deploy their own applications. I would like all the applications to use a common library. However, when I add some common JARs to a shared libarary I'm having some path trouble. I have a xml file in each application which have paths