Hi,
Generally this error occurs when the connection between tomcat and the
database is down, or the connection object is using a connection that is
poor.
For instance, if your tomcat is running, and for some reason, the
database goes down and then restart, you will receive this error.
So,
To be honest, I think touching the server.xml is the only way to do
this. Declare it as a global resource in server.xml and then declare a
resource link in all the contexts that need access.
--David
Lisa L. Woodring wrote:
>I would like to create aliases for a JNDI (specifically, a J
I would like to create aliases for a JNDI (specifically, a JDBC)
resource, such that I can use multiple names to connect to the same
database -- and be able to use the same (i.e. only 1) connection pool
for that database. I haven't been able to find anything on how/if this
is possible. (I
i suppose its a driver problem.
I too had faced the same problem.More the MS SQL driver works in a very
different ways that the query executed is different logically from the query
supplied by us.
Regards,
Sreekanth
nth [mailto:[EMAIL PROTECTED]
> Sent: vendredi 30 septembre 2005 05:27
> To: Tomcat Users List; Lalit Batra
> Subject: Re: SQL Server 2000: JDBC
>
> Hello lalit,
> we too had the problem of connection reset by peer and then we changed
> the
> Driver.Now we are using SourceForge
-Original Message-
From: sree kanth [mailto:[EMAIL PROTECTED]
Sent: vendredi 30 septembre 2005 05:27
To: Tomcat Users List; Lalit Batra
Subject: Re: SQL Server 2000: JDBC
Hello lalit,
we too had the problem of connection reset by peer and then we changed
the
Driver.Now we are using
Hei,
I used to have that problem i am not sure but this happens when you
dont close the connections i guess. Use "sp_who" STORED procedure to
check the logged on users to SQL2000..
sree kanth wrote:
Hello lalit,
we too had the problem of connection reset by peer and then we changed the
Hello lalit,
we too had the problem of connection reset by peer and then we changed the
Driver.Now we are using SourceForge driver jtds.jar.May be this may solve ur
problem.
If anyone can find a better alternative please inform us.
Regards,
Sreekanth
>
2000
Driver for JDBC]Error establishing socket.
Error connecting: java.sql.SQLException: [Microsoft][SQLServer 2000
Driver for JDBC]Connection reset by peer: socket write
All help will be appreciated!
Lalit
-
To unsubscribe, e
Edmon,
Did you get an answer to your question?
I found your question quite interesting. I ran some tests and received the same
error (RMI permission) as you. I used JConsole as well as looked at JMXProxy
and could not determine if my datasource (in this case MySQL) was running or
not. The i
Is there a handy MBean in Tomcat that would allow me to do on demand check
if the connection to the database is up?
I've looked at DataSource but that one does not expose getConnection, and
the one that requires username and password throws RMI permission exception.
I would really like to have som
The attribute maxactive controls how big the pool is. if maxactive is set to 1
then there can be only 1 per time. There are also non-dbcp solutions which have
oracle examples described under JDBC datasources link in tomcat 5.5 doc at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi
Anyone,
I want to configure Tomcat 5.5.x to access each database in the Oracle
cluster, and not using the pool.
This configuration is for database diagnostic puproses, so I need to create
a single connection everytime.
What is the most appropriate way to this using Oracle driver?
Currently I am
Thanks
Specifically, I have a web.xml having:
**
http://java.sun.com/dtd/web-app_2_3.dtd";>
DB Connection
jdbc/TestDB
javax.sql.DataSource
Container
***
and a server.xml having
*Sorry for the long se
Thanks for the quick reply...
Yes the .jar file is in common/lib. I fear the problem lies in the
server.xml since jndi is binding datasource jdbc/TestDB to
org.hsql.jdbcDriver
On Mon, 19 Sep 2005, andy gordon wrote:
> is the MySQL Connector Jar file in the $CATALINA_HOME/common/lib direct
is the MySQL Connector Jar file in the $CATALINA_HOME/common/lib directory?
Kito Holliday <[EMAIL PROTECTED]> wrote:Attempting to use connector-java-3.3.10
with tomcat 4.0 and mysql and
servlets. The Java code:
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)lookup
Attempting to use connector-java-3.3.10 with tomcat 4.0 and mysql and
servlets. The Java code:
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)lookup("jdbc/TestDB");
throws the exception:
Exception creating DataSource: org.hsql.jdbcDriver
The problem is that my
pective tomcat folders.
>
> My mysql driver (mysql-connector-java-3.1.10-bin.jar) is in the
> $CATALINA_HOME/common/lib/ folder and I still get the following message :
>
> Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
>
> It happens when
Hi fellas,
I'm working on Tomcat 5.5.7 on a webapp compiled by Ant using shared and common
libraries in their respective tomcat folders.
My mysql driver (mysql-connector-java-3.1.10-bin.jar) is in the
$CATALINA_HOME/common/lib/ folder and I still get the following message :
Cannot load
Vsevolod (Simon) Ilyushchenko wrote:
Presumably these are two different Contexts; put the appropriate
Resource in each ${context}.xml file...
Thanks! How will different contexts be invoked depending on the URL?
Well, maybe I misunderstood the original question :-)
My presumption was that t
Hassan Schroeder wrote on 09/13/2005 12:33 PM:
Vsevolod (Simon) Ilyushchenko wrote:
As a relative Tomcat newbie, I can't find anything about how to use
two different JDBC sources with the same codebase. I'd like to have
two different URLs that use the same classes and JSP
Vsevolod (Simon) Ilyushchenko wrote:
As a relative Tomcat newbie, I can't find anything about how to use two
different JDBC sources with the same codebase. I'd like to have two
different URLs that use the same classes and JSP pages, but reference
two different databases (test and
ut it's nevertheless
the standard way.
Allistair.
> -Original Message-
> From: Vsevolod (Simon) Ilyushchenko [mailto:[EMAIL PROTECTED]
> Sent: 13 September 2005 17:01
> To: Tomcat Users List
> Subject: Re: Different JDBC sources?
>
>
>
>
> Allistair
Simon,
As a relative Tomcat newbie, I can't find anything about how to use
two different JDBC sources with the same codebase. I'd like to have
two
different URLs that use the same classes and JSP pages, but
reference two different databases (test and production). Is there a
st
Allistair Crossley wrote on 09/13/2005 11:49 AM:
The standard way is 2 servers running their own Tomcat. Each Tomcat is then
configured with the datasource with differing connection strings.
Allistair,
And then I would publish my code into two places? (Or alternatively I
can have two appli
; To: Tomcat Users List
> Subject: Different JDBC sources?
>
>
> Hi,
>
> As a relative Tomcat newbie, I can't find anything about how
> to use two
> different JDBC sources with the same codebase. I'd like to have two
> different URLs that use the same clas
Hi,
As a relative Tomcat newbie, I can't find anything about how to use two
different JDBC sources with the same codebase. I'd like to have two
different URLs that use the same classes and JSP pages, but reference
two different databases (test and production). Is there a standa
ems, Oracle may only support you on 'certified' databases.
I'd try it. If it works great, if doesn't then I patch to
10.1.0.4.
I've also only used the thin client JDBC drivers, so I can't say much
about the other drivers.
HTH,
Jeff
Paul Singleton wrote:
I no
fwiw, i'm still using the old 9.2.0.x oracle jdbc drivers with my new
TC 5.5/JDK 5.0 setup. works fine as far as i can tell :p
woodchuck
--- Paul Singleton <[EMAIL PROTECTED]> wrote:
> > I noticed there are JDBC drivers for 10.1.0.2 and 10.1.0.4. Which
> > should I use?
I noticed there are JDBC drivers for 10.1.0.2 and 10.1.0.4. Which
should I use?
I've always found that Oracle JDBC drivers are backwards
compatible (not that I've driven them very hard) so I'd
use the .4
(or should I patch to 10.1.0.4)
not if it ain't broke :-)
Paul S.
Getting ready to build some applications on Tomcat 5.5.9 on Solaris 9
using jdk 1.5 rev 4 and Oracle 10.1.0.3 as my backend.
I noticed there are JDBC drivers for 10.1.0.2 and 10.1.0.4. Which
should I use? (or should I patch to 10.1.0.4)
Thanks,
CC
--
To reply to this message, remove _NOSPAM_
Hi Siva,
Jar files placed in CATALINA_HOME/common/lib are visible both to all of
your web applications and internal Tomcat code. I think u must be using
JDBCRealm for your application security and this is managed by Tomcat
internally. So u got error when u put your JDBC driver jar file in
WEB
Hi all
Placing jar in the /common/lib works fine.
but placing jar in the webapp//WEB-INF/lib throws JDBC
Driver error
i think this is due to classloader.could anyone explain me in detail why
placing a jar under WEB-INF/lib throws error reason?
regards,
siva
Hi Mark,
Yep I'm pretty sure you can - you can even do pooling - check the tomcat
docs.
Adile
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: August 2, 2005 10:21 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: can I put JDBC connection information in the we
I want to know if it is possible to place the JDBC resource
information in the web.xml file in my context's WEB-INF directory? If
this is possible, what is the syntax?
Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
ust 2005 16:30
> To: tomcat-user@jakarta.apache.org
> Subject: Cannot create JDBC driver of class - help!!
> Importance: High
>
>
> Hi,
> I'm trying to create a struts based application which tries to
> access MySQL dB using mysql-connector-java-3.1.10 connector.
on: Cannot create JDBC
driver of class ' ' for connect URL 'null'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav
a:780)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:5
I am having some troubles getting JDBC session persistance to work. I have
set up my Oracle DB and server.xml correctly (as I have verified that the
session is indeed stored in the DB), but then after restarting tomcat, it
appears that the session is not getting swapped in correctly.
Here
perhaps connection pooling or timeout?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 29 June 2005 11:24
To: tomcat-user@jakarta.apache.org
Subject: Regarding JDBC applet server
Hi
In our project we are using Tomcat server(version 5.0.28) and
DB2(version
Hi
In our project we are using Tomcat server(version 5.0.28) and
DB2(version 5.1).From time to time we get the following error.
ERROR_MSG : [IBM][JDBC Driver] CLI0614E Error sending to the socket,
server is not responding. SQLSTATE=08S01
This is happening due to the jdbc applet server stopping
config for JDBC persisted sessions that I
could look at as the information in the docs seems a little disjointed.
Also, for those that have it working, what has been their experience
with it?
Thanks,
Peter Johnson
-
To unsubscribe
Hi All,
Does anyone have a working config for JDBC persisted sessions that I
could look at as the information in the docs seems a little disjointed.
Also, for those that have it working, what has been their experience
with it?
Thanks,
Peter Johnson
Any tips on how to get a JDBC connection going using the embedded version of
Tomcat? Where does the MySql driver go? How is the JNDI resource
configured? I've tried deploying a .war file with a context.xml, but have
had some problems (below). Thanks, Joe
-Original Message-
From
the /ROOT directory
properly. Inside of the .war file is a context.xml file. The "jdbc/db"
resource is defined in context.xml, inside of the .war file with the
following:
factory
org.apache.commons.dbcp.BasicDataSourceFactory
Hi Bagus,
Am Freitag, 13. Mai 2005 04:04 schrieb Bagus:
> Wow, great.
>
> That worked like a charm. After following your simple instructions,
> your script listed my database tables. Amazing!
Many thanks for the compliment. :-) I have worked this out for me from
the various how-tos. The problem
Wow, great.
That worked like a charm. After following your simple instructions, your
script listed my database tables. Amazing!
I don't quite get the JSTL stuff tho... Your script says:
> <%--
> The taglib directive below imports the JSTL library. If you uncomment it,
> you must also add the JS
, Inc
-Original Message-
From: Lutz Zetzsche [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 12, 2005 12:14 AM
To: Tomcat Users List
Subject: Re: database - jdbc setup help
Hi Bagus,
Am Donnerstag, 12. Mai 2005 00:38 schrieb Bagus:
> I've now set up Tomcat 5.5.4 and have inst
For information about JDBC, you may want to try the Sun JDBC tutorial
<http://java.sun.com/docs/books/tutorial/jdbc/> -
http://java.sun.com/docs/books/tutorial/jdbc/
-Terence
-
To unsubscribe, e-mail: [EMAIL PROTECTE
em to work together with jsp?
>
> Can anyone point me to a short-sweet tutorial that can get me from
> here to there?
>
> I'm not sure if I need to install jdbc and the mysql driver or if
> those are included in the tomcat release.
>
> A tutorial that takes me through a
hort-sweet tutorial that can get me from here to
there?
I'm not sure if I need to install jdbc and the mysql driver or if those are
included in the tomcat release.
A tutorial that takes me through all that would be great.
I am trying to configure JNDI resources on tomcat 5, i used the admin
tool to setup the resource, and checked the server.xml with
documentation on the tomcat site, i have copied the mysql jdbc driver
jar into commons/lib.
when i deploy an application that uses this resource, the following
that app. This will still give
you pooling. If you follow the instructions on the Tomcat site for the
JDBC How-To that will set things up. The only change is to put the
elements in with the context fragment in the xml file for your app
instead of the server.xml.
Yeah the web site should be ch
For each app you have running you will need a context element in a xml
file. This should reside in the war. In this file you can setup the
resource which will be available only to that app. This will still give
you pooling. If you follow the instructions on the Tomcat site for the
JDBC How-To that
Hi,
I'm trying to configure Tomcat5 with a JNDI resource for a JDBC
connection that I would like to be specific to the application. In
other words, I don't want to have to add anything to "server.xml". I
keep reading where this is possible, but haven't seen any c
An
Tomcat Users List
12.04.2005 17:26
Kopie
Bitte antworten
org.apache.jsp.index_jsp
org.apache.jsp.index_jsp
org.apache.jsp.index_jsp
/index.jsp
Oracle Datasource example
jdbc/bbdesa
javax.sql.DataSource
Container
x_jsp
org.apache.jsp.index_jsp
org.apache.jsp.index_jsp
/index.jsp
Oracle Datasource example
jdbc/myoracle
javax.sql.DataSource
Container
---
Do you mean that perhaps you are trying to access
SYBASE specific JDBC extensions? If so, then you need
the "inner most delegate" connection. I did this with
Oracle:
I also had this parameter in my JNDI declaration in
the server.xml...
accessToUnderlyingConnectionAllowed
2005 15:56
An: tomcat-user@jakarta.apache.org
Betreff: DBCP/JDBC Problems with DelegatingResultSet
Hello,
I need some help accessing low level routines using JDNI based
connection pooling provided by tomcat.
Environment: J2SE 1.4.2
Tomcat: 5.5
JDBC-Driver: Sybase JConnect 5.5
Hello,
I need some help accessing low level routines using JDNI based connection
pooling provided by tomcat.
Environment: J2SE 1.4.2
Tomcat: 5.5
JDBC-Driver: Sybase JConnect 5.5 (TDS)
The Tomcat is configured to provide a small connection pool.
Within my servlet i need access
ers.
Tomcat is only the messenger in this case. Some one correct me if I am
wrong.
Don't feel bad, I did the same thing before, twice!
Doug
- Original Message -
From: "Martin Dubuc" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, April 05, 2005
YPE=MyISAM;
Martin
--- Martin Dubuc <[EMAIL PROTECTED]> wrote:
> I am having some problems using JDBC with 5.5.x
> releases. I can use JDBC with 5.0.28, but as soon as
> I
> switch to 5.5.x, I get the following errors trying
> to
> connect to datab
...Cannot create JDBC driver of
class '' for connect URL 'null'
Java code:
Connection conn = null;
Context initCtx = new InitialContext();
Context envCtx = (Context)
initCtx.lookup(JNDI_LOOKUP); //data source name from
properties file
Hi,
the way to define JNDI Datasources has changed from 5.0.x to 5.5.x.
Check out the docs
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Trond
Martin Dubuc wrote:
I am having some problems using JDBC with 5.5.x
releases. I can use JDBC with 5.0.28, but as
I am having some problems using JDBC with 5.5.x
releases. I can use JDBC with 5.0.28, but as soon as I
switch to 5.5.x, I get the following errors trying to
connect to database:
Mar 29, 2005 11:26:37 AM
org.apache.catalina.realm.DataSourceRealm open
SEVERE: Exception performing authentication
ing your time.
>
> I'm trying to get a JDBC Data pool connection up using
> Tomcat and postgres SQL.
>
> My JNDI source is configured, and when I :
> Context initContext = new InitialContext();
> Context envContext =
> (Context)initContext.lookup("java:/comp/env
First of all, hello to the groupe.
I'm a newbi as far as tomcat is concerned, so if this is
really stupid, sorry for wasting your time.
I'm trying to get a JDBC Data pool connection up using
Tomcat and postgres SQL.
My JNDI source is configured, and when I :
Context initCon
Fenderbosch Eric, Wolfgang Hackl and Jon Wingfield. Hi and thank you!
It's looks like I have a lot of thing to learn (it's nice to learn everyday
hehe). For closing connection + ResultSet and Statement, I wanted to include
them later.
Anyway, thank you very very much for these advices and answers
);
PrintWriter out = response.getWriter();
// New Instance : DBConnection
DBConnection db = new DBConnection();
String req ="Select * FROM User_Table";
try{
db.Connect();
out.println(" DRIVERS JDBC : OK!");
out.println(" Connexion TO DB : O
Close your ResultSets and Statements after
usage (read some JDBC tutorials)! If this does not help with your
current problem, this might be the next problem you run into anyway.
Kind regards,
Wolfgang
-
To unsubscribe, e-mail: [EMAIL
sultSet result;
String url = "jdbc:mysql://localhost:3306/HeroDB";
String user = "Login";
String password = "Password";
try{
Class.forName("com.mysql.jdbc.Driver");
out.println(" DRIVERS JDBC : OK!");
Connection connection = DriverMan
It is my understanding that the JDBC realm will execute prior to any
filters or other servlets, so I wouldn't think this would be possible
unless you perform your own authentication - possibly in a filter - to
do just what you're looking for.
-Original Message-
From: Fredrik Lid
Is it possible to pass login info in a link and then based on this
information set the JDBC realm status to logged in?
In other words is it possible to trigger the authentication manually in
a filter?
Thanks!
/Fredrik
-
To
No problem. Amazing what an extra set of eyes will catch, isn't it?
Enjoy!
David
Darryl Wagoner wrote:
David,
I have been looking at this off and on for weeks and could not see the
problem. I changed the context to
be jdbc/TestDB and it worked.
Thank you very much
David Smith wrot
David,
I have been looking at this off and on for weeks and could not see the
problem. I changed the context to
be jdbc/TestDB and it worked.
Thank you very much
David Smith wrote:
In your context definition, you have
In your web.xml, you have jdbc/TestDB
These two need to match. If one
In your context definition, you have
In your web.xml, you have jdbc/TestDB
These two need to match. If one is jdbc/TestDB, so must the other.
--David
Darryl Wagoner wrote:
Greetings,
Not sure if this made it the first time. I didn't see it show up on
the list
I am trying to get the examp
Woops, my bad, that's not it, I should have read the entire message :(
Drew.
On Tue, 2005-03-01 at 18:51, Drew Jorgenson wrote:
> javax.servlet.ServletException: Unable to get connection, DataSource
> invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
javax.servlet.ServletException: Unable to get connection, DataSource
invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
JDBC driver of class '' for connect URL 'null'"
what is your connection URL? it doesn't seem like you're supplying
What version are you running of Tomcat?
Did you put in your resource link?
Doug
- Original Message -
From: "Darryl Wagoner" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JD
>Sounds like it can't find the driver. Do you have the Connector/J jar
installed in the correct place? Should be in common/lib.
I think so! I have
$CATALINA/common/lib/mysql-connector-java-3.0.16-ga-bin.jar which I
believe to be the correct.
I just downloaded and installed 3.1 with same res
ROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JDBC/JNDI Datasource example
Greetings,
Not sure if this made it the first time. I didn't see it show up on
the list
I am trying to get the example in the MySQL JD
uot;
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JDBC/JNDI Datasource example
Greetings,
Not sure if this made it the first time. I didn't see it show up on the
list
I am trying to get the example in the MySQL JDBC/JNDI HOWTO to work and I
am missi
Greetings,
Not sure if this made it the first time. I didn't see it show up on the
list
I am trying to get the example in the MySQL JDBC/JNDI HOWTO to work and
I am missing something.
I get this error: My webapp directory is /DBTest.
What am I missing?
thanks
-darryl
--- Error Page ---
George Sexton wrote:
If you really want to do this, then you will need to have your application
startup have a method that permits an operator to enter in the password for
the JDBC information at startup.
Whatever - the key is to be able to insert an application-defined
processing step between
Your argument about short duration attacks is optimistic at best. Most
systems are so poorly secured and monitored, that breakins aren't detected
anywhere near that quickly.
Let's face reality here. The only safe way to hide the JDBC information is
to have the SECRET (encryption pas
t;[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, February 28, 2005 4:34 AM
Subject: RE: Question for Tomcat Developers - How to Plug In Encryption for
JDBC passwords
If I can see your encrypted passwords, then I can see the
code that decrypts
them. And with that I have your
>
> If I can see your encrypted passwords, then I can see the
> code that decrypts
> them. And with that I have your passwords. It only adds a
> step to my effort
> to crack your security.
>
Is that strictly true? If you use the method that is used to encrypt Unix
passwords (google for JCry
; Write element in the tomcat-users.xml file.
>>
>> deepak suldhal wrote:
>>> Hi,
>>>I followed the JDBC document posted on Tomcat site.
>>> and it works fine. I am able to access the database and see the
>>> results.
>>>
>>> My q
<[EMAIL PROTECTED]> wrote:
> Write element in the tomcat-users.xml
> file.
>
> deepak suldhal wrote:
> > Hi,
> >I followed the JDBC document posted on Tomcat
> site.
> > and it works fine. I am able to access the
> database
> > and see the r
Write element in the tomcat-users.xml file.
deepak suldhal wrote:
Hi,
I followed the JDBC document posted on Tomcat site.
and it works fine. I am able to access the database
and see the results.
My question is.
I have different users who will be using my
application
and I need to validate
Hi,
I followed the JDBC document posted on Tomcat site.
and it works fine. I am able to access the database
and see the results.
My question is.
I have different users who will be using my
application
and I need to validate these users before I provide
them acesss to database.
How would I do
Why do you give your webapp access to a sql user with all this dangerous
and unneccessary access? The user name / password on the
externally-accessible machine could have a sql login that only granted
access to views (or better yet) procedures, that allowed for the minimal
necessary access: that's
> I an using Tomcat 5.5.7, and I am planning on upgrading as needed.
>
> As we all know Tomcat enables me to configure JDBC resources
> that my app can use through the JNDI. My problem is that these
> passwords have to be stored as a plain text
> which is a very bitter pill in my en
AM
Subject: Re: Question for Tomcat Developers - How to Plug In Encryption for
JDBC passwords
Please do not start the flame war. Check what I have to say. I am really
not a beginner in this area.
First, feature I mentioned is commonly implemented on every major
application server platform tha
activities -
primarely finding and reading the sensitive data. It is commonly
recognized in the security circles that the application server's JDBC
rights are
achilles heel of the application. With clear passwords - there is
nothing in your way.
If you have 5 min on the Tomcat that h
- Original Message -
From: "Edmon Begoli" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, February 26, 2005 10:08 PM
Subject: Question for Tomcat Developers - How to Plug In Encryption for JDBC
passwords
Hi,
I an using Tomcat 5.5.7, and I am planni
Hi,
I an using Tomcat 5.5.7, and I am planning on upgrading as needed.
As we all know Tomcat enables me to configure JDBC resources
that my app can use through the JNDI. My problem is that these passwords
have to be stored as a plain text
which is a very bitter pill in my environment.
What is
gDriver.isAccessToUnderlyingConnectionAllowed());
PoolingDriver.setAccessToUnderlyingConnectionAllowed(true);
BasicDataSource dataSource = (BasicDataSource)envContext.lookup("jdbc/website");
logger.debug("dataSource.isAccessToUnderlyingConnectionAllowed:
"+dataSource.isAccessToUnderlyingConnec
lved by this.
-Original Message-
From: deepak suldhal [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 11:53 AM
To: tomcat users
Subject: JDBC connection - Please help
Please help me make my first JDBC connection
My web.xml
http://java.sun.com/xml/ns/j2ee";
xmlns:
Laxmi
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > Yes i read and did as per the document.
> > When
> > > > it
> > > > > > didn't
> > > > > > > work, i followed the suggeti
1 - 100 of 2634 matches
Mail list logo