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 {
(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
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
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
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
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
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
:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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:-
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
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
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
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
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
-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
:[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
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
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
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
-
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
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
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:
-
]
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
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
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
[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
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
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
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
);
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
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
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
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
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
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
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
), 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
54 matches
Mail list logo