Re: JavaMail SMTP authentication in JSP

2007-07-13 Thread Garthfield Carter
Mildly embarrasing, but the below example works. Please ignore this thread. Really ought to have tested my last change sorry. Garthfield Garthfield Carter wrote: Hello, Has anybody got an example they could send me of how to authenticate with an SMTP server to send an email in JSP for

JavaMail SMTP authentication in JSP

2007-07-13 Thread Garthfield Carter
Hello, Has anybody got an example they could send me of how to authenticate with an SMTP server to send an email in JSP for JavaMail? I've been trying unsuccessfully for two days trying to get something working. I'm just trying in plain text at the moment, I don't need SSL or anything. Below

Re: Tomcat admin application "HTTP Status 500" problem

2006-09-10 Thread Garthfield Carter
r.xml configurations I have effectively created a server-minimal.xml, so I added back in the 's and sure enough everything is now working! Thank you for putting me in the right direction! Mark Thomas wrote: Garthfield Carter wrote: Here's my complete server.xml btw. Maybe I

Re: Tomcat admin application "HTTP Status 500" problem

2006-09-10 Thread Garthfield Carter
yOnStartup="false" appBase="/home/wbxpjvm/tomcat/webapps"> directory="logs" prefix="tomcat." suffix=".txt" timestamp="true" /> docBase="${catalina.home}/server/webapps/admin"> className=&qu

Re: Tomcat Server Administration - Change Path?

2006-09-08 Thread Garthfield Carter
Obvisouly my comments below may be of no use to you whatsoever if you don't have or have no intention of having an Apache front-end. Pontius Malmberg wrote: Hi everyone: I've been working on this issue for over a week, and can't seem to figure out how or if it's possible at all. I would like

Re: Tomcat admin application "HTTP Status 500" problem

2006-09-08 Thread Garthfield Carter
quest. Apache Tomcat/5.0.28 --- Garthfield David Delbecq wrote: Please provide exception messages, they should be in catalina.out Garthfield Carter a écrit : Hello, I have an issue with the Tomcat "admin" application. I get "HTTP Status 500" errors whene

Tomcat admin application "HTTP Status 500" problem

2006-09-08 Thread Garthfield Carter
kCoyoteHandler"/> name="localhost"> directory="/home/tomcat/logs" prefix="tomcat." suffix=".txt" timestamp="true"/> reloadable="true"/> I've searched Google and

Re: How does one go about finding a specific application?

2006-09-08 Thread Garthfield Carter
freshmeat.net sourceforge.net FH wrote: We are trying to setup what will essentially be a data vault (something people can log into from anywhere and d/l and u/l documents securely via a browser -- additional desired features would be user/group management/permissions, maybe on disk encryption

Re: Different Tomcat version instances with a single Apache front-end?

2006-09-06 Thread Garthfield Carter
I'm very sorry. I didn't realise that there were any headers in the message that were used to link messages together. Mark Thomas wrote: 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. To ma

Different Tomcat version instances with a single Apache front-end?

2006-09-06 Thread Garthfield Carter
Hi, I currrently have Tomcat (5.0.28) set-up with an Apache front-end. I would like to run an instance of Tomcat 5.5, as well, on the same server again using the same Apache front-end. Can the command for specifiying the workers.property file in httpd.conf: e.g: JkWorkersFile /etc/httpd/conf

Re: Tomcat Administration & SQL Server 2005

2006-09-06 Thread Garthfield Carter
Hi Jimmy, Firstly no need to send a message twice! A quick Google gave me the following: Apache / Tomcat 5.5 / Windows - http://www.devside.net/web/server/windows/tomcat You can download the SQL Server 2005 JDBC Driver from Microsoft from here: http://www.microsoft.com/downloads/details.as

Different Tomcat version instances with a single Apache front-end?

2006-09-06 Thread Garthfield Carter
Hi, I currrently have Tomcat (5.0.28) set-up with an Apache front-end. I would like to run an instance of Tomcat 5.5, as well, on the same server again using the same Apache front-end. Can the command for specifiying the workers.property file in httpd.conf: e.g: JkWorkersFile /etc/httpd/conf

Re: Memory Profiling

2006-08-31 Thread Garthfield Carter
other solutions are also available, just try to google for it... hope it helps - -reynir Garthfield Carter wrote: Hello, Does anyone know the name of a piece of software that I can use to find out how much memory a web application is using please? Garth

Memory Profiling

2006-08-31 Thread Garthfield Carter
Hello, Does anyone know the name of a piece of software that I can use to find out how much memory a web application is using please? Garthfield - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: Bandwidth Profiler?

2006-07-26 Thread Garthfield Carter
Greetings Michael Am 26.07.2006 um 16:27 schrieb Garthfield Carter: http://www.cohprog.com/mod_bandwidth.html Michael Partheil wrote: Hi! I'm looking for a way to locally simulate a slow network connection with Apache Tomcat 5.5.9 running on Mac OS X 10.4.6 and Java 1.4.2. I

Re: Permission problem

2006-07-26 Thread Garthfield Carter
To disable Selinux at boot: http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825880 Garthfield Carter wrote: When you install it it asks you to enable it or not. The install has it selected "enabled" by default so if you just hit "next", "next" etc th

Re: Permission problem

2006-07-26 Thread Garthfield Carter
When you install it it asks you to enable it or not. The install has it selected "enabled" by default so if you just hit "next", "next" etc then yes it is enabled. Markus Schönhaber wrote: Li wrote: I had a struts webapp remotely running with tomcat (started using startup.sh, not catalina

Re: Bandwidth Profiler?

2006-07-26 Thread Garthfield Carter
http://www.cohprog.com/mod_bandwidth.html Michael Partheil wrote: Hi! I'm looking for a way to locally simulate a slow network connection with Apache Tomcat 5.5.9 running on Mac OS X 10.4.6 and Java 1.4.2. I need this to test how my web application works for users with slow internet connec

Re: Permission problem

2006-07-26 Thread Garthfield Carter
How are you uploading via FTP ? Li wrote: Hi all, I had a struts webapp remotely running with tomcat (started using startup.sh, not catalina.sh start -security) in Fedora Core 4 machine. When I was trying to upload from my local machine. uploading failed. The dir which stores the uploaded

Re: Tomcat Connectors versioning

2006-07-25 Thread Garthfield Carter
0 Jk-1.2.11 etc -Original Message- From: Garthfield Carter [mailto:[EMAIL PROTECTED] Posted At: Tuesday, July 25, 2006 9:51 AM Posted To: Tomcat Dev Conversation: Tomcat Connectors versioning Subject: Tomcat Connectors versioning Hello, Can someone explain the versioning system please. H

Tomcat Connectors versioning

2006-07-25 Thread Garthfield Carter
Hello, Can someone explain the versioning system please. Here's the directory lisitng from http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/. The latest stable build is jk-1.2.15 but what are the jk-1.2.5 -> jk-1.2.9 aren't these a greater build number than jk-1.2.15 or am I

Re: Setting heap once the tomcat JVM is started

2006-07-21 Thread Garthfield Carter
I concur. I don't think it's possible at run-time. This would be a nightmare for hosting providers who set an upper limit knowing that user's could give their instances any amount of memory they required. Garthfield Filip Hanik - Dev Lists wrote: since the heap is a Java VM configuration, not

Re: log rotation

2006-07-21 Thread Garthfield Carter
I just knocked up this script for you. Add a cron job to run this at midnight: #!/bin/bash # Path to catalina logs directory CATALINA_LOG_DIR=/usr/local/jakarta-tomcat/logs # Today's data DATE=`date +%Y-%m-%d` # Create backup of catalina.out cat $CATALINA_LOG_DIR/catalina.out > $CATALINA_LOG_

Tomcat admin application "HTTP Status 500" problem

2006-07-20 Thread Garthfield Carter
searched Google and found one other person with this problem but no answers at all. Any ideas would be greatly appreciated. Regards, Garthfield Carter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]