passing environment variables to Tomcat

2002-07-29 Thread Chen, Dean (Zhun)
Hi, I'm using Tomcat 4.0.3, we need to pass an environment variable to Tomcat. In essence, we are trying to define the environment variable, i.e.: DEV, QA, PROD, etc. Currently, we do this by modifying the catalina.sh and add this to the runtime command -Dweb.env=$WEB_ENV \ However, can

Environment Variable

2002-07-11 Thread Chen, Dean (Zhun)
Hi, I have a quick question. I would like my application to know what kind of environment (DEV, QA, PROD) it's in by looking at Tomcat. Does anyone know how to do that? Thanks, Dean Chen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: Environment Variable

2002-07-11 Thread Chen, Dean (Zhun)
the value. Maybe one of those will work for you ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Chen, Dean (Zhun) [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 10:54 AM To: 'Tomcat Users List' Subject: Environment Variable Hi, I have a quick question. I

Multiple App deployment

2002-06-21 Thread Chen, Dean (Zhun)
Hi, I have a simple question regarding where to put files for deployment of multiple applications that will share common files. Currently, I have root --commons css images jsp --images --jsp --WEB-INF This is good because you can package all these up into a WAR file and everything

Tomat Weblogic

2002-06-20 Thread Chen, Dean (Zhun)
Has anyone had success developing the application in Tomcat and having it run in production in Weblogic? I'm trying to figure out what are the common files and what are the app-specific files. So far, I have a build.xml script that puts the files in the correct places. However, Tomcat specifies

RE: tomcat 4.0.3 and No suitable driver SQLException - SOLVED

2002-05-29 Thread Chen, Dean (Zhun)
= DriverManager.getConnection(); However, still doesn't work if I do ds.getConnection(); How can I check to see if the datasource is loaded correctly besides checking if it's null or not. Thanks, Dean Chen -Original Message- From: Chen, Dean (Zhun) Sent: Tuesday, May 28, 2002 1:00 PM To: 'Tomcat Users

RE: tomcat 4.0.3 and Null datasource

2002-05-28 Thread Chen, Dean (Zhun)
Thanks, I can't believe that was it, I was concentrating on the first D and totalling ignored the S. Thanks again. This is what I get for coding on Friday! :-) Dean Chen -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 6:06 PM To: Tomcat

RE: tomcat 4.0.3 and Null datasource

2002-05-28 Thread Chen, Dean (Zhun)
jconn2.jar, file size is 760KB, I put it in CATALINA_HOME/common/lib. Are there any files I'm missing? Also, people mentioned putting these files in the same directory, ie: DBCP, collections and pool, what do I need these files for? Thanks, Dean Chen -Original Message- From: Chen, Dean

tomcat 4.0.3 and No suitable driver SQLException

2002-05-28 Thread Chen, Dean (Zhun)
Hi, I know this has been covered before, and I've searched the archives, but none of the solutions posted seemed to work. Am I missing something? I am using Tomcat 4.03, JDK 1.4, and Sybase JConn 5.5 Here's what I did: I installed the appropriate applications. I put jconn2.jar in

RE: tomcat 4.0.3 and No suitable driver SQLException

2002-05-28 Thread Chen, Dean (Zhun)
Chen -Original Message- From: Chen, Dean (Zhun) Sent: Tuesday, May 28, 2002 1:00 PM To: 'Tomcat Users List' Subject: tomcat 4.0.3 and No suitable driver SQLException Hi, I know this has been covered before, and I've searched the archives, but none of the solutions posted seemed to work

RE: tomcat 4.0.3 and Null datasource

2002-05-24 Thread Chen, Dean (Zhun)
Hi, I am having trouble obtain datasource to get a connection, I've looked over the mailing archives and followed the directions, but still can't get it to work. I'm using I'm using Tomcat 4.0.3 and Sybase jconn2.jar I have a method that has this Context ctx = new