RE: How to kill a (stucked) Tomcat thread

2008-02-01 Thread Markov.Yanko
What about the threads that I can see in ProcessExplorer under Tomcat.exe process? Or it's too difficult to match these with threads in Tomcat manager? С уважение, / Best Regards, ЯНКО МАРКОВ / YANKO MARKOV -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent:

RE: port

2008-02-01 Thread Nuno Manuel Martins
Much simpler than what I said... no idea why I didn't think of it. Simplicity is key :) -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 31 de Janeiro de 2008 15:46 To: 'Tomcat Users List' Subject: RE: port From: Tony Chamberlain [mailto:[EMAIL

Re: Tomcat 5.5 in Spinglish - oh the pain

2008-02-01 Thread Markus Schönhaber
alanP wrote: The fix to catalina.bat did the trick, but thanks all the same, Markus You're welcome. You should just keep in mind that you changed the JVM's locale to en_US. This will affect webapps that rely on the locale being correctly set, for example when outputting dates or localized

RE: NIO connector

2008-02-01 Thread Reich, Matthias
Hi, I am doing it this way: Connector c = new Connector(protocol); c.setPort(port); if (secure) { c.setScheme(https); c.setSecure(true); } // now set further attributes as required - Matthias -Original Message- From: brien colwell [mailto:[EMAIL PROTECTED]

Re: Tomcat 5.5 in Spinglish - oh the pain

2008-02-01 Thread alanP
The fix to catalina.bat did the trick, but thanks all the same, Markus Markus Schönhaber wrote: alanP wrote: On startup, on Win XP, I get this hodge-podge in English and Spanish: I'm not sure about this but it might help to remove tomcat-i18n-es.jar from common/i18n. Regards mks

CATALINA_OPTS doc

2008-02-01 Thread andrey.morskoy
Hi All. Does anyone know a really good doc for tweaking Tomcat via CATALINA_OPTS ? Thank you. -- Best regards, Andrey Morskoy System Manager Negeso Kiev 19 M. Raskovoy St., 7th floor, office 719 02002 Kiev, Ukraine Tel: +380-44-516 83 84 Fax: +380-44-516 83 84 MSN: [EMAIL PROTECTED]

Re: how to load a new jar file while server is running

2008-02-01 Thread David Delbecq
For webapp's WEB-INF/lib folder, just restart the webapp part, a new webappClassLoader will be used that include your .jar For other locations, you will need to restart tomcat. En l'instant précis du 01/02/08 12:17, kr1 s'exprimait en ces termes: Hi, I need to place a new jar file into lib

Re: how to load a new jar file while server is running

2008-02-01 Thread kr1
Thanks David. David Delbecq-2 wrote: For webapp's WEB-INF/lib folder, just restart the webapp part, a new webappClassLoader will be used that include your .jar For other locations, you will need to restart tomcat. En l'instant précis du 01/02/08 12:17, kr1 s'exprimait en ces termes:

Re: Tomcat 5.5 and SSL connector: keystore was tampered with [SOLVED]

2008-02-01 Thread Samuli Seppänen
From: Samuli Seppänen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5 and SSL connector: keystore was tampered with [SOLVED] Tomcat SSL Connector entries accept the following parameters: - keystorePass (password for the JKS (Java keystore) - keypass (password for the key inside the JKS -

Re: Upgrading to 5.5.25 causes File /javax/servlet/resources/web-app_2_3.dtd not found

2008-02-01 Thread David Smith
The jars in server/lib and common/lib aren't the only jars important to tomcat. Also look at the jars in the bin directory and take care to remove older jars that have the same classes as the 5.5 release. It might work to upgrade this way if you do a more thorough replacement. Also I

Re: TomCat+Console

2008-02-01 Thread David Brown
localhost.log or however your logging is defined. Unless you define separate logging files. The Tomcat doco has full discussion of logging. See: http://tomcat.apache.org/tomcat-5.5-doc/logging.html If you are debugging or running diagnostics then you want to log what your application is doing:

Re: How to use https together with http

2008-02-01 Thread David Brown
Hello Dave, in the future reply with more info and you will get better help. I will put an example at the bottom. I'm an old-school JSP guy and not a JSF guy but I understand that JSF files still end in (dot).jsp? If I'm right then the rules should apply where a security constraint is defined.

Re: Upgrading to 5.5.25 causes File /javax/servlet/resources/web-app_2_3.dtd not found

2008-02-01 Thread Konstantin Kolinko
The file /javax/servlet/resources/web-app_2_3.dtd is in servlet-api.jar in common/lib, both in 5.5.25 and 5.5.20. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Tomcat 5.5 and SSL connector: keystore was tampered with [SOLVED]

2008-02-01 Thread Samuli Seppänen
I had no problems running with a password other than changeit on any of 5.5.23, 5.5.25, and various 6.0.x levels. As long as the keystore is built with both passwords the same, everything functions as documented. Take a look at Troubleshooting section in http://tomcat.apache.org/tomcat-5.5-du

RE: Upgrading to 5.5.25 web-app_2_3.dtd not found--thanks to all

2008-02-01 Thread George Payne
Just wanted to say thanks very much for all the very helpful replies on this. I now have several avenues to pursue and I assume now that the problem was my upgrade method, and not a bug in 5.5.25. There is a general issue this brings up--not really a question anymore, just a point to ponder (for

RE: auto-run updated classes

2008-02-01 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: auto-run updated classes You do have another option: Set reloadable=true in your Context element, which has the effect of adding WatchedElement configuration for all JAR files in WEB-INF/lib and .class files in

Re: auto-run updated classes

2008-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David wrote: | Where is the context element located (which xml file)? You have a couple of choices. The easiest is to put a file in your webapp called META-INF/context.xml (yes, that's META-INF, not WEB-INF) that contains your Context

RE: Tomcat 5.5 and SSL connector: keystore was tampered with [SOLVED]

2008-02-01 Thread Caldarale, Charles R
From: Samuli Seppänen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5 and SSL connector: keystore was tampered with [SOLVED] I suppose this Tomcat home does not apply if I use absolute pathnames, like /root/newkeystore? There's always a home directory for the process, usually based on

Re: NIO connector

2008-02-01 Thread Filip Hanik - Dev Lists
6.0.16 will have this fixed I believe Filip brien colwell wrote: hi Filip, Still no success there ... I think I'm missing something fundamental. Just in case anyone is interested, I'm running Tomcat 6.0.13, JDK 1.6.0_04, with libnative for the APR connector. I'm going to stick to APR for now

Re: how to load a new jar file while server is running

2008-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kr1, kr1 wrote: | I need to place a new jar file into lib while server is running. | How can we load this jar(entirely a new file) into tomcat's current | classpath without restarting the server. | | Could you please suggest me how to do it? If you

Re: auto-run updated classes

2008-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: | From: David Schwartz [mailto:[EMAIL PROTECTED] | Subject: auto-run updated classes | | What is the setting/config to automatically run updated classes | (without having to restart Tomcat each time I compile a

Re: cookie-based session tracking, how to start a new session

2008-02-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: | For cookie-based session tracking, when a user clicks a link on a | jsp page, how to make the request belong to a new session, not | existing session. Since there can only be one session (JSESSIONID) cookie for any given

Re: How to use https together with http

2008-02-01 Thread Konstantin Kolinko
You cannot and must not show that your page is secure, because it is not. The problem is that your page is vulnerable to a man-in-the-middle attack: there is no guarantee that the text of your web page or of the javascript files that it is using was not altered by someone while it was transmitted

RE: Tomcat 5.5 and SSL connector: keystore was tampered with [SOLVED]

2008-02-01 Thread Caldarale, Charles R
From: Samuli Seppänen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5 and SSL connector: keystore was tampered with [SOLVED] My only problem has been the requirement to use the default password changeit. I had no problems running with a password other than changeit on any of 5.5.23,

TomCat+Console

2008-02-01 Thread aum kumar
Hi All, i will ask for sorry in advance if i am asking an irrlivant question. currently i am using tomcat for my development and testing purpose for my application. i want to see all the details as what request is going to the server and how server is hadling and parsing my request i mean to say

Re: How to use https together with http

2008-02-01 Thread David Brown
Yep, Konstantin is right. This is what I do with all of my public pages that I want secured. This means I https ALL pages without exception if I want it to be secure. The net is nasty. You may have performance issues but once your public server is breached you will have more issues. As I said

RE: auto-run updated classes

2008-02-01 Thread Caldarale, Charles R
From: David [mailto:[EMAIL PROTECTED] Subject: Re: auto-run updated classes Where is the context element located (which xml file)? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html The Context element is normally placed in the file META-INF/context.xml inside the

Re: auto-run updated classes

2008-02-01 Thread David
Where is the context element located (which xml file)? Thanks David Schwartz [EMAIL PROTECTED] -Original Message- From: Christopher Schultz [EMAIL PROTECTED] Date: Fri, 01 Feb 2008 09:42:27 To:Tomcat Users List users@tomcat.apache.org Subject: Re: auto-run updated classes -BEGIN

RE: auto-run updated classes

2008-02-01 Thread Caldarale, Charles R
From: David Schwartz [mailto:[EMAIL PROTECTED] Subject: auto-run updated classes What is the setting/config to automatically run updated classes (without having to restart Tomcat each time I compile a .java file)? Modified .jsp files can be reprocessed immediately by setting the

Re: Upgrading to 5.5.25 web-app_2_3.dtd not found--thanks to all

2008-02-01 Thread David Smith
Your method of jar replacement would have worked better if you were doing a point upgrade paying attention to the third number, keeping the first two the same. For example, upgrading from 5.5.16 to 5.5.25 is a reasonably safe upgrade without significant breaking changes. At worst, such an

hibernate3 / JPA / JBossCache / tomcat

2008-02-01 Thread David Cassidy
Hey guys Having problems getting Hib3/JPA working with JBossCache within tomcat. Am I trying for the impossible? I could get it working with OSCache but JBossCache likes to have a JTA now unless I'm missing something Tomcat doesn't do JTA Anyone got the answer as to what my persistence.xml

Re: hibernate3 / JPA / JBossCache / tomcat

2008-02-01 Thread itay sahar
Tomcat can use JTA. I use it also with Hib3. My sugession to you is to find the appropriate jar with JBossCache and for tomcat version. On 2/1/08, David Cassidy [EMAIL PROTECTED] wrote: Hey guys Having problems getting Hib3/JPA working with JBossCache within tomcat. Am I trying for the

Windows Server 2003

2008-02-01 Thread Wade Hundley
We are developing a servlet that is running within Apache Tomcat (6.0.15). We are currently using the NIO connectors with SSL enabled. We are simulating heavy loads using approximately 200 simultaneous users. All of this is running within Windows Server 2003 SP2. Over the course of

Problem with Apache mod_jk + Tomcat/Jboss + Client Certificate Chain

2008-02-01 Thread Rafael Rossetto
Hi, I am trying to set up a Apache + mod_jk in front of my JBoss(using Tomcat), to handle the http/https connections, in order to be able to cluster JBoss. Everything works fine except when I try to validate the client certificate in my application, I don´t get the full Certificate Chain.

Trouble Setting Log Levels lower than INFO with Tomcat 6 JULI on Linux toshiba 2.6.22-14-generic i686 GNU/Linux Kubuntu Gutsy

2008-02-01 Thread Rob Levin
Hi all, and thanks for reviewing my posting. I'm trying to use JULI with the java.util.logging and don't want to have to switch to log4j if at all possible. Here's my issue: I have custom log file being created by putting a logging.properties file in my apps WEB-INF/classes per the tomcat

Re: Problem with Apache mod_jk + Tomcat/Jboss + Client Certificate Chain

2008-02-01 Thread Bruno Harbulot
Hi, Rafael Rossetto wrote: I'm using the JkOptions +ForwardSSLCertChain in httpd.conf. In ssl.conf I also use the SSLVerifyClient require(tried optional and optional_no_ca), so the client certificate validation in Apache seems all right to me. And the SSLOptions is SSLOptions +StdEnvVars

[Fwd: Windows Server 2003]

2008-02-01 Thread Filip Hanik - Dev Lists
some important bug fixes with regards to SSL in http://people.apache.org/~remm/tomcat-6/v6.0.16/ Filip Original Message Subject:Windows Server 2003 Date: Fri, 1 Feb 2008 11:34:43 -0500 From: Wade Hundley [EMAIL PROTECTED] Reply-To: Tomcat Developers List

Re: [Fwd: Windows Server 2003]

2008-02-01 Thread Mladen Turk
Filip Hanik - Dev Lists wrote: some important bug fixes with regards to SSL in http://people.apache.org/~remm/tomcat-6/v6.0.16/ Just make an Google search on: afd.sys driver consuming kernel memory windows 2003 SP2 And you'll see zillion posts totally unrelated to the Tomcat. It's an

Re: Problem with Apache mod_jk + Tomcat/Jboss + Client Certificate Chain

2008-02-01 Thread Rafael Rossetto
Bruno, I tried to change my conf file, the only thing I didn't set before was: - JkEnvVar SSL_CLIENT_CERT SSL_CLIENT_CERT When I set this option the Firefox give me the following error: Request Entity Too Large So I changed the workers.properties to set the

RE: IIS-Tomcat 4.1 integration

2008-02-01 Thread Chacko Kuruvilla
Tomcat is running on 8080 and IIS on the default 80 port. -Original Message- From: Propes, Barry L [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 4:11 PM To: Tomcat Users List Subject: RE: IIS-Tomcat 4.1 integration sounds like Tomcat might be using port 80 (default) instead

RE: IIS-Tomcat 4.1 integration

2008-02-01 Thread Propes, Barry L
sounds like Tomcat might be using port 80 (default) instead of IIS now. I think, short of some plug-in, you'll have to specify another port for one of the two...I keep TC on 8080, and IIS on 80 on mine. -Original Message- From: Chacko Kuruvilla [mailto:[EMAIL PROTECTED] Sent: Friday,

Tomcat manager

2008-02-01 Thread Scott McClanahan
Is there any difference between an undeploy and a stop of a web application other than the fact that an undeploy removes the application contents from the file system? Is there any type of additional clean up of sessions or objects that occur during an undeploy that don't occur during a stop of a

RE: hibernate3 / JPA / JBossCache / tomcat

2008-02-01 Thread VanIngen, Erik (ESTG)
We use the same configuration and use this in our Maven pom.xml http://ldvapp07.fao.org:8032/fenixRepo/javax/transaction/jta/1.0.1B/ If I remember correctly we downloaded this jar from the sun website. The link I sended is our own maven repository -Original Message- From: itay

Re: IIS-Tomcat 4.1 integration

2008-02-01 Thread Martin Gainty
Take a look at this documentation on fronting Tomcat with IIS http://people.apache.org/~mturk/docs/article/ftwai.html M- - Original Message - From: Chacko Kuruvilla [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org Sent: Friday, February 01, 2008 5:22 PM Subject: RE:

Re: Problem with Apache mod_jk + Tomcat/Jboss + Client Certificate Chain

2008-02-01 Thread Rainer Jung
Hi Rafael, if your certificate chain is to large for the default AJP packet size of app. 8KB and you increase via max_packet_size, you need to change your Tomcat connector settings as well. See max_packet_size in http://tomcat.apache.org/connectors-doc/reference/workers.html Didn't try it

Re: Only see html/code

2008-02-01 Thread Rainer Jung
The request you sent to httpd was a GET for / (at least the one on the logs). So with which request do you test your configuration? Does the request appear in the CustomLog of your VirtualHost? What does the jk log say for this request (JkLogLevel debug)? ps in workers.properties is in most

Re: Tomcat manager

2008-02-01 Thread David Brown
An undeploy removes the (dot).war. The dot war is all that defines a well-behaved J2EE application on Tomcat. The only residue is what was the app doing in terms of further network connections: databases? JDBC, file uploads, web services, etc. HTH. Scott McClanahan wrote .. Is there any

Reg Software

2008-02-01 Thread Java Guru
Hi Everyone, Can any one tell me if there is any package in the Apache which can give line number in which the error occurred in JSP rather than line number of servlet to which JSP is converted at run time. J4v4guru

Re: cookie-based session tracking, how to start a new session

2008-02-01 Thread Dave
Hi Chris, Thanks for ideas. Use two separate instances of the web browser. this is the best solution. Is there a way for openning a new instance of web browser such as IE by clicking a link on JSP page? Dave Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN

Fwd: Status 404 in tomcat

2008-02-01 Thread 美国空间
Hello, I have installed tomcat in my WHM (WHM - cPanel - Manage plugins - click on Addon Modules tomcat ). The tomcat work.. When I tried the nmap 209.62.89.18 command line, the output is: …… 80/tcp open http 8009/tcp open ajp13 8080/tcp open http-proxy …… And it can run jsp pages with