Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-04 Thread Gheorghe Pucea
The encoding is ok I tried it out today. But I need to add one more thing the problem doesn't appear on Google Chrome but it appears on IE8 and Mozila 3.5.9. On Fri, Jun 4, 2010 at 3:19 AM, Martin Gainty mgai...@hotmail.com wrote: the reference is to URLEncoder class URLEncoder Utility

Re: Thread Dump

2010-06-04 Thread Peter Crowther
On 4 June 2010 06:08, suchismitasuchi suchismitasu...@rediffmail.com wrote: Thanks a lot. What will be the workaround for this? It looks like a bug in your application, so the solution is to fix the bug in your application. Asking the Tomcat list how to fix your web application just because

Re: simple, fast to setup, javabased CMS for small sites? (not really OT I think )

2010-06-04 Thread MB
Leon Kolchinsky sa såhär: Confluence? Although it's more a enterprise wiki but you get all you want (CSS, blogs, gallery...). There is a 10$ starter license. You may give it a shot. Thanks for the thought. I've have looked at Confluence before. I totally forgot to mention that I need the CMS to

Accessing a directory/file outside of the webapps directory

2010-06-04 Thread Bernard Giannetti
Hi, First my configuration: Ubuntu 9.10 Desktop, Tomcat 6.0.20. I have a Java servlet (MyServlet) and from within that servlet I need to access a directory containing data files. The Tomcat directory structure is like this: tomcat webapps MyServlet DataFiles

Re: single user session and block log-in after faut

2010-06-04 Thread banto
Pid * wrote: On 03/06/2010 16:45, banto wrote: Hi gurus, i would like to know how to fix the following problems: 1) how can i set tocat in such a way to permit only one session per user? : let´s say userA logs-in from PC-A.Then userA logs-in from PC-B. Tomcat should block the

AW: slow servlet filter for ByteArrayOutputStream response Wrapper

2010-06-04 Thread Steffen Heil
Hi I just read that reply and noticed that I have the same fault in my code. How can I measure the length of the utf8-Encoding? The only way I can think of is to convert the String to byte[] and the take its length. However at that point it does not make any sense to use a writer, it would be

Re: Accessing a directory/file outside of the webapps directory

2010-06-04 Thread Mark Thomas
On 04/06/2010 08:54, Bernard Giannetti wrote: One method I have found is to define a context.xml file under the servlet's META-INF directory and within specify (somehow) the path of the DataFiles directory. Something such as: Context path=../DataFiles docBase= / In this case,

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-04 Thread Gheorghe Pucea
Please I really need help. I found out today that it work's on opera to. Many thanks!!! On Fri, Jun 4, 2010 at 8:59 AM, Gheorghe Pucea george.pu...@gmail.comwrote: The encoding is ok I tried it out today. But I need to add one more thing the problem doesn't appear on Google Chrome

RE: Accessing a directory/file outside of the webapps directory

2010-06-04 Thread Bernard Giannetti
Thanks - I'll try the second method. I don't know if I am or am not running under a security manager. I've just got a standard install of Tomcat - so whatever comes out of the box is what I'm running. BTW, I've not be able to get either method to actually work at this stage...just stumbling

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-04 Thread Pid
On 04/06/2010 01:19, Martin Gainty wrote: the reference is to URLEncoder class URLEncoder Utility class is used for HTML form encoding. This class contains static methods for converting a String to the application/x-www-form-urlencoded MIME format javadoc for encode methods of the

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread Savoy, Melinda
Thank you, Chris. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, June 03, 2010 4:14 PM To: Tomcat Users List Subject: Re: How can I get the user value in the request forwarded to my Tomcat in my Java app? -BEGIN PGP SIGNED

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread Savoy, Melinda
Thanks Leo. I do have the Web Service Extension created. -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Thursday, June 03, 2010 4:34 PM To: 'Tomcat Users List' Subject: RE: How can I get the user value in the request forwarded to my Tomcat in

Re: Error on startup catalina

2010-06-04 Thread Pid
On 03/06/2010 19:06, Hassan Schroeder wrote: On Thu, Jun 3, 2010 at 10:08 AM, Pid p...@pidster.com wrote: If you take a fresh download and unzip it in a sub directory of your user account, will it run there? As a reference point -- here's a fresh install on a Mac/Snow Leopard system:

Mike Wilde is out of the office this afternoon.

2010-06-04 Thread Michael Wilde
I will be out of the office starting 04/06/2010 and will not return until 07/06/2010. If you have any urgent production Healthcare issues please contact Iain B Miller, Tam Kyle or George Rae. If urgent please raise an incident in the TST DBAMR USD queue.

where to set value of ALLOW_EQUALS_IN_VALUE property

2010-06-04 Thread phoffman
Dear Tomcat users, we use Tomcat 6.0.26, java version 1.6.0_12, and Debian 5.0.4 (tomcat comes from testing, also mod_jk/1.2.28 is from testing). I'd like to set option org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE=true , but I do not know where to put it - my guess is the

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread Savoy, Melinda
2 - questions (just because I'm not knowledgeable about IP address or TCP/IP ports etc or networking functionality). 1. Before moving to IIS, the Tomcat server was setup on port 80 but because IIS uses port 80 the Tomcat server in the server.xml was changed to 8080. Could this be the problem

Best enterprise-class 24x7 professional support for Tomcat

2010-06-04 Thread kapilok
Please recommend the best available enterprise-class 24x7 professional support for Tomcat. Requirements are: - Tomcat Performance Tuning - Monitoring, Diagnostics - Expertise in HA, Scalability - Admin for large scale deployments Thanks, Kapil -- View this message in context:

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread André Warnier
Savoy, Melinda wrote: 2 - questions (just because I'm not knowledgeable about IP address or TCP/IP ports etc or networking functionality). 1. Before moving to IIS, the Tomcat server was setup on port 80 but because IIS uses port 80 the Tomcat server in the server.xml was changed to 8080.

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread Savoy, Melinda
Thanks Andre. Appreciate the explanation. I downloaded Fiddler as you suggested, and meant to send this in the earlier post. In the RAW HEADER I get the following when I enter this URL in my IE browser: http://scmisdev GET / HTTP/1.1 Accept: image/gif, image/jpeg, image/pjpeg,

Re: Best enterprise-class 24x7 professional support for Tomcat

2010-06-04 Thread Konstantin Kolinko
2010/6/4 kapilok kapi...@yahoo.com: Please recommend the best available enterprise-class 24x7 professional support for Tomcat. Start here: http://wiki.apache.org/tomcat/SupportAndTraining Best regards, Konstantin Kolinko -

Re: where to set value of ALLOW_EQUALS_IN_VALUE property

2010-06-04 Thread Konstantin Kolinko
2010/6/4 phoff...@kdf-30.karlov.mff.cuni.cz: Dear Tomcat users, we use Tomcat 6.0.26, java version 1.6.0_12, and Debian 5.0.4 (tomcat comes from testing, also mod_jk/1.2.28 is from testing). I'd like to set option org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE=true , but I

Re: Error on startup catalina

2010-06-04 Thread Konstantin Kolinko
2010/6/3 Sandro Gallo sandro.gallo...@gmail.com: Using JRE_HOME: /Library/Java/Home 2010/6/3 Sandro Gallo sandro.gallo...@gmail.com: java -version java version 1.6.0_17 Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)

RE: Accessing a directory/file outside of the webapps directory

2010-06-04 Thread Caldarale, Charles R
From: Bernard Giannetti [mailto:thebernmeis...@hotmail.com] Subject: RE: Accessing a directory/file outside of the webapps directory I've just got a standard install of Tomcat The term standard install is ambiguous. For most of us on the mailing list, that would mean one downloaded from

OCSP and Tomcat

2010-06-04 Thread Amit Agarwal
Hi -- Is it possible to implement OCSP with Tomcat? We are doing away with Apache_OpenSSL and hence looking for an alternative. Amit -- Be Happy. Always.

Re: Accessing a directory/file outside of the webapps directory

2010-06-04 Thread André Warnier
Bernard Giannetti wrote: Thanks - I'll try the second method. I don't know if I am or am not running under a security manager. I've just got a standard install of Tomcat - so whatever comes out of the box is what I'm running. In addition to the comment by Chuck : As far as I know, Ubuntu

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread André Warnier
Hi. Unfortunately again, in this case we are operating at the limits of my own knowledge. So your idea of calling in a real Windows authentication specialist may be your best bet. See below for more details. Savoy, Melinda wrote: Thanks Andre. Appreciate the explanation. I downloaded

RE: Best enterprise-class 24x7 professional support for Tomcat

2010-06-04 Thread Martin Gainty
Hi Konstantin ..is your company listed as a TC vendor? looks like someone forgot Unisys! Martin-- __ standard caveats apply Date: Fri, 4 Jun 2010 17:13:47 +0400 Subject: Re: Best enterprise-class 24x7 professional support for Tomcat From:

Re: Best enterprise-class 24x7 professional support for Tomcat

2010-06-04 Thread Konstantin Kolinko
2010/6/4 Martin Gainty mgai...@hotmail.com: Hi Konstantin ..is your company listed as a TC vendor? Yes. Not as a vendor, but just as a support offer. Though we are small and cannot offer 24x7 as the OP asked. If there are any business questions, feel free to ask off-list. Best regards,

Re: [OT] Thread Dump

2010-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 6/4/2010 3:50 AM, Peter Crowther wrote: On 4 June 2010 06:08, suchismitasuchi suchismitasu...@rediffmail.com wrote: Thanks a lot. What will be the workaround for this? Having said all of that, my guess is that either a) you're

Re: Error on startup catalina

2010-06-04 Thread Sandro Gallo
Hi, thanks for the help but still wrong! Again, I downloaded and installed tomcat in my personal folder, but same error. I do not understand what can be! I've seen that in tests done by you work. Further, other information that might be useful (sorry if there are many): *macmac:Java sandro$

Kerberos header passing issue

2010-06-04 Thread Krishnan, Babu
Hello We are having Desktop SSO for an application hosted on tomcat. The Desktop SSO uses kerberos authentication. We are using spnego.sourceforge.net solution for enabling SSO on tomcat end. Now, desktop SSO works charm. Now we would like to front tomcat with APache and use mod_jk for

Re: Kerberos header passing issue

2010-06-04 Thread André Warnier
Krishnan, Babu wrote: Hello We are having Desktop SSO for an application hosted on tomcat. The Desktop SSO uses kerberos authentication. We are using spnego.sourceforge.net solution for enabling SSO on tomcat end. Now, desktop SSO works charm. Now we would like to front tomcat with APache and

Re: Error on startup catalina

2010-06-04 Thread Mark Thomas
On 04/06/2010 18:16, Sandro Gallo wrote: *macmac:apache-tomcat-6.0.26 sandro$ ./bin/catalina.sh debug* Why are you doing this? ./catalina.sh start should be all you need here. Mark - To unsubscribe, e-mail:

getting mod_auth_kerb to trust a request from tomcat

2010-06-04 Thread g f
Hello all, This may be better suited to Apache users group but I will try here in case. I am running tomcat 6.0.24 , jre 1.6.0_16, Apache/2.2.15 (Debian) , mod_auth_kerb/5.4 , mod_jk/1.2.28 mod_python/3.3.1 all installed via apt on Debian Lenny. I have successfully been able to get all of this

Re: Kerberos header passing issue

2010-06-04 Thread Mark Thomas
On 04/06/2010 18:30, Krishnan, Babu wrote: Hello We are having Desktop SSO for an application hosted on tomcat. The Desktop SSO uses kerberos authentication. We are using spnego.sourceforge.net solution for enabling SSO on tomcat end. Now, desktop SSO works charm. Now we would like to

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread dB .
Request: GET / HTTP/1.1 Authorization: Negotiate TlRMTVNTUAABB4IIogAFASgKDw== The browser is trying to get a page, and it sends a Negotiate token (it's short, so looks like NTLM). Response:

Re: getting mod_auth_kerb to trust a request from tomcat

2010-06-04 Thread André Warnier
You may want to follow the other recent thread entitled Kerberos header passing issue. It seems that you and the other OP can at least exchange some tips. g f wrote: Hello all, This may be better suited to Apache users group but I will try here in case. I am running tomcat 6.0.24 , jre

Re: Error on startup catalina

2010-06-04 Thread Sandro Gallo
Hi, I tested. In any case, ./catalina start does not work. 2010/6/4 Mark Thomas ma...@apache.org On 04/06/2010 18:16, Sandro Gallo wrote: *macmac:apache-tomcat-6.0.26 sandro$ ./bin/catalina.sh debug* Why are you doing this? ./catalina.sh start should be all you need here. Mark

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread André Warnier
dB. wrote: Request: GET / HTTP/1.1 Authorization: Negotiate TlRMTVNTUAABB4IIogAFASgKDw== The browser is trying to get a page, and it sends a Negotiate token (it's short, so looks like NTLM). Do you mean that the encoded portion of

Re: Error on startup catalina

2010-06-04 Thread Mark Thomas
On 04/06/2010 19:59, Sandro Gallo wrote: Hi, I tested. In any case, ./catalina start does not work. Does not work isn't a very helpful description. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Error on startup catalina

2010-06-04 Thread Sandro Gallo
Hi, In a previous mail, i sent detailed description of the error that gives me on startup; but, put the mail back. Thank much. -- Hi, thanks for the help but still wrong! Again, I downloaded and installed tomcat in my personal folder, but same error. I do not understand what can be! I've seen

Re: Error on startup catalina

2010-06-04 Thread Konstantin Kolinko
2010/6/4 Sandro Gallo sandro.gallo...@gmail.com: Hi, I tested. In any case, ./catalina start does not work. You wrote once: Same if i run sudo ./startup.sh tail -f ../logs/catalina.out. After trying to run Tomcat as root you must check permissions on the files in /logs, /work, /webapps

Re: Error on startup catalina

2010-06-04 Thread Pid
On 04/06/2010 20:41, Sandro Gallo wrote: Hi, In a previous mail, i sent detailed description of the error that gives me on startup; but, put the mail back. Please post the output of the command env. (Ideally without the extra * characters) p -- Hi, thanks for the help but still

Re: Error on startup catalina

2010-06-04 Thread Sandro Gallo
ok, O_JAVA_HOME=/Library/Java/Home TERM_PROGRAM=Apple_Terminal TERM=xterm-color SHELL=/bin/bash CATALINA_HOME=/Library/Tomcat/Home TMPDIR=/var/folders/zP/zPtCTEa5HNir0RBjDCm4Pk+++TI/-Tmp-/ Apple_PubSub_Socket_Render=/tmp/launch-4tqSZI/Render TERM_PROGRAM_VERSION=273 OLDPWD=/Library/Tomcat/Home

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread dB .
Yep. Let's see (using Waffle code - http://waffle.codeplex.com). String message = TlRMTVNTUAABB4IIogAFASgKDw==; byte[] messageBytes = Base64.decode(message); System.out.println(new String(messageBytes));

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-04 Thread André Warnier
dB. wrote: Yep. Let's see (using Waffle code - http://waffle.codeplex.com). String message = TlRMTVNTUAABB4IIogAFASgKDw==; byte[] messageBytes = Base64.decode(message); System.out.println(new String(messageBytes));

Re: fail_on_status question

2010-06-04 Thread Mohit Anchlia
On Thu, Jun 3, 2010 at 4:30 PM, Mohit Anchlia mohitanch...@gmail.com wrote: In our present environment we have a WS and APP server. When request comes in, WS sends it to APP server using mod_jk and then APP server inserts it into JMS queue. So essentially APP server is also dependent on JMS

R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-06-04 Thread ago...@libero.it
Hi I m very tired because the intermittent socket close exception reappear. We now use tomcat 5.5.28 on win2003 ED SO and jdk 1.6.16. The error that occours is: 4-giu-2010 7.48.35 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket GRAVE: