RE: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-13 Thread Phillip Qin
I assume you use deploy/undeploy. install/remove or undeploy/install will lock files. -Original Message- From: Derek Mahar [mailto:[EMAIL PROTECTED] Sent: October 13, 2004 4:53 PM To: [EMAIL PROTECTED] Subject: Re: Locked jar during Ant undeploy on Tomcat 5.5.3 Are you doing undeploy

RE: connection pooling

2004-10-07 Thread Phillip Qin
Detail, detail, detail. 1. your context.xml 2. your web.xml 3. how do you obtain connection from pool, java code pls. 4. can you connect using pool 5. commons-pool version Etc. etc. You need to provide details otherwise we can't help. -Original Message- From: Eric Wulff [mailto:[EMAIL

RE: [OT] Setting no-cache headers for javascript

2004-10-07 Thread Phillip Qin
Read servlet spec or books. In short, extend filter, then your custom class add header, finally map your in web.xml. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: October 7, 2004 7:52 AM To: Tomcat Users List Subject: Re: [OT] Setting no-cache headers for

RE: Using Digested Passwords and DIGEST Authentication at the sam e time.

2004-10-07 Thread Phillip Qin
Have you tried it based on the howto? -Original Message- From: Shinobu Kawai [mailto:[EMAIL PROTECTED] Sent: October 7, 2004 12:01 PM To: [EMAIL PROTECTED] Subject: Using Digested Passwords and DIGEST Authentication at the same time. Hi all, I'm looking for a way to use Digested

RE: Using Digested Passwords and DIGEST Authentication at the sam e time.

2004-10-07 Thread Phillip Qin
I don't think MD5+DIGEST will work. Take a look at any subclass of RealmBase. Realm has nothing to do with web.xml attribute login-config. In the authenticate method, Realm checks hasMessageDigest() - value of Realm digest=. If hasMessageDigest, in your case =MD5, Realm digests the password and

RE: Using Digested Passwords and DIGEST Authentication at the sam e time.

2004-10-07 Thread Phillip Qin
are correct. However, as the password is already digested on the server, and thus completely diferent from the cleartext version entered into the browser, the two digests will be different, and authentication will fail... -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October

RE: connection pooling

2004-10-07 Thread Phillip Qin
hours ago) Eric Wulff Context name? I assume your referring to the ResourceParams name attribute, j... Oct 6 (19 hours ago) Phillip Qin [EMAIL PROTECTED] to Tomcat More options6:29am (7 hours ago) Detail, detail, detail. 1

RE: connection pooling

2004-10-07 Thread Phillip Qin
, the tutorial I'm following, 'Tomcat Kick Start' left all your suggestions out. Including the Resource tag, but that seems critical for connection. Eric On Thu, 7 Oct 2004 17:14:27 -0400, Phillip Qin [EMAIL PROTECTED] wrote: 1. web.xml: OK 2. context.xml on context of server.xml

RE: RE: Root application in Tomcat

2004-10-06 Thread Phillip Qin
I think Deploy task is using Tomcat Manager to deploy your application. Please check your deploy parameters deploy url=http://yourhost/manager; username=yourname password=yourpass path=/ war=yourwar.url/ yourwar.url is *nix - file:/dir/yourwar.war Win* - file:/c:/dir/yourwar.war In your

RE: [OT] That craigmcc guy is getting **REALLY** annoying!

2004-10-06 Thread Phillip Qin
If we ban Craig, that would be really loss to open source community.;) -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: October 6, 2004 11:01 AM To: 'Tomcat Users List' Subject: [OT] That craigmcc guy is getting **REALLY** annoying! yah, that's all. ;)

RE: RE: Root application in Tomcat

2004-10-06 Thread Phillip Qin
console but I get errors when trying to reach it before the restart, so I think it's only semi-deployed or something. Do you have any clue what my problem could be? Thanks a lot /Kax From: Phillip Qin [EMAIL PROTECTED] Date: 2004/10/06 on PM 01:46:54 GMT To: 'Tomcat Users List' [EMAIL

RE: RE: Root application in Tomcat

2004-10-05 Thread Phillip Qin
Remember, your app is /, but the directory is actuall _. If you use tomcat manager to deploy your war, the uploaded war is at manager's work dir under name of _.war and the compiled classes etc are located at work dir's _ -Original Message- From: kax [mailto:[EMAIL PROTECTED] Sent:

RE: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Phillip Qin
Post your datasource resource definition. You may miss something like parameter nametestOnBorrow/name valuetrue/value /parameter parameter nametestOnReturn/name valuetrue/value /parameter

RE: Tomcat becoming almost completely non-responsive

2004-10-04 Thread Phillip Qin
04 October 2004 8:54 am, Phillip Qin wrote: Post your datasource resource definition. You may miss something like parameter nametestOnBorrow/name valuetrue/value /parameter parameter nametestOnReturn/name valuetrue/value /parameter parameter nameminEvictableIdleTimeMillis

RE: org.apache.commons.digester.Digester error--- at tomcat start up...

2004-09-30 Thread Phillip Qin
Move resource-ref down to the end. You have to follow the order of each element. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: September 30, 2004 9:39 AM To: Tomcat Users List Subject: org.apache.commons.digester.Digester error--- at tomcat startup... I added

Tomcat cgi NPH support

2004-09-28 Thread Phillip Qin
I am curious why NPH support is so difficult to implement in CgiServlet? In CgiServlet.CgiRunner, there are lines of code commented out if (line.startsWith(HTTP)) { //TODO: should set status codes (NPH support) /*

RE: Tomcat 4.1 Connection Pooling...

2004-09-28 Thread Phillip Qin
This error happens when there are too many connections opened. There are too many connections opened because before you shut down your application, you don't explicitly close your data source. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: September 28, 2004

RE: Tomcat 4.1 Connection Pooling...

2004-09-28 Thread Phillip Qin
the connections by saying Connection.close in the finally block..can you tell me how to close the datasource and where to do that... -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 1:06 PM To: 'Tomcat Users List' Subject: RE: Tomcat 4.1

RE: Tomcat 4.1 Connection Pooling...

2004-09-28 Thread Phillip Qin
be in a murky space at best. Yoav Shapira Millennium Research Informatics -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 1:27 PM To: 'Tomcat Users List' Subject: RE: Tomcat 4.1 Connection Pooling... For connecion pooling, when you close

RE: Tomcat cgi NPH support

2004-09-28 Thread Phillip Qin
{ ... I am not sure if the above code applies to any one else so I am reluctant to patch Tomcat. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: September 28, 2004 2:37 PM To: 'Tomcat Users List' Subject: RE: Tomcat cgi NPH support From: Phillip Qin

RE: Tomcat cgi NPH support

2004-09-28 Thread Phillip Qin
support From: Phillip Qin [mailto:[EMAIL PROTECTED] I am curious why NPH support is so difficult to implement in CgiServlet? Just because something isn't done, it doesn't necessarily mean it is difficult. A number of 'extra' servlets provided with Tomcat (CGI, webDAV, etc) are not 100% complete

RE: Cannot get xml in JSTL 1.1 to work

2004-09-28 Thread Phillip Qin
JSTL works fine for me. I use it in my struts jsp pages. Which version of JSTL do you use? 1.0 or 1.1? -Original Message- From: Premont,Bruno [CIS] [mailto:[EMAIL PROTECTED] Sent: September 28, 2004 4:54 PM To: [EMAIL PROTECTED] Subject: Cannot get xml in JSTL 1.1 to work Hi, I am

RE: Debugging JSSE

2003-11-17 Thread Phillip Qin
Hi, I had removed myself from tomcat-user list so I have to email you personally. When you start tomcat, add an option to JAVA_OPT to enable jsse debugging. It is stated in j2sdk documentation under security then jsse. I used it months ago. But I removed it after my connections were tested OK. So

RE: java.util.zip.ZipException while using the ant install target

2003-11-10 Thread Phillip Qin
You are right. First, copy Catalina.ant.jar to $ANT_HOME/lib. Then add following lines into your ant script taskdef name=deploy classname=org.apache.catalina.ant.DeployTask/ taskdef name=undeploy classname=org.apache.catalina.ant.UndeployTask/ -Original Message- From: Rainer Stransky

RE: DBCP could not obtain an idle db connection, pool exhausted

2003-11-10 Thread Phillip Qin
Have you tried to close ResultSet, Statement and Connection after each use? -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 4:50 AM To: Tomcat Users List Subject: DBCP could not obtain an idle db connection, pool exhausted How to solve this problem?

RE: Where to I put .so for JNI access?

2003-11-10 Thread Phillip Qin
$JAVA_HOME/jre/lib/i386 -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 10:27 AM To: Tomcat Users List Subject: Where to I put .so for JNI access? I've searched google for jni and tomcat, but I can't figure out where to put a shared lib so a Tomcat

RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-10 Thread Phillip Qin
Which OS? -Original Message- From: David Muller [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 11:26 AM To: [EMAIL PROTECTED] Subject: tomcat 4.1.27 with jvm 1.4.2_02=crashes Anyone else finding problems with tomcat and the latest j2sdk (1.4.2_02)? We think we may need to go back to

RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-10 Thread Phillip Qin
What errors did you get? Have you verified your JAVA_HOME? -Original Message- From: David Muller [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 11:43 AM To: Tomcat Users List Subject: RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes Linux RH 8 -Original Message- From: Phillip Qin

RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-10 Thread Phillip Qin
Mine is 1.4.2_02 and the java -showversion shows me 1.4.2 build 28. Where did you get your jdk? -Original Message- From: David Muller [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 1:29 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-10 Thread Phillip Qin
Yeah, You are right. Here is an excerpt from jdk release note The official version number for update release 1.4.2_02 is 1.4.2_02-b03. To determine the version of your JDK software, use the following command: java -version -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED]

RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-10 Thread Phillip Qin
I tried j2sdk1.4.2_02 + apache2 + tomcat 4.1.29 + connector 4.1.24 under Debian 3.0, I didn't get any error. I didn't even re-compile my webapps. Are you sure you have a clean environment after you switched to jdk 1.4.2_02? -Original Message- From: David Muller [mailto:[EMAIL PROTECTED]

RE: ant deploy

2003-11-07 Thread Phillip Qin
Can you show us your build.xml? Mine is deploy url=http://remotehost/manager; username=${username} password=${password} path=/${your.app.name} war=${war.url}/ username: manager your.app.name: context name linux host: file:${war.dir}/${war.file} win32 host: file:/${war.dir}/${war.file}

RE: Réf. : RE: Réf. : RE: dbcp pool size

2003-11-07 Thread Phillip Qin
de l'organisation Tel. : 01 58 19 45 71 http://www.assetmanagement.natexis.fr Phillip Qin [EMAIL PROTECTED] 06/11/2003 16:51 Veuillez répondre à Tomcat Users List Pour : 'Tomcat Users List' [EMAIL PROTECTED] cc : Objet : RE: Réf. : RE: dbcp pool size Noop. Below

RE: ant deploy

2003-11-07 Thread Phillip Qin
and remove W2K server. When the same configuration run on a W2K host, it can *NOT* deploy onto either local Tomcat server nor the remove Linux server! What's the problem? - Original Message - From: Phillip Qin [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday

RE: jk2_init() Can't find child xxxx in none of the 1024 scorebo ard slots

2003-11-06 Thread Phillip Qin
I have similar problem upgrading to 4.1.29. I figured out it is connector 4.1.29 that causes the problem. So I use tomcat 4.1.29 + connector 4.1.24. -Original Message- From: Tony F. White [mailto:[EMAIL PROTECTED] Sent: November 5, 2003 6:04 PM To: 'Tomcat Users List' Subject: RE:

RE: Réf. : RE: dbcp pool size

2003-11-06 Thread Phillip Qin
Noop. Below is my config in context.xml. Try to use dbcp and pool version 1.1 Resource name=jdbc/abcd auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/abcd parameter namedriverClassName/name

RE: Tomcat 4 losing session (may be related to Win XP)

2003-11-06 Thread Phillip Qin
Have you tried to append jsessionid? -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Sent: November 5, 2003 9:32 PM To: Tomcat Users List Subject: RE: Tomcat 4 losing session (may be related to Win XP) At 04:14 PM 11/5/2003, you wrote: I've been pulling hair out for

RE: Réf. : RE: dbcp pool size

2003-11-06 Thread Phillip Qin
maxActive directive without a factory? What happens when you request the 21st connection when there are already 20 active? Yoav Shapira Millennium ChemInformatics -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 10:52 AM To: 'Tomcat Users

RE: Réf. : RE: dbcp pool size

2003-11-06 Thread Phillip Qin
defined, and you didn't answer my questions ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 11:40 AM To: 'Tomcat Users List' Subject: RE: Réf. : RE: dbcp pool size I use tomcat, so there is a default

tomcat connector 4.1.29 problem

2003-11-05 Thread Phillip Qin
I upgraded tomcat from 4.1.24 to 4.1.29. There are two issues with the new connector. 1. If I use the old connector 4.1.24 with tomcat 4.1.29, I got this error but tomcat ran fine. INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError:

RE: tomcat connector 4.1.29 problem

2003-11-05 Thread Phillip Qin
I downloaded connector source from http://apache.mirror.secondchapter.info/jakarta/tomcat-4/v4.1.29/src/ Please ignore issue 1 since I don't use jni. -Original Message- From: Jeff Tulley [mailto:[EMAIL PROTECTED] Sent: November 5, 2003 1:52 PM To: [EMAIL PROTECTED] Subject: Re: tomcat

RE: Connector Problem

2003-11-05 Thread Phillip Qin
Linux's libtools is needed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: November 5, 2003 3:33 PM To: Tomcat Users List Subject: Re: Connector Problem lohcl When following the following procedure to build the connector, [snip ..] lohcl Following error

RE: Abandoned Connections Not Working - Tomcat 4.1.24 - Oracle 8i

2003-10-17 Thread Phillip Qin
Try dbcp and pool rc1. -Original Message- From: Jonathan Reynolds [mailto:[EMAIL PROTECTED] Sent: October 17, 2003 11:23 AM To: [EMAIL PROTECTED] Cc: Jonathan M Reynolds Subject: Abandoned Connections Not Working - Tomcat 4.1.24 - Oracle 8i I am using Tomcat 4.1.24 on a Windows 2000

RE: Io exception: Broken pipe

2003-10-15 Thread Phillip Qin
Please search commons mailing list. You need to implement sort of keep connection alive using commons-dbcp and pool. -Original Message- From: Omkar Joshi [mailto:[EMAIL PROTECTED] Sent: October 15, 2003 11:46 AM To: [EMAIL PROTECTED] Subject: Io exception: Broken pipe Hi, I have an

RE: JavaMail doesn't work

2003-10-08 Thread Phillip Qin
Use $CATALINA_HOME/common/lib/mail.jar and activation.jar -Original Message- From: John Corrigan [mailto:[EMAIL PROTECTED] Sent: October 7, 2003 7:29 PM To: Tomcat Users List Subject: RE: JavaMail doesn't work I ran into this problem and I think it was related to having installed

RE: Datasource connections not released when reloading context

2003-10-06 Thread Phillip Qin
Would you mind run netstat to see what kind of connection they are, e.g. port, host, status? -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: October 3, 2003 11:52 AM To: 'Tomcat Users List' Subject: RE: Datasource connections not released when reloading context I

RE: Datasource connections not released when reloading context

2003-10-01 Thread Phillip Qin
from a JNDI resource (configured in server.xml) how do I destroy these suckers. Sample code would be great - or tell me to RTFM. Matt -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 8:04 AM To: 'Tomcat Users List' Subject: RE

RE: [OFF-TOPIC] RE: can resultset object be re-used

2003-10-01 Thread Phillip Qin
Isn't statement.executeQuery? -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: October 1, 2003 9:58 AM To: 'Tomcat Users List' Subject: RE: [OFF-TOPIC] RE: can resultset object be re-used Well I just gotta say that's not true. You *can* re-use a resultset object.

RE: [OFF-TOPIC] RE: can resultset object be re-used

2003-10-01 Thread Phillip Qin
Isn't statement.executeQuery returning a new ResultSet object? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 1, 2003 10:00 AM To: 'Tomcat Users List' Subject: RE: [OFF-TOPIC] RE: can resultset object be re-used Isn't statement.executeQuery? -Original

RE: various JK2 problems

2003-10-01 Thread Phillip Qin
2) OK. The previous connection reached timeout. -Original Message- From: Brett Neumeier [mailto:[EMAIL PROTECTED] Sent: October 1, 2003 10:53 AM To: Tomcat Users List Subject: RE: various JK2 problems I've got JK2 running to connect IIS and Tomcat. Two issues bother me at the moment.

RE: various JK2 problems

2003-10-01 Thread Phillip Qin
No idea. Even if I use Tomcat manager ant task to deploy my webapp, after deployment, this connection is timed out. -Original Message- From: Marcel Stör [mailto:[EMAIL PROTECTED] Sent: October 1, 2003 11:20 AM To: 'Tomcat Users List' Subject: RE: various JK2 problems Phillip Qin mailto

RE: Datasource connections not released when reloading context

2003-10-01 Thread Phillip Qin
/2003 12:51 AM Matt Raible wrote: If I'm getting my database connections from a JNDI resource (configured in server.xml) how do I destroy these suckers. Sample code would be great - or tell me to RTFM. Matt -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent

RE: Tomcat manager is not working

2003-09-30 Thread Phillip Qin
What is the url? The correct one should be http://localhost/manager/html/, please refer to http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html -Original Message- From: cody wang [mailto:[EMAIL PROTECTED] Sent: September 30, 2003 1:48 PM To: [EMAIL PROTECTED] Subject:

RE: Tomcat manager is not working

2003-09-30 Thread Phillip Qin
? How can I correct? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 10:53 AM To: 'Tomcat Users List' Subject: RE: Tomcat manager is not working What is the url? The correct one should be http://localhost/manager/html/, please refer

RE: Tomcat manager is not working

2003-09-30 Thread Phillip Qin
link point to http://localhost:8080/manager/html? How can I correct? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 10:53 AM To: 'Tomcat Users List' Subject: RE: Tomcat manager is not working What is the url? The correct one should be http

RE: Datasource connections not released when reloading context

2003-09-29 Thread Phillip Qin
- to release your DB connections when your app is shutdown or reloaded: implement destroy method in your servlet class to close them. - to prevent connections getting exhausted, use evictor if your use commons pooling and dbcp. -Original Message- From: Jose Alfonso Martinez [mailto:[EMAIL

RE: Mail Session oddity

2003-09-26 Thread Phillip Qin
Should your IDE include mail and activation into its classpath? -Original Message- From: Cord Awtry [mailto:[EMAIL PROTECTED] Sent: September 26, 2003 12:53 PM To: Tomcat Users List Subject: Mail Session oddity Everyone, I encountered something odd when setting up a new Tomcat

RE: Mail Session oddity

2003-09-26 Thread Phillip Qin
Maybe you are using Tomcat's mail session resource. That particularly looks for mail.jar and activation.jar in common/lib -Original Message- From: Cord Awtry [mailto:[EMAIL PROTECTED] Sent: September 26, 2003 1:34 PM To: Tomcat Users List Subject: Re: Mail Session oddity Jon,

RE: The email you authored contained a violation (either a virus or inappropriate content)

2003-09-25 Thread Phillip Qin
Correct one thing. This guy works for Quebecor, a Canadian publishing company, not necessary in Quebec:) -Original Message- From: Joao Medeiros [mailto:[EMAIL PROTECTED] Sent: September 25, 2003 8:40 AM To: Tomcat Users List Subject: FW: The email you authored contained a violation

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Phillip Qin
I think what he really needs is a CVS client. Eclipse and NetBeans both integrate the CVS client. -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED] Sent: September 24, 2003 11:16 AM To: 'Tomcat Users List' Subject: RE: [OFF TOPIC] Version Control I would try WinCvs for a

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Phillip Qin
CVSNT + Eclipse -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: September 24, 2003 11:50 AM To: Tomcat Users List Subject: RE: [OFF TOPIC] Version Control The Client as well as a cvs server. -Original Message- From: Phillip Qin [mailto:[EMAIL

RE: Trying to get off this list

2003-09-18 Thread Phillip Qin
The only problem I have encountered before is my employer changed our email addresses, i.e., [EMAIL PROTECTED] to [EMAIL PROTECTED] Unsubscribe won't work. Be sure to use exactly the same address you subscribed to the list to unsubscribe. -Original Message- From: Jeremy Nix

FW: Delivery problems: RE: Trying to get off this list

2003-09-18 Thread Phillip Qin
Title: FW: Delivery problems: RE: Trying to get off this list Here comes another naughty subscriber! -Original Message- From: MAILER-DAEMON [mailto:[EMAIL PROTECTED]] Sent: September 18, 2003 9:36 AM To: [EMAIL PROTECTED] Subject: Delivery problems: RE: Trying to get off this list

RE: FW: Delivery problems: RE: Trying to get off this list

2003-09-18 Thread Phillip Qin
: Re: FW: Delivery problems: RE: Trying to get off this list I emailed [EMAIL PROTECTED] to request to unsub that user. -Tim (Tired of that bounce notice too) Phillip Qin wrote: Here comes another naughty subscriber! -Original Message- From: MAILER-DAEMON [mailto:[EMAIL PROTECTED

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas n eeded.

2003-09-18 Thread Phillip Qin
Be more specific. Describe crash. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: September 18, 2003 10:55 AM To: Tomcat Users List Subject: Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed. Hello, I am trying to put live a new version of my web site.

init servlet loaded twice

2003-09-18 Thread Phillip Qin
I was looking at my webapp log this afternoon. I use tomcat + log4j + struts. In the log, I found that my InitServlet was loaded twice. One under Thread-xxx, the other under HostConfig[localhost]. Could any body please explain? PQ

RE: init servlet loaded twice

2003-09-18 Thread Phillip Qin
? Yoav Shapira Millennium ChemInformatics -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 3:39 PM To: '[EMAIL PROTECTED]' Subject: init servlet loaded twice I was looking at my webapp log this afternoon. I use tomcat + log4j + struts

RE: init servlet loaded twice

2003-09-18 Thread Phillip Qin
Subject: RE: init servlet loaded twice Howdy, Reloading a webapp will cause another init of load-on-startup servlets, yes. Yoav Shapira Millennium ChemInformatics -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 3:55 PM To: 'Tomcat Users List

RE: dbcp, initCtx.close()??

2003-09-12 Thread Phillip Qin
I close Context right after I get DataSource. Then I can still do dataSource.getConnection(). So this close will not connection. -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: September 12, 2003 2:19 PM To: Tomcat Users List Subject: dbcp, initCtx.close()?? Tomcat docs

RE: web applications.

2003-09-12 Thread Phillip Qin
Do you mean Tomcat? I like tomcat manager application. However it doesn't work with java security manager. I have to shutdown web server in order to incorporate my changes. -Original Message- From: Jason Lanpher [mailto:[EMAIL PROTECTED] Sent: September 11, 2003 3:04 PM To: [EMAIL

RE: mysite - 3rd party - mysite, session *sometimes* lost

2003-09-11 Thread Phillip Qin
I developed my stored front app. My workaround is - first connection to your ccp (POST method), usually returns you a redirecting url; - second connection to the redirect connection, usually returns you the posting result; - save result and load your page. -Original Message- From:

RE: Cannot load JDBC driver class 'null'

2003-09-11 Thread Phillip Qin
My advice: 1. Never put jdbc in your classpath. It is in $CATALINA_HOME/common/lib/classes12.jar. Tomcat classloader handles it. 2. If you want to do a compile, use ant and put it in your ant script. Below is my setup Context path=/myapp docBase=myapp debug=5 reloadable=true

RE: Ant reload task does not work with Tomcat 4.1.27

2003-09-11 Thread Phillip Qin
dedicated to known issues with the latest release and their fixes or work arounds that is easily accessible from the Tomcat main page. Thanks, Tarek Nabil -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 12:35 AM To: 'Tomcat Users List' Subject: RE

RE: Admin tool

2003-09-11 Thread Phillip Qin
Admin tool reads user id and password from this resource. -Original Message- From: Jeff Cummings [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 6:40 PM To: 'Tomcat User' Subject: Admin tool Hello, I am using tomcat 4.1.24. For the admin web app, I configured authentication in the

RE: URGENT!!! Tomcat 4 download

2003-09-11 Thread Phillip Qin
Download binary from Jakarta.apache.org/tomcat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 11, 2003 4:17 PM To: [EMAIL PROTECTED] Subject: URGENT!!! Tomcat 4 download Hi All I am trying to download tomcat 4.1.24 rpm thro apt-get. I am using

RE: URGENT!!! Tomcat 4 download

2003-09-11 Thread Phillip Qin
Debian should be able to ask you few questions and download dependant packages for you. If not, write the dependencies and run other apt-get install. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 11, 2003 4:36 PM To: [EMAIL PROTECTED] Subject: Re:

RE: Ant reload task does not work with Tomcat 4.1.27

2003-09-10 Thread Phillip Qin
Have you applied 4.1.27 hotfix? -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 1:05 PM To: 'Tomcat Users List' (E-mail) Subject: Ant reload task does not work with Tomcat 4.1.27 Hi everyone, I just upgraded to Tomcat 4.1.27 and the Ant reload

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-10 Thread Phillip Qin
If you use oracle jdbc driver, put classes12.jar in common/lib -Original Message- From: Wynkoop, Robert M [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 6:06 PM To: Tomcat Mailing List (E-mail) Subject: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1.27 w hen trying

RE: What did I miss setting? Log4j?

2003-07-07 Thread Phillip Qin
I had similar problem when I didn't grant read/write permission to log4j.properties in Catalina.policy. Did you start tomcat -security? -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: July 7, 2003 8:36 AM To: tomcat Subject: What did I miss setting? Log4j? log4j:ERROR

RE: ant build fails due to /usr/local/LICENSE (Permission denied)

2003-07-02 Thread Phillip Qin
I can tell by Session.getInstance that you are not using Tomcat's mail session which is simpler. I have two suggestions. 1. Use Tomcat's mail session I don't know Tomcat 4.0.x. For 4.1.x, do not add mail jar or activation jar, whether Tomcat's or jdk's, to your environment variable CLASSPATH.

RE: Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Phillip Qin
Looks like you are build tomcat. Am I correct? Read building.txt carefully. It tells you which package you need to download and *unpack*. -Original Message- From: Thomas Gagné [mailto:[EMAIL PROTECTED] Sent: July 2, 2003 10:39 AM To: Tomcat Users List Subject: Re:

RE: ant build fails due to /usr/local/LICENSE (Permission denied)

2003-07-02 Thread Phillip Qin
Please disregard this message since you seem to build tomcat which is another story. -Original Message- From: Thomas Gagné [mailto:[EMAIL PROTECTED] Sent: July 2, 2003 10:55 AM To: Tomcat Users List Subject: Re: ant build fails due to /usr/local/LICENSE (Permission denied) Phillip Qin

RE: Session.getInstance(props) causes catalina compile error

2003-07-02 Thread Phillip Qin
catalina compile error Phillip Qin wrote: Looks like you are build tomcat. Am I correct? Read building.txt carefully. It tells you which package you need to download and *unpack*. Yes, I'm trying to build Tomcat. I want to explore JSP and servlet programming in Java. The instructions I

RE: context.xml in META-INF directory

2003-06-30 Thread Phillip Qin
AFAIK, context.xml is only required by Tomcat Manager app and thus it has to be located in META-INF in war. -Original Message- From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED] Sent: June 30, 2003 6:58 AM To: Tomcat Users List Subject: context.xml in META-INF directory Hello

RE: Tomcat and Linux

2003-06-30 Thread Phillip Qin
Please be specific. What is failing? What didn't work? What is the error message? -Original Message- From: thors_hammer123 [mailto:[EMAIL PROTECTED] Sent: June 30, 2003 3:50 PM To: [EMAIL PROTECTED] Subject: Tomcat and Linux I have installed Tomcat 5.0 (as part of the Java Web Services

RE: Tomcat 4.1.24 Security

2003-06-25 Thread Phillip Qin
If you grant resolve to jdbc jar, then you don't need to specify the ip in the url, use host.domain:port -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 5:57 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.1.24 Security I am in the process of

RE: Tomcat's Ant Tasks

2003-06-25 Thread Phillip Qin
As I said in my previous post, I gave up using tomcat ant task to deploy my app on production box due to the difficulty of granting permission to war. If you don't start tomcat -security, catalina ant tasks are still the easiest way to go. My lesson learnt from using Catalina tasks is, most of

RE: Tomcat 4.1.24 Security

2003-06-25 Thread Phillip Qin
-Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: June 25, 2003 9:42 AM To: 'Tomcat Users List' Subject: RE: Tomcat 4.1.24 Security If you grant resolve to jdbc jar, then you don't need to specify the ip in the url, use host.domain:port -Original Message- From

RE: Tomcat's Ant Tasks

2003-06-25 Thread Phillip Qin
performance difference became 'significant' [5 secs?]. For development I just have a local TC/MySQL/... setup - the only thing I ever need to change is the server hostname. Anyone think a comment on the plus/minus of the approaches worth following up? Thanks tim Phillip Qin wrote: As I said

RE: Tomcat's Ant Tasks

2003-06-25 Thread Phillip Qin
are deprecated in favour of deploy/undeploy in TC5, so I guess I found the right route ... Phillip Qin wrote: Do you use Tomcat? Do you start Tomcat with -security? -Original Message- From: Tim Shaw [mailto:[EMAIL PROTECTED] Sent: June 25, 2003 11:34 AM To: Tomcat Users List Subject

RE: installing a servlet

2003-06-24 Thread Phillip Qin
Mostly agree with John. But I love jk2 because it is simple to config. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 9:37 AM To: Tomcat Users List Subject: Re: installing a servlet Sorry, it wasn't my intent to criticize anyone, I apologize if that

RE: Deployment of WAR-files

2003-06-24 Thread Phillip Qin
- compile your code - create a context.xml in META-INF - make the war - use tomcat manager to deploy To prevent war from expanding, set unpackWar to false in server.xml's Host element. -Original Message- From: Mark F [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 10:44 AM To: Tomcat

RE: Deployment of WAR-files

2003-06-24 Thread Phillip Qin
I finally gave up using war on my production server though I still use tomcat manager to deploy/undeploy my app on dev box. War is quite convenient in deploy but hard to setup when starting tomcat with security manager. For example, I cann't use war as the codeBase in grant entry. -Original

RE: Tomcat 4.1.24 + Apache 1.3.27

2003-06-24 Thread Phillip Qin
Why do you use FreeBSD port of tomcat? I used to use Red Hat, now I am using Debian. I never use the port version. Simply download a binary from Jakarta.apache.org. I haven't seen any problem of using a *not port* binary. -Original Message- From: Marcia de Oliveira Cardoso [mailto:[EMAIL

RE: Deployment of WAR-files

2003-06-24 Thread Phillip Qin
I have no idea why you restart your machine? -Original Message- From: Geralyn M Hollerman [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 3:19 PM To: Tomcat Users List Subject: Re: Deployment of WAR-files Phillip Qin [EMAIL PROTECTED] wrote: - compile your code - create a context.xml

RE: Apache Web Server + Tomcat Integration with Domain Name?

2003-06-23 Thread Phillip Qin
If you use Apache + Tomcat, you need to replace server name in apache's httpd.conf. -Original Message- From: Sam at Yahoo [mailto:[EMAIL PROTECTED] Sent: June 21, 2003 2:01 PM To: [EMAIL PROTECTED] Subject: Apache Web Server + Tomcat Integration with Domain Name? Hi, I've integrated my

RE: Logging via log4j and war file question

2003-06-23 Thread Phillip Qin
You don't need this line of code at all! Log4J automatically searches for your log4j.properties. But, as general practice, try avoiding getRealPath... to get java.io.File, use getServletContext().getResourceAsStream instead. -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED]

tomcat-user filter

2003-06-23 Thread Phillip Qin
Does this mailing list filter words like NoClassDefFoundError or security? The message that I was posting never gets to the list. Regards, PQ The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was

[REPOST]Tomcat with security manager + NoClassDefFoundError

2003-06-23 Thread Phillip Qin
) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:619) at java.lang.Thread.run(Thread.java:536) -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: June 23, 2003 2:23 PM To: '[EMAIL PROTECTED]' Subject: tomcat-user filter Does this mailing list filter words like

RE: tomcat-user filter

2003-06-23 Thread Phillip Qin
NoClassDefFoundError and it doesn't go away no matter how many times I mess with my classpath question, no. John On Mon, 23 Jun 2003 14:23:00 -0400, Phillip Qin [EMAIL PROTECTED] wrote: Does this mailing list filter words like NoClassDefFoundError or security? The message that I was posting

<    1   2   3   4   >