Re: smartcards for tomcat webapps

2010-04-06 Thread Goo Sam Kong
On 6 April 2010 20:39, wrote: > Anyone using smartcards for auth? > > If so, have specific example code excerpt and server.xml? Minimum configuration changes required for HTTPS connector in server.xml is to add attributes below and amend value of clientAuth attribute from false to true or want.

Re: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Konstantin Kolinko
2010/4/7 Arshan Dabirsiaghi : > Just to close the loop here, the problem was that the class was being loaded > twice - once from inside the *agent* jar, and another duplicate later from > WEB-INF/classes. I guess Tomcat or Java was confused as to which version they > wanted to use. Not 100% sure

Re: Error in start tomcat 5.5

2010-04-06 Thread Konstantin Kolinko
2010/4/6 Leon Li : > INFO: Starting Servlet Engine: Apache Tomcat/5.5.23 A version that is several years old. You better consider upgrading. > log4j:ERROR setFile(null,true) call failed. Something weird with Log4J configuration. What path it tries to write to? Best regards, Konstantin Kolinko

Re: Shutdown hook for correctly unloading drivers

2010-04-06 Thread Mark Thomas
On 06/04/2010 23:38, Propes, Barry L wrote: > Hi Mark, > > I've downloaded this profiler, but it tells me it's good for 15 > dayswhat's the provision for having this free? I have an OpenSource license. A full license isn't that expensive. I've bought one a couple of times when I needed one f

RE: Shutdown hook for correctly unloading drivers

2010-04-06 Thread Propes, Barry L
Hi Mark, I've downloaded this profiler, but it tells me it's good for 15 dayswhat's the provision for having this free? Thanks, Barry -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, March 26, 2010 7:27 AM To: Tomcat Users List Subject: Re: Shutdown ho

Re: mod_jk: confirming JKStripSession setting

2010-04-06 Thread Rainer Jung
On 06.04.2010 17:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 4/6/2010 10:49 AM, Christopher Schultz wrote: 98.218.200.175 - - [06/Apr/2010:14:46:52 +] "GET /context/;jsessionid=FA8E3DA6A38E3CF07370658FA759A454/images/help_widget.gif HTTP/1.1" So,

RE: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Arshan Dabirsiaghi
Just to close the loop here, the problem was that the class was being loaded twice - once from inside the *agent* jar, and another duplicate later from WEB-INF/classes. I guess Tomcat or Java was confused as to which version they wanted to use. Not 100% sure what happened, but removing it from t

Re: [OT] ms sql integrated auth woes

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, I've marked this thread OT because it's about JDBC driver configuration, not Tomcat configuration. If you're getting a SQLServerException then your Tomcat configuration is correct, as far as getting your JDBC driver installed, connection pool

Re: Why cant I access a folder at root level which contains Java Script

2010-04-06 Thread Juha Laiho
On 04/03/2010 11:57 PM, nzindian wrote: Im trying to use a javascript WYSIWYG editor in a JSP page. The JSP is in the following directory: apache-tomcat-5.5.28/webapps/SimpleBlog The Java script is in this directory: apache-tomcat-5.5.28/webapps/SimpleBlog/js The JSP contains the following cod

Re: Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kapilok, On 4/6/2010 11:19 AM, kapilok wrote: > Does Tomcat guarantee recovery in case of this Error? The JVM/Tomcat should "recover" in the sense that service threads that complete their work should go back into the thread pool and accept new reques

Re: Security Fixes

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brenda, On 4/6/2010 11:19 AM, Behan, Brenda wrote: > Do you have a date 5.5.29 will be released Not yet. > and does it include a fix for the all security fixes listed below? http://tomcat.apache.org/security-5.html#Fixed%20in%20subversion%20for%20A

Re: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arshan, On 4/6/2010 11:18 AM, Christopher Schultz wrote: > The command line for my running JVM looks like this: > > /usr/bin/java -Dnop -Xmx64M > -agentpath:/home/cschultz/yjp-8.0.6/bin/linux-x86-32/libyjpagent.so= Sorry, I didn't see that you were

Security Fixes

2010-04-06 Thread Behan, Brenda
Do you have a date 5.5.29 will be released and does it include a fix for the all security fixes listed below? Apache Tomcat Windows Installer Insecure Password Vulnerability Apache Tomcat Host Working Directory WAR File Directory Traversal Vulnerability Apache Tomcat Directory Host Appbase Au

Re: Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status

2010-04-06 Thread kapilok
markt-2 wrote: > > On 06/04/2010 13:03, kapilok wrote: >> >> I need to restart tomcat after the error: >> Recover from SEVERE: All threads (400) are currently busy, waiting. >> Increase >> maxThreads (400) or check the servlet status >> >> This happens when the Database gets overloaded and re

Re: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arshan, On 4/6/2010 12:04 AM, Arshan Dabirsiaghi wrote: > The bottom line appears to be this: across Tomcat and JDK versions, you > can't use the javaagent switch and have a working web app. This works for me under the following environment: $ bin/c

Re: mod_jk: confirming JKStripSession setting

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 4/6/2010 10:49 AM, Christopher Schultz wrote: > 98.218.200.175 - - [06/Apr/2010:14:46:52 +] "GET > /context/;jsessionid=FA8E3DA6A38E3CF07370658FA759A454/images/help_widget.gif > HTTP/1.1" So, I was trying to generate some content using Ja

Re: mod_jk: confirming JKStripSession setting

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 4/6/2010 10:41 AM, Christopher Schultz wrote: > Okay, I can see it: > > [Tue Apr 06 14:34:58.061 2010] [7178:3056749456] [debug] > jk_map_to_storage::mod_jk.c (3609): no match for > /context/;jsessionid=4C1E21B0202F52187EB8DF1EE9E1CF85/ima

Re: Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/6/2010 8:54 AM, Mark Thomas wrote: > On 06/04/2010 13:03, kapilok wrote: >> >> I need to restart tomcat after the error: >> Recover from SEVERE: All threads (400) are currently busy, waiting. Increase >> maxThreads (400) or check the servle

Re: mod_jk: confirming JKStripSession setting

2010-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, (Forgot to mention I'm using mod_jk 1.2.30 compiled locally) On 4/3/2010 12:33 PM, Rainer Jung wrote: > On 01.04.2010 00:21, Christopher Schultz wrote: >> Except that I have JKStripSession enabled -- at least, I think I do. > > It should res

remove Unsubscribe

2010-04-06 Thread Hill, Roger
Remove Unsubscribe Roger Hill | Application Engineer II SAVVIS 1 Savvis Pkwy, Town & Country, MO 63017 Office: 1-314-628-7643 | 1-800-SAVVIS-1 This message contains information which may be confidential and/or privileged. Unless you are the intended recipient (or authorized t

RE: Major Tomcat classloading issues with javaagent command line switch

2010-04-06 Thread Arshan Dabirsiaghi
I've tried this outside Eclipse with Tomcat 6.0.26 on both Java 1.5.0_22 and Java 1.6.0_18: SET JAVA_OPTS=-javaagent:C:\path-to-agent.jar JSP's seem to work fine, but anytime you try to access a Servlet you get the same thing: javax.servlet.ServletException: Error allocating a servlet instance

Re: RabbitMQ-based vcloud session clustering

2010-04-06 Thread Jon Brisbin
On Apr 6, 2010, at 4:26 AM, David Calavera wrote: > Please open source it!! I never thought about that solucion but it could be > pretty cool and I'll give a try for sure. It's Apache 2.0 licensed. I'll post the github link when I get a working example created. This is RabbitMQ-based because

Re: Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status

2010-04-06 Thread Mark Thomas
On 06/04/2010 13:03, kapilok wrote: > > I need to restart tomcat after the error: > Recover from SEVERE: All threads (400) are currently busy, waiting. Increase > maxThreads (400) or check the servlet status > > This happens when the Database gets overloaded and responds slowly. > > I would like

Re: isapi_redirect 1.2.30

2010-04-06 Thread Rainer Jung
On 05.04.2010 18:35, Jordan Michaels wrote: Okay, I will try that. I have the properties log level currently set to "debug". I'll try trace and see if it can provide more information there (I didn't realize trace had more information then debug). Trace adds log lines for entering and leaving fu

smartcards for tomcat webapps

2010-04-06 Thread dockeryjavaman
Anyone using smartcards for auth? If so, have specific example code excerpt and server.xml? Sent from my Verizon Wireless BlackBerry - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status

2010-04-06 Thread kapilok
I need to restart tomcat after the error: Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status This happens when the Database gets overloaded and responds slowly. I would like tomcat to recover (without having to restart), once

Re: Generated Java files using Jasper has incorrect names...

2010-04-06 Thread Mark Thomas
On 06/04/2010 11:03, TWönlìnè wrote: > I used JASPER 2 which includes with TOMCAT (6.0.20), to pre compile some of > my JSP files, > but there is a problem with file names which are pre compiled by Jasper. Problem? What problem? Some indication of the actual problem you are seeing would help here.

Generated Java files using Jasper has incorrect names...

2010-04-06 Thread TWönlìnè
I used JASPER 2 which includes with TOMCAT (6.0.20), to pre compile some of my JSP files, but there is a problem with file names which are pre compiled by Jasper. If there is a underscore on JSP files then Jasper will generate Java files with incorrect names. e.g. compiled JSP file -> "get_BreadC

Re: RabbitMQ-based vcloud session clustering

2010-04-06 Thread David Calavera
Please open source it!! I never thought about that solucion but it could be pretty cool and I'll give a try for sure. On Tue, Apr 6, 2010 at 10:42 AM, Pid wrote: > On 05/04/2010 22:53, Jon Brisbin wrote: > >> Not sure there's anyone besides me on both these lists, but I'm x-posting >> just to sa

Re: RabbitMQ-based vcloud session clustering

2010-04-06 Thread Pid
On 05/04/2010 22:53, Jon Brisbin wrote: Not sure there's anyone besides me on both these lists, but I'm x-posting just to save time. I'm currently working on setting up a RabbitMQ-based session cluster using my own session manager and store. I had to write my own because I couldn't find anyth

Re: Error in start tomcat 5.5

2010-04-06 Thread Xie Xiaodong
Hello, The error stack trace tells you everything. Just read it carefully: "Caused by: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context" By the way, the stack trace of Grails is weird. :) On Tue, Apr 6, 2010 at 8:01 AM, Leon Li wrote: > Hi, > > > > I am new to