Re: Memory usage with multiple instances of tomcat

2007-08-09 Thread Peter Sparkes
Thank you Chuck and Chris for your help and advice. I will definitely be reading your refs Chris Regards Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

AW: How to avoide delete context.xml - 6.0.14

2007-08-09 Thread hans.mader
This is application related logging on application unload (struts plugin): com.magnasteyr.josf.InitLog4JPlugin ... try to clean up FileHandles for context [XJOSF] com.magnasteyr.josf.InitLog4JPlugin ... Clean up FileHandles finished for context [XJOSF] Now I used the manager application

Re: 6.0.13 MySQL DBCP Example

2007-08-09 Thread David Smith
Ok... tomcat 6.0.13 1. I would merge the Context / element from server.xml to your context.xml file and remove the Context element from your server.xml. Placing this element in server.xml is not recommended anymore as it means a restart of tomcat to deploy/undeploy webapps. Also having

Can not get Tomcat5 to listen to JPDA port

2007-08-09 Thread mikael . gustafsson
Hi, I am running Tomcat 5.5 (5.5.23-0jpp.1.0.4.el5) on Red Hat Enterprise 5 and can not get Tomcat to listen to port 8000 using JPDA. Searching the mailing list archive did not hint to any solution. I have verified that the actual call to the JVM includes the documented parameters -Xdebug

Re: Tomcat native.

2007-08-09 Thread Leon Rosenberg
On 8/8/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Alec Bickerton wrote: Hi, I've only recently returned to using tomcat since tomcat 4.0.1 and I note that things have moved on somewhat. I'm currently working with the Tomcat 5.5.xx line. I would like to know is : What

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-09 Thread Hassan Schroeder
On 8/8/07, Markus Schiegl [EMAIL PROTECTED] wrote: Has anybody been able to start a tomcat server from such a directory? I copied a working installation from /usr/local/apache-tomcat-6.0.13 to /usr/local/apache-tomcat#6.0.13, set CATALINA_HOME and got this: ./bin/catalina.sh run Using

Re: Tomcat Status

2007-08-09 Thread Leon Rosenberg
www.nagios.org On 8/8/07, Andrew Hole [EMAIL PROTECTED] wrote: Hi! Exists some tool to monitor more than one instance of Tomcat in the same server? Lambda Probe is an excellent tool, but only monitoring instance where is installled. In a simple way I want to have a web page showing tomcat

RE: 6.0.13 MySQL DBCP Example

2007-08-09 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: 6.0.13 MySQL DBCP Example 1. I would merge the Context / element from server.xml to your context.xml file and remove the Context element from your server.xml. Just a point of clarification: the context.xml above refers to

RE: Can not get Tomcat5 to listen to JPDA port

2007-08-09 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Can not get Tomcat5 to listen to JPDA port I am running Tomcat 5.5 (5.5.23-0jpp.1.0.4.el5) on Red Hat Enterprise 5 and can not get Tomcat to listen to port 8000 using JPDA. Try running it with a real Tomcat distribution, not a

Re: Can not get Tomcat5 to listen to JPDA port

2007-08-09 Thread Gregor Schneider
I have an original Tomcat-version (5.5) running here on Debian Edge, and my JPDA-startup-script reads as: #!/bin/sh export JPDA_ADDRESS=8787 export JPDA_TRANSPORT=dt_socket /home/tomcat/www/bin/catalina.sh jpda start Try this (run it as user tomcat), but first change the default port 8787 to

SSLProtocol, TLS and Internet Explorer

2007-08-09 Thread Henderson,Nathan
We are having a problem with our Standalone tomcat Server SSL Connectors and viewing servlets in Internet Explorer 7on Windows Vista. With the original config in the server.xml and SSLProtocol set to SSL It works fine on IE6, and IE7 on XP. It does not work on IE7 on Windows Vista. When the

RE: Tomcat 5.5.17 source code

2007-08-09 Thread Caldarale, Charles R
From: ROOKIE [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.17 source code Can someone tell where from where I can download Tomcat 5.5.17 source code. Use the archives link from the Tomcat home page to get here: http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.17/src/ - Chuck THIS

Tomcat 5.5.17 source code

2007-08-09 Thread ROOKIE
Hi, Can someone tell where from where I can download Tomcat 5.5.17 source code. The download page provides only 5.5.23 source code and I am new to SVN so could not figure it out from the root repository. I use this version and I need to do a small patch on that. Thanks, Vinod

Re: Tomcat native.

2007-08-09 Thread Filip Hanik - Dev Lists
Leon Rosenberg wrote: On 8/8/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Alec Bickerton wrote: Hi, I've only recently returned to using tomcat since tomcat 4.0.1 and I note that things have moved on somewhat. I'm currently working with the Tomcat 5.5.xx line. I would like to

RE: Problems with SSL

2007-08-09 Thread Peter Crowther
From: Dario Hernan [mailto:[EMAIL PROTECTED] java.lang.ClassNotFoundException: SSL not found in [...] parent=gnu.gcj.runtime.SystemClassLoader Install and use the Sun JDK, not Gnu. As I recall, the Gnu implementation doesn't contain the Sun SSL classes that Tomcat expects. -

WebDAV, DefaultServlet, and Permissions

2007-08-09 Thread Robert J. Carr
I'm using the WebDAV servlet in tomcat 5.5.22 and I'm having some issues that I was hoping I could get sorted out. First of all, I'm seeing reams and reams of these in the logs: Aug 8, 2007 5:15:30 PM org.apache.catalina.core.ApplicationContext log INFO: webdav: DefaultServlet.doPut: couldn't

Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread david2
I have a web application that uses commons XML (xml-apis-1.3.03.jar). The usage of javax.xml.xpath.XPathFactory.newInstance() works fine in the Eclipse debugger, but when the code is packaged into a WAR and deployed to Tomcat, I get a NullPointerException when

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Gregor Schneider
1st, it would help if you let us know which Tomcat / Eclipse-Version... Anyways, it should work if you do the following: - Copy your xml-apis-1.3.03.jar into your application's WEB-INF/lib-directory, so that your application's classloader can find the corrosponding classes. Tomcat (at least

Re: Problems with SSL

2007-08-09 Thread Dario Hernan
I'm use the IBM JDK on RedHat Enterprise Linux 5 On 8/9/07, Peter Crowther [EMAIL PROTECTED] wrote: From: Dario Hernan [mailto:[EMAIL PROTECTED] java.lang.ClassNotFoundException: SSL not found in [...] parent=gnu.gcj.runtime.SystemClassLoader Install and use the Sun JDK, not Gnu. As I

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread david2
Gregor, I am using the following: Tomcat 5.5.20 Xalan 2.7.0 Eclipse 3.2.2 JDK build 1.6.0-b105 I already include xml-apis-1.3.03.jar in the WAR's WEB-INF/lib-directory. However, while I need the class javax.xml.xpath.XPathFactory contained in xml-apis-1.3.03.jar, this class

Re: Problems with SSL

2007-08-09 Thread Hassan Schroeder
On 8/9/07, Dario Hernan [EMAIL PROTECTED] wrote: I'm use the IBM JDK on RedHat Enterprise Linux 5 You might /want/ to, but your error message says otherwise :-) Check your JAVA_HOME and PATH statements; or run `java -version` and see what you get. -- Hassan Schroeder

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Gregor Schneider
david, I already include xml-apis-1.3.03.jar in the WAR's WEB-INF/lib-directory. are you saying that the jar containing the said class is in your WEB-INF/lib-directory already and you get that NullPointer? On which OS are you running? Is it possible, that you have set an environment-variable

Re: Problems with SSL

2007-08-09 Thread Dario Hernan
This is the output of the PATH echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin And the JAVA_HOME echo JAVA_HOME JAVA_HOME the JAVA_HOME is not setting and in the PATH there isn't something about java but in the tomcat5.conf I

RE: Problems with SSL

2007-08-09 Thread Caldarale, Charles R
From: Dario Hernan [mailto:[EMAIL PROTECTED] Subject: Re: Problems with SSL echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin: /sbin:/bin:/usr/sbin:/usr/bin:/root/bin That tells us nothing. echo JAVA_HOME That should be: echo $JAVA_HOME Also do: java

Re: Problems with SSL

2007-08-09 Thread Dario Hernan
[EMAIL PROTECTED] ~]# java -version java version 1.5.0 Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20070201 (SR4)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20070201 (JIT enabled) J9VM - 20070131_11312_lHdSMR JIT - 20070109_1805ifx1_r8 GC -

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Filip Hanik - Dev Lists
javax.xml and the whole endorsed fiasco is very tricky. What I would suggest is to simply ditch your additional XML libraries and use the ones that come with the JDK saves you a lot of head ache and time Filip Gregor Schneider wrote: david, I already include xml-apis-1.3.03.jar in the

RE: Certificate for Tomcat JVM and CAS

2007-08-09 Thread Lisa Tan
I don't know if this is a right list to ask this question. I tried to configure shibboleth which uses Tomcat with CAS authentication. I received an error: Unable to validate ProxyTicketValidator I did google search on this topic and understood the reason causing this problem is Tomcat JVM doesn't

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Gregor Schneider
as to what i understood, david thinks he's using the ones coming with jdk 1.6, however, they are giving a nullpointer. therefore, it has to be checked if tomcat uses the endorsed mechanism using it's very own libraries. seems as in this very case something is in eclipse's classpath what's missing

RE: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-09 Thread Propes, Barry L
isn't that likely because in some languages like PHP, Python and Perl the # is to comment out a line, and it will invariably break the code? Because I thought some on this list were integrating Tomcat with those languages. -Original Message- From: Hassan Schroeder [mailto:[EMAIL

Re: Http Header Cache-Control

2007-08-09 Thread gerocoma-forophp
Hi again. I'm still working on this issue. I installed a filter to all my servlets and now it's working very good. No problem with that. This server is running apache and is connected to tomcat through mod_jk. Since the tomcat applications are doing OK with the no-cache header, now I'm

Re: Http Header Cache-Control

2007-08-09 Thread Gregor Schneider
I think you misread your test-results. We performed the same tests here, and the result was, that, if you pass requests via mod_jk to Tomcat as a worker, Apache HTTPD did definately not create / touch any headers but uses the ones returned from the worker (Tomcat) via mod_jk. Versions: Tomcat

Re: Problems with SSL

2007-08-09 Thread Dario Hernan
I changed the file /etc/bin/dtomcat5 and put there the JAVA_HOME correctly, now when I start the tomcat, it use the correct jvm ps ax |grep tomcat 9122 ?Sl 0:05 /usr/lib/jvm/jre-1.5.0-ibm/bin/java -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib

Re: Http Header Cache-Control

2007-08-09 Thread gerocoma-forophp
Apache is not overwritting my tomcat headers. Apache is only appending more headers. I added something like this: Directory /my/httpd/docs/folder/ Header append TODOS_LOS_ARCHIVOS todos los archivos Files *.php Header append Cache-Control no-store, no-cache, must-revalidate

Re: Problems with SSL

2007-08-09 Thread Hassan Schroeder
On 8/9/07, Dario Hernan [EMAIL PROTECTED] wrote: I changed the file /etc/bin/dtomcat5 and put there the JAVA_HOME correctly, now when I start the tomcat, it use the correct jvm That's progress :-) But, on the log file appear some errors. Is this a Tomcat that was bundled with RedHat, as it

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-09 Thread Markus Schiegl
Hi, you're right about # as a special char for different programming languages. but nevertheless the # sign is a valid character for directory and file names (in contrast to * or / for example) for unix and windows. If it's wise to use it is another question but sometimes it's just beyond your

Re: Problems with SSL

2007-08-09 Thread Dario Hernan
Yes, I installed it through yum installer, are there difference between it and tar file? On 8/9/07, Hassan Schroeder [EMAIL PROTECTED] wrote: On 8/9/07, Dario Hernan [EMAIL PROTECTED] wrote: I changed the file /etc/bin/dtomcat5 and put there the JAVA_HOME correctly, now when I start the

RE: Problems with SSL

2007-08-09 Thread Caldarale, Charles R
From: Dario Hernan [mailto:[EMAIL PROTECTED] Subject: Re: Problems with SSL Yes, I installed it through yum installer, are there difference between it and tar file? Yes, the .tar file works. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-09 Thread Alexey Solofnenko
Try running bash -x catalina.sh run to see if Java is started correctly. If it is not, try running the same command from a normal directory, and run the same command yourself without using scripts provided with Tomcat. - Alexey. Markus Schiegl wrote: Hi, you're right about # as a special

RE: Tomcat 5.5.20 application context set using Path?

2007-08-09 Thread Caldarale, Charles R
From: Vigorito, Nicholas E. [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.20 application context set using Path? I have a web app that is located outside the webapps directory. Put the context file app_name.xml in the conf/Catalina/localhost directory. The context has a docBase attribute

Re: Http Header Cache-Control

2007-08-09 Thread Rainer Jung
Yes, that's true: if you use mod_jk and try to change headers via Apache config and mod_headers, you are able to add headers, but not to change or remove the ones coming from tomcat via mod_jk. mod_headers and mod_jk do not interoperate nicely. In general this will not give a good solution,

Testing Tomcat - HELP

2007-08-09 Thread Dean Lonsdale
Does anyone know how to verify whether Tomcat is operational using a browser or other wise !!! Help appreciated ...many thanks Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-09 Thread Markus Schiegl
Hi Alexey, yes it does (see message thread and different logs). i've checked with set -x and even the actual process call with ps and truss/strace. same problem if I call java directly - okay it does not log to catalina.out but to stdout... Somewhere the road while watching the truss output the

Re: Testing Tomcat - HELP

2007-08-09 Thread Partha Goswami
for Linux/ Solaris/UNix, go to bin folder where Tomcat Installed already, then, # ./startup.sh Then point your browser, to http://yourhost/domain name.com:8080 It will install, in 8080 port by default.. let me know, if you have any question.. Thanks On 8/10/07, Dean Lonsdale [EMAIL PROTECTED]

RE: Problems with SSL

2007-08-09 Thread Caldarale, Charles R
From: Dario Hernan [mailto:[EMAIL PROTECTED] Subject: Re: Problems with SSL -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/t omcat5/common/lib -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/t omcat5/common/lib Why do you have that property specified twice?

Re: Testing Tomcat - HELP

2007-08-09 Thread Partha Goswami
or Linux/ Solaris/UNix, go to bin folder where Tomcat Installed already, then, # ./startup.sh this one for starting Tomcat,,, On 8/10/07, Partha Goswami [EMAIL PROTECTED] wrote: for Linux/ Solaris/UNix, go to bin folder where Tomcat Installed already, then, # ./startup.sh Then point

RE: Tomcat 5.5.20 application context set using Path?

2007-08-09 Thread Caldarale, Charles R
From: Vigorito, Nicholas E. [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5.20 application context set using Path? Actually, having the path attribute is more flexible. You can then specify something like /a/b/c which you cannot do with a filename. Not correct; use the name a#b#c.xml if

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-09 Thread Markus Schiegl
Hi all, just to close the topic on this mailing list: As jetty suffers from exactly the same problem i'm rather confident this is not a tomcat problem but part of the java classloader and its implementation. Next - and last - stop for confirmation: Sun :-) kind regards, Markus Alexey

Re: Tomcat listening on port, but get timeout in browser

2007-08-09 Thread David Doughty
Made sure there were no other processes using the port before starting this time; also serving static htm page as welcome page; still seeing same problem! Thanks, David D. Juan Ignacio Garzón wrote: Are you entering to a static or dynamic (ie servlet, jsp) page? Maybe its a database

Re: Tomcat listening on port, but get timeout in browser

2007-08-09 Thread Partha Goswami
I think, you should download latest version, then it will work fine.. On 8/10/07, David Doughty [EMAIL PROTECTED] wrote: Made sure there were no other processes using the port before starting this time; also serving static htm page as welcome page; still seeing same problem! Thanks,

RE: Tomcat 5.5.20 application context set using Path?

2007-08-09 Thread Vigorito, Nicholas E.
Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg] On Behalf Of Caldarale, Charles R Sent: Thursday, August 09, 2007 3:24 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.20 application context set using Path? From: Vigorito, Nicholas E. [mailto:[EMAIL

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-09 Thread Alexey Solofnenko
In ANT we are using our own URL encoding, because Java one does not [always] work correctly in some cases. I guess it could be happening here too (possibly when creating new URLClassLoaderes). Anyway, there are Tomcat sources available. Feel free fixing them and submitting the patch. See

MOD_JK TEST

2007-08-09 Thread Dean Lonsdale
Hi guys Can anyone let me know of a test to prove whether the mod_jk is working between Apache and Tomcat please ? many thanks Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group

Re: Testing Tomcat - HELP

2007-08-09 Thread hanasaki
telnet to the port its running on or hit it with the browser. Dean Lonsdale wrote: Does anyone know how to verify whether Tomcat is operational using a browser or other wise !!! Help appreciated ...many thanks Regards / Cordialement / Mit freundlichen Grüßen -- IBM

Re: Tomcat listening on port, but get timeout in browser

2007-08-09 Thread David Doughty
Thanks, but not an option. Customer won't go to new version. - David D. Partha Goswami wrote: I think, you should download latest version, then it will work fine.. - To start a new topic, e-mail: users@tomcat.apache.org

Re: Tomcat listening on port, but get timeout in browser

2007-08-09 Thread Partha Goswami
humm.. yes. then, cheack if any other process, running on the port. On 8/10/07, David Doughty [EMAIL PROTECTED] wrote: Thanks, but not an option. Customer won't go to new version. - David D. Partha Goswami wrote: I think, you should download latest version, then it will work fine..

Re: Tomcat listening on port, but get timeout in browser

2007-08-09 Thread David Doughty
Already checked for other processes; loading static welcome page, too. Weird, isn't it? Thanks, - David D. Partha Goswami wrote: humm.. yes. then, cheack if any other process, running on the port. On 8/10/07, David Doughty [EMAIL PROTECTED] wrote: Thanks, but not an option.

Re: MOD_JK TEST

2007-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dean, Dean Lonsdale wrote: Can anyone let me know of a test to prove whether the mod_jk is working between Apache and Tomcat please ? Do you need something other than a smoke test? Generally, you can demonstrate that mod_jk is working by

Re: MOD_JK TEST

2007-08-09 Thread Partha Goswami
hi, is ur tomcat working ? can u view it throgh browser? On 8/10/07, Dean Lonsdale [EMAIL PROTECTED] wrote: Hi guys Can anyone let me know of a test to prove whether the mod_jk is working between Apache and Tomcat please ? many thanks Regards / Cordialement / Mit freundlichen Grüßen

connection reset by peer

2007-08-09 Thread Yair Zohar
Hello, I'm using tomcat5.5.23 on a Fedora 5 kernel: 2.6.20-1.2320.fc5. I redirect port 80 to 8080 by running by root: iptables -t nat -A OUTPUT -d localhost -p tcp --dport 80 -j REDIRECT --to-ports 8080 iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j REDIRECT --to-port 8080

Re: Tomcat listening on port, but get timeout in browser

2007-08-09 Thread Hassan Schroeder
On 8/9/07, David Doughty [EMAIL PROTECTED] wrote: Already checked for other processes; loading static welcome page, too. Can you telnet to that port? And are you absolutely sure no one did anything to your iptables or whatever firewall might be running? I'd log into the system and try to telnet

Re: Tomcat listening on port, but get timeout in browser

2007-08-09 Thread PTS
/me finishes throwing out straws :-) -- Hassan Schroeder [EMAIL PROTECTED] Since Hassan has run out I have a few. What IF Tomcat is starting OK but there is no page to serve at the URL you are going to? IF the server is starting fine but the app is not deploying then

Re: Certificate for Tomcat JVM and CAS

2007-08-09 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. This is known as thread hijacking and to many of the list archiving services and mail clients used by list subscribers this makes your new message

Re: Tomcat listening on port, but get timeout in browser

2007-08-09 Thread David Smith
Maybe I'm being too picky in the language, but I'm not entirely clear from your posts if the failure is just on jsps and servlets or across the board (jsps, servlets, html, images, styles, javascript, etc., ...). Your original post implied the problem was across the board. I ask just to be

Tomcat Issue with HPUX

2007-08-09 Thread pkt
HI All I and running tomcat on HPUX machine. The problem is that on HP machine the maximum thread per process allowed is 65 ( default), so i configured max thread count in server.xml to 60. I used JMeter to check the behavior when there is enough load on tomcat. What i have observed is that