apache2 + mod_jk + tomcat5.5.4 help

2005-01-17 Thread Trung Nguyen
Hello, I'm trying to configure mod_jk with tomcat 5.5.4, but I'm kinda stuck. I did it with tomcat 4.1.30 with no problem. How do you configure in server.xml to make it talk to apache2 through AJP13? In tomcat4 I did something like this: Connector

RE: File Upload with JSPs

2004-05-26 Thread Trung Nguyen
Deepak, It works great with my apps... http://jakarta.apache.org/commons/fileupload/ -Original Message- From: Deepak Vishwanathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 5:17 PM To: [EMAIL PROTECTED] Subject: File Upload with JSPs Hi, I am working with Jsps on Tomcat

RE: apache + tomcat + JK connector configuration

2005-04-13 Thread Trung Nguyen
Post the workers.properties file. You probably need to include these lines in that file: worker.list=worker1 worker.worker1.port=6969 -Original Message- From: Delphine LĂȘ [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 2:01 PM To: tomcat-user@jakarta.apache.org Subject:

RE: apache + tomcat + JK connector configuration

2005-04-14 Thread Trung Nguyen
Are you using load balance in your app? If not, you probably don't need this line: worker.worker1.lbfactor=50 Try to use this configuration in the server.xml Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=6969 minProcessors=5 maxProcessors=75

.asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
Hello, Is there a way to configure tomcat 5.5.9 to support .asp extension? Thanks, Trung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 9:41 AM To: Tomcat Users List Subject: RE: .asp and tomcat 5.5.9 From: Trung Nguyen [mailto:[EMAIL PROTECTED] Is there a way to configure tomcat 5.5.9 to support .asp extension? If you mean 'serve static content that has a .asp suffix as MIME type x

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
and tomcat 5.5.9 From: Trung Nguyen [mailto:[EMAIL PROTECTED] Is there a way to configure tomcat 5.5.9 to support .asp extension? If you mean 'serve static content that has a .asp suffix as MIME type x/y', yes. Configure a MIME-type in Tomcat's conf/web.xml (or your webapp's web.xml) and you're

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
-Original Message- From: Trung Nguyen [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 14:36 To: tomcat-user@jakarta.apache.org Subject: .asp and tomcat 5.5.9 Hello, Is there a way to configure tomcat 5.5.9 to support .asp extension? Thanks, Trung

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Trung Nguyen
Thanks all of you. I did create a simple context and named all the files with *.asp instead of *.jsp and mapped .asp to servlet. It worked. thanks again, Trung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: SSL on multiple IP addreses?

2005-05-12 Thread Trung Nguyen
You can configure multiple IP adresses on a single NIC and add new IP/domain name to the server.xml To configure multiple IP address on a single NIC on Linux (RHEL): 1. cd /etc/sysconfig/network-scripts 2. Make a copy of ifcfg-eth0 to ifcfg-eth0:0 3. Edit ifcfg-eth0:0 and change DEVICE to

RE: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread Trung Nguyen
Put these lines into web.xml file welcome-file-list welcome-filehome.htm/welcome-file /welcome-file-list Hope this help! Trung -Original Message- From: PAlvin [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 5:31 PM To: Tomcat Users List Subject: Re: How get www.site.com

RE: Tomcat For SSL

2005-05-23 Thread Trung Nguyen
Tomcat handles SSL certificates as it is, but I'd recommend install Apache to handle all cert instead of Tomcat. -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 9:39 AM To: tomcat-user@jakarta.apache.org Subject: Tomcat For SSL Hello, I

RE: Confusing Error

2005-07-06 Thread Trung Nguyen
From catalina.out, you can find the root cause for this error, It's usually right below this error... -Original Message- From: Gary Green [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 2:00 PM To: tomcat-user@jakarta.apache.org Subject: Confusing Error I'm using tomcat

Tomcat Manager

2005-09-19 Thread Trung Nguyen
Hello All, I'm trying to setup/configure the tomcat manager, but i got this error below when access to http://localhost/manager/html, the login screen popup though... any ideas? 1995-09-19 17:57:02,878 [TP-Processor24] ERROR org.apache.catalina.realm.JAASRealm - Unexpected error

RE: Multi-level context paths possible in TC 5.5.9?

2005-09-30 Thread Trung Nguyen
David, You can do this by modify the server.xml file from $TOMAT_HOME/conf/ directory: Host name=www.myserver.com debug=0 unpackWARs=true Context path=/level1/level2 docBase=/usr/var/apps/SiteData debug=0 reloadable=true crossContext=true / /Host Where docBase is where you store your

RE: Multi-level context paths possible in TC 5.5.9?

2005-09-30 Thread Trung Nguyen
messing with context paths in an application .xml, but never thought to try the server.xml. One question: what does the crossContext flag do? Or is that what lets it look to a different path for the context path? The help files I looked through don't list it... Thanks a bunch!! Trung Nguyen

RE: Why getting this error?

2005-10-03 Thread Trung Nguyen
Ritchie, No, it's not in server.xml, It's in $TOMCAT_HOME/bin/catalina.sh, add this line below: JAVA_OPTS=-server -XX:MaxPermSize=256m Hope this help --Trung -Original Message- From: Ritchie Gillam [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 9:34 AM To:

RE: Why getting this error?

2005-10-03 Thread Trung Nguyen
If you haven't set this variable elsewhere within the box, PermGen defaults to 64MB, otherwise, you can see the size by using ps -avx command --Trung -Original Message- From: Ritchie Gillam [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 9:48 AM To:

RE: setting the context path in tomcat5.5.9?

2005-10-04 Thread Trung Nguyen
To add the context path, you need to edit the $TOMCAT_HOME/conf/server.xml file and these lines: Host name=www.yourdomainname.com debug=0 unpackWARs=true Context path=/myApp docBase=/where/you/store/your/apps debug=0 reloadable=true crossContext=true / /Host Hope this help... ---Trung