re: deploy WAR to / - [using 5.5.4]

2005-04-19 Thread Euan Guttridge
If you have successfully deployed a ROOT.war to TC 5.5.4 please shout now, with your platform, JDK and any extra config you may have changed. Thanks Euan -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED] Sent: 18 April 2005 16:35 To: 'Tomcat Users List' Subject: RE

RE: deploy WAR to /

2005-04-18 Thread Euan Guttridge
I am getting the same problem, also with 5.5.4 + Compat, RH9, J2SDK142. - I am building the WAR with ANT, scp'ing to to an empty /webapps and restarting Tomcat. - If I copy the ROOT.war to BLAH.war it will expand fine as BLAH, even root.war to root, just not ROOT.war to ROOT. Thanks Euan

WebApp config best practice

2004-06-28 Thread Euan Guttridge
Where is the best practice for deploying your WebApp configuration files? For example a database config file which contains production db password. Most apps I have seen use WEB-INf/config or WEB-INF/classes - but this is a no-no from security guys as it is under the document root. Thanks

use of $CATALINA_HOME inside webapp

2004-06-07 Thread Euan Guttridge
I tested using $CATALINA_HOME instead of an absolute path in a property file in a webapp. This did not work - the log the app was supposed to create to was never created. An absolute path works. Is this expected behaviour? TC4.1.24 ../webapps/myapp/WEB-INF/classes/myapp.properties:

RE: use of $CATALINA_HOME inside webapp

2004-06-07 Thread Euan Guttridge
${catalina.home} (if your properties file gets expanded.) -Tim Euan Guttridge wrote: I tested using $CATALINA_HOME instead of an absolute path in a property file in a webapp. This did not work - the log the app was supposed to create to was never created. An absolute path works. Is this expected behaviour

is /work portable?

2004-03-11 Thread Euan Guttridge
If you deploy the same webapp on four servers, use (and compile jsps) of the webapp on one server, is it possible to simply copy across the compiled /work dir to the other three servers? I have briefly tested the theory and it seemed to work. Does anyone have any practical experience doing this?

RE: Tomcat silent freeze

2004-02-18 Thread Euan Guttridge
Hi, Sounds like bug with NTPL in RH9, see this thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg106581.html. Thanks Euan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 20:01 To: [EMAIL PROTECTED] Subject: Tomcat silent freeze Hello

RE: jsp cache issue

2003-11-24 Thread Euan Guttridge
So considering TC is writing these temp files to whereever it is started from and *not* the /work directory should I log this as a bug? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 20 November 2003 14:59 To: Tomcat Users List Subject: Re: jsp cache issue

RE: jsp cache issue

2003-11-24 Thread Euan Guttridge
. I remember something about files being written to weird places and it was due to ant. -Tim Euan Guttridge wrote: So considering TC is writing these temp files to whereever it is started from and *not* the /work directory should I log this as a bug? -Original Message- From

RE: jsp cache issue

2003-11-24 Thread Euan Guttridge
Yes, that's the one. Marked mine as duplicate. Thanks Euan Christopher Schultz wrote: Tim, Is it similar to: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18485 This seems to indicate that Tomcat uses ant internally to compile (translated) JSP files. Is this accurate?

jsp cache issue

2003-11-19 Thread Euan Guttridge
Hi, I have noticed that TC creates a temp file (example name = files02123412) when compiling jsps. It will only exist for a few seconds, presumably while the compilation takes place, then is deleted. Here is the annoying part - they are created in the directory from which you started tomcat - so

FW: jasper2 issues - client deployer

2003-11-11 Thread Euan Guttridge
does however read the classes inside ok. jasper creating .java files 'test_1.jsp' as 'test_005f_1_jsp.java' Thanks, Euan -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED] Sent: 10 November 2003 17:58 To: '[EMAIL PROTECTED]' Subject: jasper2 issues - client deployer

jasper2 issues - client deployer

2003-11-10 Thread Euan Guttridge
issue # 1 - jasper-compile.jar I get java.util.zip.ZipException: error in opening zip file on jasper-compile.jar even though I have tvf'd, even re-jarred. Same error using nightly build 10/11/2003, 04/11/2003 5.0.14. The deployer ant script does however read the classes inside ok. Issue # 2 -

tomcat caching jsp to working directory (not /work)

2003-10-24 Thread Euan Guttridge
When I start tomcat as root using /etc/init.d/tomcat start, which in turn starts $CATALINA_HOME/bin/startup.sh as tomcat, tomcat attempts to cache all jsps to the directory from which I ran /etc/init.d/tomcat start.. I can force jsps to cache to $CATALINA_HOME/work/... by setting SCRATCHDIR in

RE: tomcat jitters, then hangs - please help

2003-10-24 Thread Euan Guttridge
, Cool, please keep us updated ;) I want these linux questions better documented in the list archives ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Noam Camiel [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 6:37 AM To: Euan Guttridge; Tomcat Users List

RE: tomcat caching jsp to working directory (not /work)

2003-10-24 Thread Euan Guttridge
caching jsp to working directory (not /work) What happens if you start tomcat using $CATALINA_HOME/bin/startup.sh instead? I think that should point tomcat to the right work directory. -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED] Sent: October 24, 2003 4:57 AM

RE: IBM JRE 1.4.1 dumping core on login with http/1.0 browsers

2003-10-23 Thread Euan Guttridge
Daniel - There is a bug with RH9 glibc, see thread tomcat jitters, then hangs - pleas help for solutions. A bug in pthread_cond_wait() which could cause programs hangs in some cases https://rhn.redhat.com/errata/RHBA-2003-136.html Euan -Original Message- From: Daniel Gibby

RE: tomcat jitters, then hangs - please help

2003-10-21 Thread Euan Guttridge
Excellent news Noam.. Our testing (LD_ASSUME_KERNEL=2.4.1) is in progress but too early to confirm anything. Another option is to stick with the NTPL, using an updated glibc. Check out RH errata ; A bug in pthread_cond_wait() which could cause programs hangs in some cases

RE: SESSION REPLICATION: RedHat 9 and Sun JDK 1.4.2 do not like t o play

2003-10-17 Thread Euan Guttridge
Hi Neil, We used IBM 141 JDK on RH9 and experienced regular signal 11 core dumps. The SUN JDK did not cause these dumps. Perhaps you are using a later release of the IBM 141 dist (141_01 etc..)? Thanks, Euan -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED] Sent: 16

RE: SESSION REPLICATION: RedHat 9 and Sun JDK 1.4.2 do not like t o play

2003-10-16 Thread Euan Guttridge
FYI regarding using IBM JDK on RH9 - we also experienced core dumps and had to roll back to SUN.. The RH9 release notes state that the IBM JDK has 'problems' with RH9 'NPTL' which is on by default but can easily be *turned off*..

RE: OT How to maintain a version number

2003-10-10 Thread Euan Guttridge
Easy if you build with ANT - but very OT! Use the increment task to increment a property file, then a filterset to place that version number into a JSP/HTML. For more info email me direct or post to ANT mailing list. Euan -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED]

RE: Setting variables.

2003-10-10 Thread Euan Guttridge
Why do you want to set the classpath? If for tomcat then as previous post - tomcat doesn't use the classpath, neither for itself nor for the webapps within it. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Original Message- From: anunay ashish [mailto:[EMAIL

RE: Catalina.stop: java.net.ConnectException: Connection refused

2003-09-22 Thread Euan Guttridge
Possibly Tomcat or something else is already running on your TC port, therefore TC cannot start. Run a simple ps -ef | grep java and kill all TC processes, restart TC. -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: 22 September 2003 10:43 To: [EMAIL PROTECTED]

RE: article on tomcat performance

2003-09-19 Thread Euan Guttridge
Seconded, otherwise please include me in review distribution. -Original Message- From: srinath narasimhan [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 18:47 To: Tomcat Users List Subject: RE: article on tomcat performance Please post it to the list with a link or how to get it.

RE: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-19 Thread Euan Guttridge
Still waiting for some confirmation from Remy Maucherat. He was talking about the client deployer package, however I cannot find it... Neither can I.. Thanks -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 16:07 To: [EMAIL PROTECTED]

RE: Upgrading Tomcat to 4.1.27

2003-09-10 Thread Euan Guttridge
Is it considered safe to also move the /work directory from your 24 installation to the 27 installation in order to retain your jsp cache? Thanks -Original Message- From: Tarun Gandhi [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 15:17 To: Tomcat Users List Subject: Re: Upgrading

Thread dump - (basic)

2003-09-01 Thread Euan Guttridge
What is the best method to get a stack dump following a frozen tomcat? I cannot use kill -QUIT (pid) since running in production and do not want to run TC in the foreground. Thanks, Euan J2DSK_1.4.1_03 TC 4.1.24 (Standalone, Coyote connector) Linux RH9.

Tomcat stops serving jsp under load

2003-07-23 Thread Euan Guttridge
Tomcat slows then eventually stops serving jsps under load (100+ concurrent users), html is always fine. The behaviour is sporadic and not easily reproducable but only occurs under load. Standalone (Coyote) 1.1.24, J2SDK1.4.1_03, Linux RH9. Anyone else experiencing this? Thanks Euan

log rotation clarification

2003-07-07 Thread Euan Guttridge
Tomcat automatically rotates localhost_log_x and localhost_access_log_x, but not catalina.out. From searching the archives you need to use a cron to rotate catalina. 1 - Is this correct 2 - Where is the rotation for localhost_x configured? 3 - Will this change in TC5? Thanks, Euan

manager reload vs tomcat restart

2003-06-27 Thread Euan Guttridge
If I use the manager http command to reload my app, it looses the DB connection. If I use /bin/shutdown and startup scripts it is fine. I am on tomcat 1.1.24, linux rh 9, oracle 9.2 thick client. Thanks, Euan - To unsubscribe,

useURIValidationHack

2003-06-20 Thread Euan Guttridge
What is the connector param useURIValidationHack? I cannot find in documentation. Also can anyone point me to a description of diffs between the old http connector and the coyote connector please? Thanks Euan - To

RE: ClassNotFoundException

2003-06-16 Thread Euan Guttridge
Check if your MySql driver requires an LD_LIBRARY_PATH addition (and is accessible to the tomcat shell). We had the same error and issue with Oracle thick client and tomcat on Linux. -Original Message- From: Guus Holshuijsen [mailto:[EMAIL PROTECTED] Sent: 16 June 2003 14:06 To: [EMAIL

security constraint web.xml

2003-06-14 Thread Euan Guttridge
taglib taglib-uri/navigationtaglib/taglib-uri taglib-location/WEB-INF/lib/navigationtaglib.jar/taglib-location /taglib taglib taglib-uri/summarytaglib/taglib-uri taglib-location/WEB-INF/lib/summarytaglib.jar/taglib-location /taglib /web-app Euan Guttridge Technical

RE: security constraint web.xml

2003-06-14 Thread Euan Guttridge
the taglib entries. It's very picky about tags being in the correct order. Hope that helps. __ John Rishea Avaya, Inc. (303) 538-4503 -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 9:41 AM To: '[EMAIL PROTECTED]' Subject

Tomcat 5 - validation and compilation

2003-06-13 Thread Euan Guttridge
In the Tomcat home page under Tomcat 5.x, Refactored application deployer, with an optional standalone deployer allowing validation and compilation of a web application before putting it in production - Can someone point me to the documentation about this please? Thanks Euan

RE: Tomcat 5 - validation and compilation

2003-06-13 Thread Euan Guttridge
at the CVS HEAD for tomcat 5 if you'd like. The main deployer implementation is pretty much done, the standalone deployer with validation is not 100% done yet. The documentation for either is not 100% done yet. Yoav Shapira Millennium ChemInformatics -Original Message- From: Euan

lag when restarting tomcat

2003-06-10 Thread Euan Guttridge
If I bounce tomcat via the /bin/shutdown.sh /bin/startup.sh scripts it takes at least 20 seconds until it responds again. This is still after my war has been unpacked and jsps compiled.. Any suggestions please? Running standalone, on linux 2*700mhz, 1GB. One application 30mb. Thanks Euan

RE: precompiled jsp's as a part of application war file

2003-06-08 Thread Euan Guttridge
Tomcat documentation advises pre-compilation is used only to test all your jsps compile ok. Not to deploy pre-compiled jsps but instead to use something like httpunit, or a webload script to automatically call your jsps to be compiled by tomcat. However the Jasper documentation states to go ahead

RE: Assessing Tomcat's State

2003-06-08 Thread Euan Guttridge
slightly off subject : has anyone written a 'watchdog' for tomcat? Simply a process that checks if tomcat is alive every x seconds, if dead restarts tomcat. Thanks Euan -Original Message- From: Yoav Shapira [mailto:[EMAIL PROTECTED] Sent: 08 June 2003 03:23 To: Tomcat Users List

performance config

2003-06-06 Thread Euan Guttridge
Question for production admins: I am preparing a tomcat standalone installation for a production environment. I would be very interested to hear your opinions on best performance config setup. Details and params I am specifically considering below: Params: JVM ..JAVA_OPTS (eg -server)

polish chars

2003-06-02 Thread Euan Guttridge
I am getting ?? instead of polish characters. Any config I need to look at? Works fine on NT, not on Linux. - j2sdk1.4.1 - tomcat 1.1.24 - red hat linux 7.2 Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: polish chars

2003-06-02 Thread Euan Guttridge
Thanks, Adding this to the env fixed both Linux and Solaris: NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG -Original Message- From: Ari Suutari [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 10:53 To: Tomcat Users List; Euan Guttridge; '[EMAIL PROTECTED]' Subject: Re: polish chars Hi

?cache problem with context

2003-02-27 Thread Euan Guttridge
Hi, I have tomcat 4.1.18le, jdk 141. I deploy my web-app to /webapps/mywebapp, and set the context in conf/server.xml to : !-- Tomcat Root Context -- Context path= docBase=mywebapp debug=0 reloadable=true/ ..then I start tomcat and browse to http://localhost, I get a resource '/' unavailable