Re: Tracking Datasource Connection Usage?

2005-10-06 Thread Rob Hills
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 {}

Re: Mark certain contexts inactive?

2005-10-06 Thread Rob Hills
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

Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Rob Hills
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

RE: Does Tomcat run better on Linux or Windows?

2005-08-30 Thread Rob Hills
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

Re: configuration files for war deployments

2005-08-28 Thread Rob Hills
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

Re: Newbie: Connection refused first time on Tomcat

2005-07-26 Thread Rob Hills
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'

RE: Error 500 messages

2005-07-21 Thread Rob Hills
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: >

Automated Server Configuration (was api for server.xml maintenance)

2005-07-21 Thread Rob Hills
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]

RE: Error 500 messages

2005-07-21 Thread Rob Hills
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(

Re: Dynamic server configuration...

2005-07-21 Thread Rob Hills
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]

Re: Problem with refreshing JSP

2005-07-12 Thread Rob Hills
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]

api for server.xml maintenance

2005-07-11 Thread Rob Hills
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 -

Re: web app url config question

2005-07-11 Thread Rob Hills
> 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: