Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Jeffrey Barnett
valueoracle.jdbc.driver.OracleDriver/value/parameter parameternamedriverName/name valuejdbc:oracle:thin:@myhost.edu:1521:LIBR/value/parameter /ResourceParams When I deploy the servlet on my development server (Tomcat 4.06) it runs without error and reports Init

RE: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Shapira, Yoav
: Jeffrey Barnett [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:04 PM To: Tomcat Users List Subject: Binding DataSources to Contexts in Tomcat 4.06/4.1 I have a servlet that contains the following code in its init() method: public void init(ServletConfig config) throws

Re: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Jeffrey Barnett
-Original Message- From: Jeffrey Barnett [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:04 PM To: Tomcat Users List Subject: Binding DataSources to Contexts in Tomcat 4.06/4.1 I have a servlet that contains the following code in its init() method: public void init(ServletConfig config

RE: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Shapira, Yoav
Hi, In both servers the Resource declarations are in the DefaultContext block. All DataSources are shared by all webapps. You realize that by placing a Resource in DefaultContext you ensure that a separate copy is created for each Context, right? That means if you configure for 10 max

Re: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Jeffrey Barnett
I'm sure your explanation as well as a (re) reading of the How To will allow me to correct the problem. Thanks very much! I'd like a little more explanation however about your advice on using DefaultContext. In addition to the advantage of having a single place to add, remove, and change

RE: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Shapira, Yoav
Hi, passwords), I THOUGHT I was sharing a single copy of the resources. I understand now that a separate copy is created for every application. But what I don't understand is how putting every resource in every actual context is better. If I have 5 applications, each of whose actual context

RE: Howto run tomcat 4.06 as windows service

2004-04-08 Thread Carl Olivier
- From: baldyeti [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 09:18 PM To: [EMAIL PROTECTED] Subject: Howto run tomcat 4.06 as windows service Hello, I have an existing tc4 installation (copied in a hurry from another system ;-) which works fine when launched via the startup.bat script

Re: Howto run tomcat 4.06 as windows service

2004-04-08 Thread baldyeti
Thanks, Carl. It worked like a charm. This seems to be what the regular windows installer also uses, isn't it? Cheers, -bald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Howto run tomcat 4.06 as windows service

2004-04-07 Thread baldyeti
Hello, I have an existing tc4 installation (copied in a hurry from another system ;-) which works fine when launched via the startup.bat script. Is there a way to turn it into a proper windows (XP) service? I know tc5 has service.bat, but short of upgrading, what would be the equivalent here?

RE: Problem installing Tomcat 4.06 on Windows 2000

2003-03-10 Thread Kal Govindu
PROTECTED] Subject: Problem installing Tomcat 4.06 on Windows 2000 I am new to using Tomcat I followed the instructions and extracted Tomcat to a folder in C:\ I am using JDK 1.2.2 and set JAVA_HOME as the same The CATALINA_HOME is also set to my tomcat directory. When I execute startup

Problem installing Tomcat 4.06 on Windows 2000

2003-03-09 Thread Venkatesh Brahmadesam
I am new to using Tomcat I followed the instructions and extracted Tomcat to a folder in C:\ I am using JDK 1.2.2 and set JAVA_HOME as the same The CATALINA_HOME is also set to my tomcat directory. When I execute startup a new console opens with Tomcat and then closes. TOmcat doesn't

tomcat 4.06

2003-01-16 Thread Andrea Cristofanini
what is this error? what i have to do for fix it? how i can use jikes to compile this?? javax.servlet.ServletException: (class: org/apache/jsp/QqcPage$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target

RE: tomcat 4.06

2003-01-16 Thread Shapira, Yoav
-Original Message- From: Andrea Cristofanini [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 10:13 AM To: [EMAIL PROTECTED] Subject: tomcat 4.06 what is this error? what i have to do for fix it? how i can use jikes to compile this?? javax.servlet.ServletException: (class