s the recommended way to debug
> this?
There have already been useful tips on debugging, but I've found that
the most common way to chew up connections is to not put the code
that frees the conneciton inside a finally {} block. If you don't free the
connection in a finally {}
fault host. The only functionality I lose this way is
automated deployment of a _new_ application, but the benefits
outweigh that loss for me. One benefit is the ability to stop an
application from loading up on startup.
HTH,
Rob Hills
Western Australia
far been unsuccessful in finding any way to upgrade
Tomcat beyond 5.0 using Yum. Has anyone else achieved this?
If anyone on this list happens to know, it'd be nice to find out when TC
5.5 will be considered stable enough to make it to the RedHat
downloads
TIA
dorsement of Windows over Linux, by any
> means.)
That is correct, but many of us run Tomcat as a Service. I've not yet
been able to find a way of changing environment variables in Windows
and have the OS pick up the changes and pass them to a service (no
matter how often you stop and start
e file, we try simply instantiating a File
object using the relative path;
Using this methodology, we've been able to load "local" server-specific
properties files in Tomcat on Windows and in OC4J on Windows and
Unix (don't have the actual OS to hand sorry).
HTH,
Rob Hills
M
ninstall Tomcat and the JVM/JRE
2. Reinstall being sure to choose paths for Tomcat and the JRE that
have no spaces in them - be sure to remove the space in the path the
installer offers for Tomcat ("Tomcat 5.5") - it'
Hi Adile,
I did say it was untested, and I've spotted a problem in my code already
(why are bugs so invisible BEFORE you press the send button??!!)
On 22 Jul 2005 at 9:41, Rob Hills wrote:
> Something like the following (untested) in your error.jsp should do the trick:
>
thoughts, suggestions, comments welcome.
Rob Hills
www.netpaver.com.au
Western Australia
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
should do the trick:
<%
if (exception == null) {
%>
A null exception was encountered
<%
} else {
if (exception instanceof SQLException) {
Exception e = exception;
while (e != null) {
%>
Error Code: <%=e.getErrorCode()%>
Message: <%=e.getMessage(
anagement of server.xml (eg via an api or whatever) but have not
received a reply to date.
Rob Hills
www.netpaver.com.au
Western Australia
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
this can slow down the performance of your
application so it's best to switch it off on a production
server.
Rob Hills
Western Australia
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
n server.xml. If so, how can I find out how to use
that.
2. Alternatively, is there any way to deploy multiple "root context"
applications using the built in manager?
TIA,
Rob Hills
Perth, Western Australia
-
> http://localhost:8080/testwebapp/home.jsp.
There are a number of ways to do this. One is listed at the bottom of the
wiki howto page:
http://wiki.apache.org/jakarta-tomcat/HowTo
HTH,
Rob Hills
-
To unsubscribe, e-mail:
13 matches
Mail list logo