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
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
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
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:
${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
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?
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
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
. 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
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?
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
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
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 -
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
,
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
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
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
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
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
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*..
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]
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
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]
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.
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]
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
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 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
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
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,
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
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
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
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
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
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
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
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
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
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)
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
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
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
43 matches
Mail list logo