Embedded Tomcat JNDI/JDBC Configuration Questions

2005-05-29 Thread Joe Reger, Jr.
Hi! I've successfully created a project that embeds Tomcat. Excellent! I can see the sample page and the manager app, reporting Tomcat 5.5.9. Now I'm working on deploying a .war file programatically: public void registerWAR(String contextPath, String absolutePath) throws Exception {

Re: tomcat oracle jdbc pooling

2004-10-12 Thread Bj
(application.getInitParameter(maxStatements)); -Original Message- From: Bj [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 9:30 AM To: Tomcat Users List Subject: Re: tomcat oracle jdbc pooling hi, I'm using simple OracleDatasource and I want to activate OracleDataSource.setMaxStatements

tomcat oracle jdbc pooling

2004-10-11 Thread Bj
Hi, I'm using tomcat jdbc connection pooling through dbcp datasourceFactory and it works well. Now, I want to use oracle.jdbc.pool.OracleDataSourceFactory to instanciate oracle.jdbc.pool.OracleDataSource. It seems to work, but I'm wondering is there's some specific parameters to add ? I also

AutoReply: tomcat oracle jdbc pooling

2004-10-11 Thread tester
Hello Tomcat Users List [EMAIL PROTECTED], This refers to your mail with subject as tomcat oracle jdbc pooling. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches

Re: AutoReply: tomcat oracle jdbc pooling

2004-10-11 Thread Renan Galang
11, 2004 8:14 PM Subject: AutoReply: tomcat oracle jdbc pooling Hello Tomcat Users List [EMAIL PROTECTED], This refers to your mail with subject as tomcat oracle jdbc pooling. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match

Re: tomcat oracle jdbc pooling

2004-10-11 Thread David Smith
for the OracleDataSourceFactory to see what parameters are available. --David Bj wrote: Hi, I'm using tomcat jdbc connection pooling through dbcp datasourceFactory and it works well. Now, I want to use oracle.jdbc.pool.OracleDataSourceFactory to instanciate oracle.jdbc.pool.OracleDataSource

AutoReply: Re: tomcat oracle jdbc pooling

2004-10-11 Thread tester
Hello Tomcat Users List [EMAIL PROTECTED], This refers to your mail with subject as Re: tomcat oracle jdbc pooling. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches

Re: tomcat oracle jdbc pooling

2004-10-11 Thread Bj
: Hi, I'm using tomcat jdbc connection pooling through dbcp datasourceFactory and it works well. Now, I want to use oracle.jdbc.pool.OracleDataSourceFactory to instanciate oracle.jdbc.pool.OracleDataSource. It seems to work, but I'm wondering is there's some specific parameters to add ? I also

AutoReply: Re: tomcat oracle jdbc pooling

2004-10-11 Thread tester
Hello Tomcat Users List [EMAIL PROTECTED], This refers to your mail with subject as Re: tomcat oracle jdbc pooling. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches

RE: tomcat oracle jdbc pooling

2004-10-11 Thread David Short
PROTECTED] Sent: Monday, October 11, 2004 6:49 AM To: Tomcat Users List Subject: Re: tomcat oracle jdbc pooling I've tried but I didn't manage to set these parameters in the server.xml tomcat file. I can do this in the java code but it increases oracle dependancy and I would like to avoid that. Bj

Re: tomcat oracle jdbc pooling

2004-10-11 Thread Bj
hi, I'm using simple OracleDatasource and I want to activate OracleDataSource.setMaxStatements() and OracleDataSource.setImplicitCachingEnabled() through tomcat server.xml or application web.xml. For tomcat 5.0.19, when I add parameters in web.xml or server.xml it doesn't work. I've tried in

RE: tomcat oracle jdbc pooling

2004-10-11 Thread David Short
To: Tomcat Users List Subject: Re: tomcat oracle jdbc pooling hi, I'm using simple OracleDatasource and I want to activate OracleDataSource.setMaxStatements() and OracleDataSource.setImplicitCachingEnabled() through tomcat server.xml or application web.xml. For tomcat 5.0.19, when I add parameters

Re[2]: Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-08 Thread Anton Tagunov
Hello Shailesh! SM properties files(configuration files) for my web-app are not getting SM picked up. I have tried following ways one by one: SM 1. kept them in \WEB-INF\classes folder the right move SM 2. kept them in \WEB-INF\lib won't work, it's for jars only SM 3. made the jar out of them and

Re: Re[2] :Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-08 Thread Shailesh Modi
To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re[2]: Deployment problems in tomcat 4.1.27 : jdbc and properties files Hello Shailesh! SM properties files(configuration files) for my web-app are not getting SM picked up. I have tried following ways one by one: SM 1. kept them in \WEB-INF\classes

RE: Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-08 Thread Mike Curwen
try /properties/framework.properties ? -Original Message- From: Shailesh Modi [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:11 AM To: 'Tomcat Users List' Subject: RE: Deployment problems in tomcat 4.1.27 : jdbc and properties files Hi James

RE: Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-07 Thread Shailesh Modi
PROTECTED] Sent: Saturday, September 06, 2003 9:05 AM To: Tomcat Users List Subject: Re: Deployment problems in tomcat 4.1.27 : jdbc and properties files Shailesh, Is it classes12.jar or classes12.zip? Your first post said zip. If it is zip make sure you rename it to jar. If you rename

Re: Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-05 Thread James Harman
Shailesh, Is it classes12.jar or classes12.zip? Your first post said zip. If it is zip make sure you rename it to jar. If you rename it to classes12.jar and put it in WEB-INF\lib it will be picked up. James Shailesh Modi wrote: Hi, I have kept classes12.jar in every possible places in

Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-04 Thread Shailesh Modi
Hi, I have kept classes12.jar in every possible places in tomcat 4 directory(C:\jakarta-tomcat-4.1.27\common\lib or C:\jakarta-tomcat-4.1.27\server\lib), but no help. Also keeping properties files into my web-app's WEB-INF/classes directory too not able to help me out. Alternatively, I have

Tomcat C-JDBC

2003-06-10 Thread Emmanuel Cecchet
Hi, There is an open-source project called Clustered-JDBC (http://c-jdbc.objectweb.org) that allows any Servlets/JSP to transparently access a cluster of databases through JDBC. C-JDBC offers both performance scalability and fault tolerance to the database tier by using various replication

Tomcat Bug: JDBC driver can not be found when webapp made root.

2003-03-25 Thread Stephen Riek
I've been tearing my hair out for days trying to work out why I've been getting jdbc driver not found 'Null' errors. Then I came across this previous post, http://www.mail-archive.com/[EMAIL PROTECTED]/msg83356.html The original poster was absolutely correct - it's all due to making the

Tomcat + postgresql+ jdbc integration problem

2003-02-28 Thread pcampaigne
I am getting the error Error accessing database No suitable Driver. My installation consists of: tomcat 4.06 postgresql 7.3.2 pg731bjdbc2.jar IBMJava2-14 SDK I have read archives and how to and taken the following actions. placed pg731bjdbc2.jar in common/lib tcpip_socket= 1 in postresql.conf

Very very urgent, tomcat 4.1.17, JDBC cannot load

2003-02-17 Thread Nandish A
Hi all, I have a application and i created a war file using jar -cf JSPCode.war *, and put it in the webapps folder. when i started the tomcat(4.1.17) the war was self extracted. in the server.xml i have the context as listed below Context path=\JSPCode docBase=JSPCode

Tomcat, PreparedStatement JDBC problem

2003-02-10 Thread Mufaddal
Hi Everybody I am using tomcat on Mac OS X. One of my servlets does the following: 1. I am creating a table ROLE as follows: ___ stmt.executeUpdate( CREATE TABLE ROLE ( + ID INTEGER

RE: Tomcat, PreparedStatement JDBC problem

2003-02-10 Thread Filip Hanik
To: Tomcat List Subject: Tomcat, PreparedStatement JDBC problem Hi Everybody I am using tomcat on Mac OS X. One of my servlets does the following: 1. I am creating a table ROLE as follows

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-03 Thread Raj Saini
, 2002 8:11 PM To: Tomcat Users List Subject: Re: tomcat 4.1.12 JDBC driver class 'null' I'm getting the same error with MySQL and I've seen posts for PostgreSQL, MySQL and Oracle. I have followed all suggestions with no luck except for one case - the example given in the JNDI - How To works

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-03 Thread Raj Saini
Jake, You will need to put a defaulthost attribute in your engine defination. This is a bug in the server.xml and it was detacted long back ago. Dont know why it is not still corrected in the server.xml file. May be the warp connecter is no more actively developed. Your Engine tag should be:-

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-03 Thread Jake Tweer
Raj, Thanks again but I am still getting the exception. I'll probably have to shelve working on this for the time being. Should I look at the mod_jk2 connector as an alternative? Raj Saini wrote: Jake, You will need to put a defaulthost attribute in your engine defination. This is a

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-03 Thread Raj Saini
Yes, mod_jk is a better. warp is no more activly devloped. I also switched to mod_jk on 4.1.12. Raj Jake Tweer wrote: Raj, Thanks again but I am still getting the exception. I'll probably have to shelve working on this for the time being. Should I look at the mod_jk2 connector as an

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-02 Thread Raj Saini
There is an error in your datasource configureation. The DriveName element is changed to url in 4.1.12 parameter namedriverName/name valuejdbc:oracle:thin:@localhost:1521:ctg/value /parameter should be parameter nameurl/name valuejdbc:oracle:thin:@localhost:1521:ctg/value

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-02 Thread Raj Saini
Hi jake, You woll need to define a context under a Tomcat-Apache service. I belive you are using the context defined in the Stand-Alone service. you must have a virtual host and your context under this virtual host. I hope this helps you. Raj Jake Tweer wrote: I'm getting the same error

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-02 Thread Markus Keller
Hello I am getting the error with postgresql when I try to create a JDBC Connection Pool (tomcat 4.1.12 - mod_webapp and standalone). A JDBC ralm with the same database server and the same database works without problems. I do not now how to solve that problem. Please post to the list

RE: tomcat 4.1.12 JDBC driver class 'null'

2002-10-02 Thread Robert Herold
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] g]On Behalf Of Raj Saini Sent: Wednesday, October 02, 2002 1:07 AM To: Tomcat Users List Subject: Re: tomcat 4.1.12 JDBC driver class 'null' There is an error in your datasource configureation. The DriveName element

RE: tomcat 4.1.12 JDBC driver class 'null'

2002-10-02 Thread Robert Herold
:[EMAIL PROTECTED] g]On Behalf Of Jake Tweer Sent: Tuesday, October 01, 2002 8:11 PM To: Tomcat Users List Subject: Re: tomcat 4.1.12 JDBC driver class 'null' I'm getting the same error with MySQL and I've seen posts for PostgreSQL, MySQL and Oracle. I have followed all suggestions with no luck

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-02 Thread Jake Tweer
Raj, Thanks for the tip - I tried your suggestion by moving the JNDI-How To example out of the standalone tomcat service and into the Tomcat-Apache service. Bear in mind that the example works Ok in tomcat standalone. The Tomcat-Apache service I am using is the default provided and works in

tomcat 4.1.12 JDBC driver class 'null'

2002-10-01 Thread Robert Herold
I've been happily using tomcat 4.0.4 for a while, and thought I'd upgrade to version 4.1.12. Alas, I cannot get tomcat to find my Oracle JDBC driver when I use 4.1.12. It worked fine in 4.0.4. Any ideas what might be wrong? My classes12.jar is in common/lib where it is supposed to be. It's

Re: tomcat 4.1.12 JDBC driver class 'null'

2002-10-01 Thread Jake Tweer
I'm getting the same error with MySQL and I've seen posts for PostgreSQL, MySQL and Oracle. I have followed all suggestions with no luck except for one case - the example given in the JNDI - How To works for me. The example is using standalone Tomcat and that works. As soon as I use

RE: Tomcat, Postgres, JDBC, Blackdown 1.3.1, IE: No impact, no idea!

2002-04-28 Thread Greg Trasuk
- From: Colin Freas [mailto:[EMAIL PROTECTED]] Sent: April 26, 2002 16:06 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Tomcat, Postgres, JDBC, Blackdown 1.3.1, IE: No impact, no idea! My application, in a nutshell, allows you to click within a series of HTML table data cells

Tomcat, Postgres, JDBC, Blackdown 1.3.1, IE: No impact, no idea!

2002-04-26 Thread Colin Freas
be Tomcat, Postgres, JDBC, or IE for all that, but I figure I'd start here. Any ideas or thoughts are welcome and appreciated. Colin Freas Systems Analyst Center for Population and Health Georgetown University -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

TomCat 4.0.2 + JDBC MSSQL2000 drivers + BASE auth = exception ?

2002-02-21 Thread Roman Pokrovskij
Hello ALL Configuration: Win2000, JDK 1.3.1_02, MS SQL Server 2000 Tomcat configured to use BASE authorization... All works properly with TC 4.0 (which comes with Borland IDE). TC 4.0.2 asks (three times) for password, but after that write into the log file this: -

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Micael Padraig Og mac Grene
] To: Tomcat Users List [EMAIL PROTECTED] Date: Thursday, November 29, 2001 2:20 PM Subject: Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration? To answer your question, yes I understand what a servlet's init() method is and when it's called. You've provided

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Micael Padraig Og mac Grene
Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Thursday, November 29, 2001 2:20 PM Subject: Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration? To answer your question, yes I understand what a servlet's init() method

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Micael Padraig Og mac Grene
Did you get my messages? -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Thursday, November 29, 2001 2:20 PM Subject: Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration? To answer your question, yes I

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Mark
[EMAIL PROTECTED] Date: Thursday, November 29, 2001 2:20 PM Subject: Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration? To answer your question, yes I understand what a servlet's init() method is and when it's called. You've provided valuable information and I

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Micael Padraig Og mac Grene
Yah, you've moved along alright. -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Friday, November 30, 2001 10:03 AM Subject: Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration? Yes, I saw your replies

Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread Mark
Can someone point me in the right direction or provide an example of configuring an application to use JDBC under Tomcat 4.0? I was able to use both thin and OCI Oracle JDCB drover connections by copying the classes12.zip to $CATALINA_HOME/common/lib directory and renaming it to classes12.jar

Re: Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread David Smith
On Thursday 29 November 2001 12:01 pm, you wrote: Can someone point me in the right direction or provide an example of configuring an application to use JDBC under Tomcat 4.0? I was able to use both thin and OCI Oracle JDCB drover connections by copying the classes12.zip to $CATALINA_HOME/common/lib

OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread Micael Padraig Og mac Grene
); pool.recycleConnection(conn); return users; } return null; } } -Original Message- From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, November 29, 2001 8:58 AM Subject: Tomcat 4.0/JDBC driver configuration? Can someone point me

Re: Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread Micael Padraig Og mac Grene
You probably already figured out from what I sent that kiddy stuff is in java.sql.* but grownups are in javax.sql.*. ///;-) -Original Message- From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, November 29, 2001 8:58 AM Subject: Tomcat 4.0/JDBC driver

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread Mark
Message- From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, November 29, 2001 8:58 AM Subject: Tomcat 4.0/JDBC driver configuration? Can someone point me in the right direction or provide an example of configuring an application to use JDBC under Tomcat 4.0

RE: tomcat and jdbc

2001-08-20 Thread Rob S.
Hi I am using tomcat in a win 98 environment. I registered my db as an ODBC data source. I have tried to go to the tomcat conf file looking for server.xml To enable the jdbc realm to be loaded but Tomcat is not connecting to jdbc. Please help... I have checkd with friends with same

tomcat and jdbc

2001-08-19 Thread e.chan
Hi I am using tomcat in a win 98 environment. I registered my db as an ODBC data source. I have tried to go to the tomcat conf file looking for server.xml To enable the jdbc realm to be loaded but Tomcat is not connecting to jdbc. Please help... I have checkd with friends with same settings as

jdk1.3.0_02 tomcat 3.2.1 jdbc problem

2001-06-06 Thread rohit kamath
when I run tomcat as a nt service, I have problems connecting to the database. It gives me jdbc not found error. But if I stop the service and run it as an application it has no problems connecting to the database. can anyone help. Rohit

Re: jdk1.3.0_02 tomcat 3.2.1 jdbc problem

2001-06-06 Thread Gary Dale
Could be one of two problems. When you run it as a service, it probably is running as system but when you run it as an app, it runs with your user id. Check the privieleges! Or it could be the jdk1.3 problem. It won't run as a service - shuts down when you log off! I'm not sure it is fixed in

RE: jdk1.3.0_02 tomcat 3.2.1 jdbc problem

2001-06-06 Thread Nibler Jeff R. (PDX1JRN)
), Tomcat will ignore your CLASSPATH variable when run as a service. Hope this helps you! -Jeff -Original Message- From: rohit kamath [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 11:56 AM To: [EMAIL PROTECTED] Subject: jdk1.3.0_02 tomcat 3.2.1 jdbc problem when I run tomcat