Quotes appended cookie generated in Tomcat 6.0

2009-12-02 Thread Rajat Gupta05
Hi, I have recently upgraded to Tomcat 6.0.16 and I am observing a strange thing that quotes get appended to the cookie value. Is there some configuration in Tomcat with which we can remove these quotes? Thanks Rajat

Re: Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread Robert Koberg
On Dec 2, 2009, at 6:01 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chuck, > > On 12/2/2009 5:15 PM, Caldarale, Charles R wrote: >>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>> Subject: Re: Authentication without Authorization ( J

Re: Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 12/2/2009 5:15 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Authentication without Authorization ( JNDI Realm ) >> >> Technically speaking, this will require authenticatio

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-12-02 Thread Elli Albek
I was not replying to any post by you. I was replying to a post by a fellow named Dan. He states "I have been successful using the charset filters on HTTP posts and XML" I am not sure I can respond to your comments since it seems that we talk about different topics. In either case, why vent? E

RE: How to get java process id of a user running tomcat

2009-12-02 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: How to get java process id of a user running tomcat > > But Chuck apparently got tired of simmering in the background, and > could stop himself no longer.. You confuse "tired of simmering" with "waking up"... (GMT-6 :-) - Chuck THI

Re: How to get java process id of a user running tomcat

2009-12-02 Thread André Warnier
Felix Schumacher wrote: Well, Chuck said the most important bit about finding the root of the problem. I really waited for André to rant about the perl parts...especially using tons of grep before an awk in a system call from perl. Cool :) Well, in my defense, I just turned off mentally about th

Re: Basic and Form Authentication

2009-12-02 Thread André Warnier
Pid wrote: On 02/12/2009 17:34, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/1/2009 6:57 AM, André Warnier wrote: Peter Crowther wrote: 2009/12/1 Anthony Jay: As for cross application communication I will have to revisit our own code to see if there

Re: Basic and Form Authentication

2009-12-02 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/1/2009 6:57 AM, André Warnier wrote: Peter Crowther wrote: 2009/12/1 Anthony Jay : As for cross application communication I will have to revisit our own code to see if there are static/singleton services th

RE: Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Authentication without Authorization ( JNDI Realm ) > > Technically speaking, this will require authentication but then let > anyone holding any role defined in web.xml to access any page on your > site. But the vali

Re: Debugging tomcat<->apache(mod_jk) bridge

2009-12-02 Thread André Warnier
groupalias v wrote: In response to Chris' question - I have only one tomcat instance running and it picks up the webapps in /srv/tomcat6/webapps/ and the URL www.example.com:8080/test/index.jsp works fine. I tried with the mod_jk.c and jk_module with the same result. In response to André's qu

Re: Tomcat Https loadbalancing??

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 11/25/2009 6:06 AM, David Cassidy wrote: > If you want your tomcat to ever know that its getting a secure request > you'll need 2 ajp connectors - one as the default is "not secure" > the other needs to say "i'm secure" otherwise when you do

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 12/2/2009 3:54 PM, Felix Schumacher wrote: > I really waited for André to rant about the perl > parts...especially using tons of grep before an awk in a system call > from perl. Cool :) Wesley's script was as elegant as it was necessary. I

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Felix Schumacher
Am Mittwoch, den 02.12.2009, 15:42 -0500 schrieb Christopher Schultz: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Felix, > > On 12/2/2009 5:48 AM, Felix Schumacher wrote: > > Have you tried to use the evironment variable CATALINA_PID? > > That variable should be set to a file(name) in w

Re: Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shashank, On 12/2/2009 10:48 AM, shashank@wipro.com wrote: > Is there any way to use a Realm only for authentication and disable > authorization ( do not check for roles ) ? If you are using Tomcat's container-managed authentication and authoriza

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 12/2/2009 5:48 AM, Felix Schumacher wrote: > Have you tried to use the evironment variable CATALINA_PID? > That variable should be set to a file(name) in which the pid of tomcat > will be stored. You can take a look at bin/catalina.sh for mo

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phani, On 12/2/2009 1:30 AM, raj kumar wrote: > When i ran tomcat and shut it down my java process is not closing along with > shutdown. See others' responses for why you should have to do this. Otherwise... > i need to kill it explicitly. So I wou

Re: Debugging tomcat<->apache(mod_jk) bridge

2009-12-02 Thread Rainer Jung
Check again (I think André's) hint about JkMountCopy. Regards, Rainer On 02.12.2009 17:33, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vas, On 12/2/2009 11:06 AM, groupalias v wrote: In response to Chris' question - I have only one tomcat instance running and

Re: How to get java process id of a user running tomcat

2009-12-02 Thread André Warnier
Caldarale, Charles R wrote: From: Pierre Goupil [mailto:goupilpie...@gmail.com] Subject: Re: How to get java process id of a user running tomcat " jps -mlv " will give you the PIDs of all running Java processes. Plus it's a part of the standard SUN JVM. But not for the OP, who is running an un

Re: ssl

2009-12-02 Thread Pid
On 02/12/2009 18:25, Jeffrey Janner wrote: Unfortunately, the ssl-howto.html does not cover the use of the SSLCertificateChainFile connector directive, which he will need to add if using the native APR library, since GoDaddy is a secondary CA. In fact, it doesn't mention anything about interm

RE: SSL only working on localhost

2009-12-02 Thread Jeffrey Janner
>-Original Message- >From: Pid [mailto:p...@pidster.com] >Sent: Wednesday, December 02, 2009 6:51 AM >To: users@tomcat.apache.org >Subject: Re: SSL only working on localhost >On 02/12/2009 12:41, Michael Dockery wrote: >> >> I have gotten ssl w/self-signed cert >>working on tomcat 6

RE: ssl

2009-12-02 Thread Jeffrey Janner
Unfortunately, the ssl-howto.html does not cover the use of the SSLCertificateChainFile connector directive, which he will need to add if using the native APR library, since GoDaddy is a secondary CA. In fact, it doesn't mention anything about intermediate certificate chains for either JAVA or

RE: Manage log files in a cluster

2009-12-02 Thread Caldarale, Charles R
> From: Paolo Santarsiero [mailto:paolo.santarsi...@gmail.com] > Subject: Re: Manage log files in a cluster > > I saw lambdaprobe, but was abandoned and it doesn't support > tomcat6. LambdaProbe may not have had any enhancements lately, but it works fine on Tomcat 6. - Chuck THIS COMMUNICAT

Re: SessionListener not being invoked

2009-12-02 Thread Ken Bowen
Chris, That's a point I hadn't thought of. I'll explore it. Thanks, Ken On Dec 2, 2009, at 12:31 PM, Christopher Schultz wrote: That might be possible, even after a webapp/container restart if you have Tomcat configured to persist sessions across such restarts (which is the default configurat

Re: Basic and Form Authentication

2009-12-02 Thread Pid
On 02/12/2009 17:34, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/1/2009 6:57 AM, André Warnier wrote: Peter Crowther wrote: 2009/12/1 Anthony Jay: As for cross application communication I will have to revisit our own code to see if there are static/s

Re: Basic and Form Authentication

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/1/2009 6:57 AM, André Warnier wrote: > Peter Crowther wrote: >> 2009/12/1 Anthony Jay : >>> As for cross application communication I will have to revisit our own >>> code to see if there are static/singleton services that can be >>> re-en

Re: SessionListener not being invoked

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 12/1/2009 2:36 PM, Ken Bowen wrote: > No, we always create a session (or want to). > The only <%@ in the welcome page are > > <%@ page contentType="text/html;charset=UTF-8" language="java" %> > <%@ taglib uri="http://tiles.apache.org/tags-til

Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 12/1/2009 1:51 AM, Peter Chen wrote: > The memory given to the JVM is $JAVA_OPTS -Xms512m -Xmx1024m > The memory of the Solaris system is: Memory size: 4096 Megabytes > > The result of executing command ulimit -a is as follows: > -bash-3.00

Re: Debugging tomcat<->apache(mod_jk) bridge

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vas, On 12/2/2009 11:06 AM, groupalias v wrote: > In response to Chris' question - I have only one tomcat instance > running and it picks up the webapps in /srv/tomcat6/webapps/ > and the URL www.example.com:8080/test/index.jsp works fine. - From w

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/2/2009 5:34 AM, André Warnier wrote: > Just a quick line : Thank you for the test, and I am not forgetting > this, since I would really like to get to the bottom of it. > I am fairly busy for the next 2 days however, and will revisit that

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Elli, On 12/2/2009 2:40 AM, Elli Albek wrote: > On your Linux box type “locale” + enter. The results should be UTF 8. If not > change it. I can have my locale set to whatever I'd like, thank you very much. > You can also set it in the file encoding

Re: Debugging tomcat<->apache(mod_jk) bridge

2009-12-02 Thread groupalias v
In response to Chris' question - I have only one tomcat instance running and it picks up the webapps in /srv/tomcat6/webapps/ and the URL www.example.com:8080/test/index.jsp works fine. I tried with the mod_jk.c and jk_module with the same result. In response to André's question this is the fir

Re: Manage log files in a cluster

2009-12-02 Thread Paolo Santarsiero
I have a server cluster with two apaches2.2 and six tomcat6.0. So I have apache, tomcat and webapps logs files. I want rotate files that don't automatically rotate (and for this I saw logrotate under linux) and automoatically send all files to a centralized log server. And this is one. But I'd like

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Tobias Crefeld
Am Wed, 2 Dec 2009 12:00:06 +0530 schrieb raj kumar : > Tomcat: jakarta-tomcat-5.0.28 > Java : j2sdk1.4.2 > OS: SunOS ps -fu TomcatsUsername |grep java |grep -v grep |cut -f2 -d" " If the release of your SunOS is as antique as the rest of your software it's possible that one of these commands do

Authentication without Authorization ( JNDI Realm )

2009-12-02 Thread shashank.r38
Hi Is there any way to use a Realm only for authentication and disable authorization ( do not check for roles ) ? Regards, Shashank. Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are

Re: Manage log files in a cluster

2009-12-02 Thread Jorge Medina
Look at Hadoop Chukwa On Wed, Dec 2, 2009 at 3:09 AM, Paolo Santarsiero < paolo.santarsi...@gmail.com> wrote: > thanks, this can be a good start point. > > 2009/12/1 Neil Aggarwal > > > > I want to manage the log's files on a centralized basis > > > > Does this help? > > http://linux.die.net/man

Re: ssl

2009-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashok, On 12/1/2009 7:07 PM, Ashok Kumar wrote: > We are using tomcat 6.0.20. We installed the self signed certificate, > its working fine. Great! > Now we installed the CA (goDaddy) certificate in order to use CA > certificate and updated the serve

RE: How to get java process id of a user running tomcat

2009-12-02 Thread Caldarale, Charles R
> From: Pierre Goupil [mailto:goupilpie...@gmail.com] > Subject: Re: How to get java process id of a user running tomcat > > " jps -mlv " will give you the PIDs of all running Java processes. Plus > it's a part of the standard SUN JVM. But not for the OP, who is running an unsupported version of

Re: SSL only working on localhost

2009-12-02 Thread Markus Schönhaber
In addition to Pid's comment, which you should take heed of: 02.12.2009 13:41, Michael Dockery: > i have wiresharked the server, and can see the inbound 443 connections, > so the firewall does not seem to be the issue. >(note: the other computers are on the same subnet/lan) What exactly do

Re: SSL only working on localhost

2009-12-02 Thread Guifre Bosch Fabregas
Can you see your page from another computer without SSL? What's your OS? Is it possible that "the problem" is the Firewall. Can you see the port 80 and 443 are open? 2009/12/2 Pid > On 02/12/2009 12:41, Michael Dockery wrote: > >> >> >> >> >> I have gotten ssl w/self-signed cert >> working

Re: SSL only working on localhost

2009-12-02 Thread Pid
On 02/12/2009 12:41, Michael Dockery wrote: I have gotten ssl w/self-signed cert working on tomcat 6 a few times in the past. I am trying it again on a different server I am using port 443 when i attempt https://localhost via a browswer on the server itself the browser is prope

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Pierre Goupil
>>> So I would like to know how to identify the java process of the logged in user who started the server " jps -mlv " will give you the PIDs of all running Java processes. Plus it's a part of the standard SUN JVM. Regards Pierre On Wed, Dec 2, 2009 at 7:30 AM, raj kumar wrote: > Hi friend

SSL only working on localhost

2009-12-02 Thread Michael Dockery
I have gotten ssl w/self-signed cert working on tomcat 6 a few times in the past. I am trying it again on a different server I am using port 443 when i attempt https://localhost via a browswer on the server itself the browser is properly presented with the cert warning (as i expecte

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Pid
On 02/12/2009 06:30, raj kumar wrote: Hi friends, When i ran tomcat and shut it down my java process is not closing along with shutdown.i need to kill it explicitly. So I would like to know how to identify the java process of the logged in user who started the server. so that i can kill the pro

RE: How to get java process id of a user running tomcat

2009-12-02 Thread Felix Schumacher
Have you tried to use the evironment variable CATALINA_PID? That variable should be set to a file(name) in which the pid of tomcat will be stored. You can take a look at bin/catalina.sh for more information. Bye Felix On Wed, 2 Dec 2009 08:57:45 -, wrote: > Hi > Have a look at the Redhat/Cen

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-12-02 Thread André Warnier
Hi. Just a quick line : Thank you for the test, and I am not forgetting this, since I would really like to get to the bottom of it. I am fairly busy for the next 2 days however, and will revisit that after the current rush. I have a definite case where I am forced to set Tomcat's startup locale

Re: Debugging tomcat<->apache(mod_jk) bridge

2009-12-02 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 12/1/2009 10:26 AM, André Warnier wrote: groupalias v wrote: httpd.conf - LoadModule jk_module modules/mod_jk.so What the h.. is this line for : ? It's for conditional inclusion of Apac

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Wesley Schwengle
On 02.12.09 07:30 raj kumar wrote: When i ran tomcat and shut it down my java process is not closing along with shutdown.i need to kill it explicitly. So I would like to know how to identify the java process of the logged in user who started the server. so that i can kill the process id from th

Re: ssl

2009-12-02 Thread Nilesh Patil
Dear Ashok, It Should work, backup your server.xml and remove it... then start tomcat .. it shouldn't start.. then again configure it with new Godaddy Certificate.. This is the only way to configure it. I hope You had followed all other steps related to Tomcat keytool, Regards, Nilesh P

RE: How to get java process id of a user running tomcat

2009-12-02 Thread Gerhardus.Geldenhuis
Hi Have a look at the Redhat/Centos startup scripts to see how they do that. If you are running a other linux os then use ps and look for java processes. Normally the java process will have a catalina param somewhere so that is usefull to grep for. Regards -Original Message- From: raj k

Re: Manage log files in a cluster

2009-12-02 Thread Paolo Santarsiero
thanks, this can be a good start point. 2009/12/1 Neil Aggarwal > > I want to manage the log's files on a centralized basis > > Does this help? > http://linux.die.net/man/1/mergelog > >Neil > > -- > Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net > Host your tomcat app on a CentOS

Re: j2ee agent session notification breaks agent realm function

2009-12-02 Thread Shaun Senecal
Sorry. Wrong mailing list. On Wed, Dec 2, 2009 at 5:00 PM, Shaun Senecal wrote: > I am actually having the exact same problem.  Were you ever able to > resolve this?  If I change my setup to use polling on a short interval > then I am able to logout and subsequently log back in (as long as the >

RE: j2ee agent session notification breaks agent realm function

2009-12-02 Thread Shaun Senecal
I am actually having the exact same problem. Were you ever able to resolve this? If I change my setup to use polling on a short interval then I am able to logout and subsequently log back in (as long as the user waits long enough for the poll interval). My DA server and my OpenSSO server are ins