JNDI Authentication

2009-08-03 Thread Geofrey Rainey
Does anyone know what type of authentication Tomcat uses by default to authenticate to an AD server using the JNDIRealm? (I haven't specified any particular authentication type on either the server (AD), or the client (Tomcat 6.0), it's working fine but I'm wondering If it's using SASL). R

Log file rotation

2009-08-03 Thread Vikram Suras
Hi All, We are using Tomcat with IIS 6.0 with the the ISAPI redirector and I have realized that the log file is growing and growing. What I want to know how do I rotate the ISAPI log file ? Windows Registry values are like below log_file=d:\tomcat\logs\isapi.log log_level=debug Thanks, Vikram

Re: how to get realm name

2009-08-03 Thread Robert Koberg
On Aug 3, 2009, at 9:21 PM, Caldarale, Charles R wrote: From: Robert Koberg [mailto:r...@koberg.com] Subject: how to get realm name I have been looking through the code and API, but cannot find a way to get the realm name to perform the digest. Note that if you leave out the element, it

RE: how to get realm name

2009-08-03 Thread Caldarale, Charles R
> From: Robert Koberg [mailto:r...@koberg.com] > Subject: how to get realm name > > I have been looking through the code and API, but cannot find a way to > get the realm name to perform the digest. I can't find any direct mechanism either, if you don't want to use Tomcat internal classes. Here

RE: share session between 2 different webapp

2009-08-03 Thread Caldarale, Charles R
> From: zhang99 [mailto:second_co...@yahoo.com] > Subject: Re: share session between 2 different webapp > > 1.I came across documentation on this,but cannot find real > example on how to use ? any tutorial on this? You seem to think this is more difficult than it really is. Just follow the doc

Re: share session between 2 different webapp

2009-08-03 Thread zhang99
1.I came across documentation on this,but cannot find real example on how to use ? any tutorial on this? 2. is there any sample war that i can try out on this? -- View this message in context: http://www.nabble.com/share-session-between-2-different-webapp-tp24784997p24801578.html Sent from the T

RE: how to get realm name

2009-08-03 Thread Martin Gainty
RealmBase is abstract select a subclass that best accomplishes your functionality e.g. DataSourceRealm, UserDatabaseRealm, JNDIRealm, JAASRealm, JDBCRealm, JAASMemoryLoginModule, MemoryRealm hth Martin Gainty __ Verzicht und Vertraulichkeitanmerku

how to get realm name

2009-08-03 Thread Robert Koberg
Hi, I want to digest the users credentials the same way as Digest authentication: RealmBase.Digest(username + ":" + somehowGetRealm() + ":" + password, "MD5", "UTF-8"); I have been looking through the code and API, but cannot find a way to get the realm name to perform the digest. How

Re: DigestAuthenticator failure: java.sql.SQLException: Operation not allowed after ResultSet closed

2009-08-03 Thread DIGLLOYD INC
Thank you! (and thanks to Chuck also) Lloyd Chambers http://diglloyd.com http://macperformanceguide.com/ [Mac OS X 10.5.7 Intel, Tomcat 6.0.20] On Aug 3, 2009, at 3:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Digilloyd, On 7/31/2009 1:59 PM, DIGLLOYD

Re: Access to home page

2009-08-03 Thread Mohit Anchlia
Yes there was good information. Most of the time I write to forum to see if someone has better or new ideas even though to some it may sound "stupid" :) On Mon, Aug 3, 2009 at 2:54 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 7/31/2009 1:07 AM,

Re: what exactly happens when timeouts are set and tomcat has outofmemory errors.

2009-08-03 Thread Madhuri Patwardhan
Before I set the timeouts thats how it worked. The tomcat instance in outof memory state would be eventually marked in "ERR" state. I thought by using timeouts it would set it to "ERR" state early. I do need to restart the tomcat instance in outofmemory error but how would I know tomcat instan

Re: what exactly happens when timeouts are set and tomcat has outofmemory errors.

2009-08-03 Thread Mark Thomas
Madhuri Patwardhan wrote: > Hi, > > Can somebody go over the details of what exactly happens when tomcat instance > has outOfmemory errors and there are following timeouts set in a loadbalancer > worker config. > > This is my understanding. > > ping_mode=A, ping_timeout=1, reply_timeout=6

what exactly happens when timeouts are set and tomcat has outofmemory errors.

2009-08-03 Thread Madhuri Patwardhan
Hi, Can somebody go over the details of what exactly happens when tomcat instance has outOfmemory errors and there are following timeouts set in a loadbalancer worker config. This is my understanding. ping_mode=A, ping_timeout=1, reply_timeout=6 and recorver_options=3 If the timeout

Re: Tomcat 5 clustering

2009-08-03 Thread Steve Yates
+1, the documentation is great on clustering as Chuck mentioned. You will in due time have to make some important decisions regarding the type of cluster you wish to create (HA, HP), number of nodes and multicasting options etc It is worth reading carefuly. RGS Steven Yates | Consultant | Sprin

Re: Deploying grails application

2009-08-03 Thread Mark Thomas
Christopher Schultz wrote: > On 8/3/2009 6:06 PM, Mark Thomas wrote: >> Nope. Deployment via the manager app is synchronous. Time taken to >> deploy will depend how big the war is and how long your app takes to start. > > Good to know. I wonder what Juan meant when he said "instantaneous": I thin

Re: after setting timeouts got puzzling results

2009-08-03 Thread Madhuri Patwardhan
Hi, I am using apache 2.2.11 and mod_jk 1.2.28 and tomcat version 5.5.27 and 5.5.20 Thanks, Madhuri --- On Mon, 8/3/09, André Warnier wrote: > From: André Warnier > Subject: Re: after setting timeouts got puzzling results > To: "Tomcat Users List" > Date: Monday, August 3, 2009, 1:48 PM > M

Re: Deploying grails application

2009-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/3/2009 6:06 PM, Mark Thomas wrote: > Christopher Schultz wrote: >> Juan, >> >> On 7/30/2009 4:39 PM, Juan Pablo Romero Méndez wrote: >>> It turned out there is some delay between clicking the link to deploy >>> and the application being ava

RE: DigestAuthenticator failure: java.sql.SQLException: Operationnot allowed after ResultSet closed

2009-08-03 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: DigestAuthenticator failure: java.sql.SQLException: > Operationnot allowed after ResultSet closed > > Simple: just put this in your WEB-INF/context.xml file: Make that your META-INF/context.xml file, not WEB-INF. -

Re: Deploying grails application

2009-08-03 Thread Mark Thomas
Christopher Schultz wrote: > Juan, > > On 7/30/2009 4:39 PM, Juan Pablo Romero Méndez wrote: >> It turned out there is some delay between clicking the link to deploy >> and the application being available. I somehow expected this process >> to be almost instantaneous. > > I won't use the manager

Re: DigestAuthenticator failure: java.sql.SQLException: Operation not allowed after ResultSet closed

2009-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Digilloyd, On 7/31/2009 1:59 PM, DIGLLOYD INC wrote: > Thank you. Any snippet on the right way to to the Realm/Resource thing? > It's been so long I don't remember the right way Simple: just put this in your WEB-INF/context.xml file: Obviously

Re: Tomcat is stopped any errors

2009-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chun, On 7/31/2009 11:28 AM, Lin Chun wrote: > now we add the memory to 1G with the paramertsjava.args=-Xms256m -Xmx512m > -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=360 > -Dsun.rmi.dgc.server.gcInterval=360 > > the pb is solved If

RE: max number of concurrent requests(update)

2009-08-03 Thread Martin Gainty
El uso de características no bloqueando requiere usando los conectadores del HTTP de ABRIL o del NIO. El conectador clásico del HTTP de java.io y los conectadores de AJP no los apoyan. Lea por favor la configuración basada acontecimiento para los conectadores asincrónicos del NIO en http://tomc

Re: Deploying grails application

2009-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Juan, On 7/30/2009 4:39 PM, Juan Pablo Romero Méndez wrote: > It turned out there is some delay between clicking the link to deploy > and the application being available. I somehow expected this process > to be almost instantaneous. I won't use the m

Re: Access to home page

2009-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 7/31/2009 1:07 AM, Mohit Anchlia wrote: > And you do feel forced to comment. This is a forum and no one is > forcing you to answer. My last post wasn't a complete troll: there's actually good information in there. But you're right: I'm free

max number of concurrent requests(update)

2009-08-03 Thread jpdelatorre
Hello comunity: I found a thread from 2007 about concurrent requests usefull, but i would like to reopen it to refresh it with more comunity experiences up to now. this is the thread i am taking about: http://markmail.org/message/pyxmvbeqjgj6a2q7 Any body has experience with long running req

RE: Tribes

2009-08-03 Thread Martin Gainty
i like Ant javadoc as a follow-up task for javac ..(part of the build process) you create the package/class javadoc task will automatically create 'linted html' ANTS javadoc also has ability to read css stylesheet so you can bold method explanations italicise annotations http://ant.apache.org/man

Re: How to hide x-poweredBY response header

2009-08-03 Thread Mark Thomas
acastanheira2001 wrote: > Hi, > > Although I´ve set false to xpoweredBy tag, it continues to appear in > response headers. > > > xpoweredBy > false > Where did you read that was the way to set it? That isn't what the Tomcat docs say. > How to hide the following inform

How to hide x-poweredBY response header

2009-08-03 Thread acastanheira2001
Hi, Although I´ve set false to xpoweredBy tag, it continues to appear in response headers. xpoweredBy false How to hide the following information? "X-Powered-By: Servlet 2.4; JBoss-4.2.0.GA_CP02 (build: SVNTag=JBPAPP_4_2_0_GA_CP02 date=200801291544)/Tomcat-5.5" Thank

Re: after setting timeouts got puzzling results

2009-08-03 Thread André Warnier
Madhuri Patwardhan wrote: Hi, We are running with apache loadbalancer and 19 tomcat workers loadbalanced. I went through the timeout document and other documents, and my apache access log in detail before choosing the timeout values. I am seeing a bit surprising results after setting timeouts.

after setting timeouts got puzzling results

2009-08-03 Thread Madhuri Patwardhan
Hi, We are running with apache loadbalancer and 19 tomcat workers loadbalanced. I went through the timeout document and other documents, and my apache access log in detail before choosing the timeout values. I am seeing a bit surprising results after setting timeouts. Earlier we did not have c

Re: Trouble setting up virtual host

2009-08-03 Thread Hassan Schroeder
On Mon, Aug 3, 2009 at 9:00 AM, Lisa D Beggs/AC/VCU wrote: > -->  Well you obviously chose not to read that I have gotten much further > than the first time I posted on this forum and am well beyond the initial > problem I was having. No, you're *back to the original problem* you posted about, wh

Re: FW: JNDIRealm and roleNested

2009-08-03 Thread Mark Thomas
Mark Thomas wrote: > >> --- Original Message --- >> From: "Payne, George (ghp5h)" > >> I still don't know the answer to the questions I originally posed below, if >> anyone can help, I'd very much appreciate it. > > If I produced a binary patch for 6.0.20 and instructions on how to ins

Re: Trouble setting up virtual host

2009-08-03 Thread André Warnier
Lisa D Beggs/AC/VCU wrote: --> Well you obviously chose not to read that I have gotten much further than the first time I posted on this forum and am well beyond the initial problem I was having. It's really sad that I decided to come here to get the help of people who with more experience

Re: Trouble setting up virtual host

2009-08-03 Thread André Warnier
Lisa D Beggs/AC/VCU wrote: I guess nobody is willing to help me any further on the below? Just because you're called Lisa then... Because, as Hassan mentioned, you already got all the answers. There are 2 ways to do what you want. And in both cases, your directory structure will change somewha

Re: Trouble setting up virtual host

2009-08-03 Thread Lisa D Beggs/AC/VCU
From: Hassan Schroeder To: Tomcat Users List Date: 08/03/2009 11:44 AM Subject: Re: Trouble setting up virtual host On Mon, Aug 3, 2009 at 8:39 AM, Lisa D Beggs/AC/VCU wrote: > --> If I remember correctly, the answer you gave me is not appropriate > for my situation. I can not rename my ap

Re: Trouble setting up virtual host

2009-08-03 Thread Hassan Schroeder
On Mon, Aug 3, 2009 at 8:39 AM, Lisa D Beggs/AC/VCU wrote: > -->  If I remember correctly, the answer you gave me is not appropriate > for my situation.  I can not rename my application directory folder with > ROOT.  I must keep my application directory structure. Why? Since you don't want that s

Re: Trouble setting up virtual host

2009-08-03 Thread Lisa D Beggs/AC/VCU
From: Hassan Schroeder To: Tomcat Users List Date: 08/03/2009 11:28 AM Subject: Re: Trouble setting up virtual host On Mon, Aug 3, 2009 at 7:31 AM, Lisa D Beggs/AC/VCU wrote: > I guess nobody is willing to help me any further on the below? I gave you the answer in the very first reply in thi

Re: Trouble setting up virtual host

2009-08-03 Thread Hassan Schroeder
On Mon, Aug 3, 2009 at 7:31 AM, Lisa D Beggs/AC/VCU wrote: > I guess nobody is willing to help me any further on the below? I gave you the answer in the very first reply in this thread. -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan

Re: IP-based virtual hosting with Tomcat(6)

2009-08-03 Thread Borut Hadžialić
Maybe this will be helpfull to you? http://www.openssl.org/docs/apps/x509v3_config.html#Subject_Alternative_Name_ I am not sure how well that extension is supported in browsers and other ssl clients, or can you get a CA to sign a certificate that contains these extensions. But, I wouldn't be surpr

How do you handle 'rewrite queries' ?

2009-08-03 Thread Paul Taylor
Hi writing web app to replace an existing open source application (musicbrainz lucene search) that handles queries of the form http:///?query=...&type=...&fmt=... and also the alternative form of http:///ws/type/?query&fmt=... using something called lighttpd.conf , http://bugs.musicbrainz.org/

Re: Tribes

2009-08-03 Thread Filip Hanik - Dev Lists
I will work on better docs, in the mean time, quick start is here http://tomcat.apache.org/tomcat-6.0-doc/tribes/introduction.html On 08/03/2009 06:02 AM, nash4403X wrote: Filip- Needless to say a product is as good as its documentation. I wanted to try tribes but without proper docs/article

Re: Trouble setting up virtual host

2009-08-03 Thread Lisa D Beggs/AC/VCU
I guess nobody is willing to help me any further on the below? _ From: Lisa D Beggs/AC/VCU To: "Tomcat Users List" Date: 07/30/2009 12:47 PM Subject: Re: Trouble setting up virtual host Thanks to all those that have helped with this issue.

RE: IP-based virtual hosting with Tomcat(6)

2009-08-03 Thread Jeffrey Janner
Uma - If you are really serious about using 1 SSL certificate for all your connections, you need to understand SSL much better than it appears you do at the moment. Some things to note: 1) The Common Name of the SSL *must* match the name the user gives in the hostname portion of the URL he ente

Re: share session between 2 different webapp

2009-08-03 Thread Mikolaj Rydzewski
zhang99 wrote: i looked at http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Single%20Sign%20On before posting here. any real sample? So go ahead and try it. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-un

Re: share session between 2 different webapp

2009-08-03 Thread zhang99
i looked at http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Single%20Sign%20On before posting here. any real sample? -- View this message in context: http://www.nabble.com/share-session-between-2-different-webapp-tp24784997p24790963.html Sent from the Tomcat - User mailing list archive

Re: virtual hosts for chrooted Tomcat

2009-08-03 Thread Ron Van den Branden
Hi, Juha Laiho schreef: No, chrooting really does limit filesystem access to directories to within a specified directory tree. Whatever you want to access from a chrooted process must reside within that same chroot restriction. Ok, this confirms my supposition, thanks. Note though, that t

Re: virtual hosts for chrooted Tomcat

2009-08-03 Thread Juha Laiho
Ron Van den Branden wrote: > Hi all, > > I'm preparing for deploying Tomcat based web applications on a dedicated > server (finally!). I have experience with Tomcat webapps on my local > Windows machine, but am making myself familiar with a real-life > situation on a Ubuntu Linux server. > > From

Re: share session between 2 different webapp

2009-08-03 Thread Mark Thomas
zhang99 wrote: > sorry, what i mean is i looking for example that i can follow. any example > available? Have you looked at the documentation? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional c

Re: share session between 2 different webapp

2009-08-03 Thread zhang99
sorry, what i mean is i looking for example that i can follow. any example available? -- View this message in context: http://www.nabble.com/share-session-between-2-different-webapp-tp24784997p24789601.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: Tribes

2009-08-03 Thread nash4403X
Filip- Needless to say a product is as good as its documentation. I wanted to try tribes but without proper docs/articles and my limited knowledge it's tough and make me look at other options. All I wanted to do is messaging with help of tribes in between 5 tomcat instances. I wanted to have som

Re: share session between 2 different webapp

2009-08-03 Thread Mikolaj Rydzewski
zhang99 wrote: is there any example webapp that using this feature ? It works with any webapp. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread Mark Thomas
A. Rothman wrote: > A couple months ago I had a slightly different setting but with the same > strange result - NoClassDefFoundErrors which occurred on a particular > jsp page in my app, but only if it was the first jsp accessed following > a restart (and remained in the error state until the next

virtual hosts for chrooted Tomcat

2009-08-03 Thread Ron Van den Branden
Hi all, I'm preparing for deploying Tomcat based web applications on a dedicated server (finally!). I have experience with Tomcat webapps on my local Windows machine, but am making myself familiar with a real-life situation on a Ubuntu Linux server. From what I've read, chrooting Tomcat seem

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread A. Rothman
A couple months ago I had a slightly different setting but with the same strange result - NoClassDefFoundErrors which occurred on a particular jsp page in my app, but only if it was the first jsp accessed following a restart (and remained in the error state until the next restart). If it was no

Re: share session between 2 different webapp

2009-08-03 Thread zhang99
is there any example webapp that using this feature ? -- View this message in context: http://www.nabble.com/share-session-between-2-different-webapp-tp24784997p24787864.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread Mark Thomas
M4N - Arjan Tijms wrote: > I removed the obvious suspect, a duplicate postgresql driver that > appeared in both WEB-INF/lib and [tomcat install dir]/lib. > Unfortunately this did not seem to help. Last night I needed to restart > the production server for a configuration change and I needed 22(!)

Re: RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread M4N - Arjan Tijms
Hi, Caldarale, Charles R wrote: The problem I have is that occasionally after I restart Tomcat, the startup fails with NoClassDefFoundError or ClassNotFoundException for every servlet listener that's being added from web.xml. This kind of error can be caused by having the same class(es) i

Re: share session between 2 different webapp

2009-08-03 Thread Pid
On 03/08/2009 04:53, zhang99 wrote: can http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Single%20Sign%20On be used if 2 web application are different? Let say 2 web app are deployed on same tomcat server. i looking for way, if i login to web app1, when i go to web app2, i do not need to