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,
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 would
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 JDBC
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
-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
]
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 driver jtds.jar.May be this may
solve ur
problem
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
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
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
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
doing this:
Resource name=jdbc/server name
auth=Container
driverClassName=oracle.jdbc.driver.OracleDriver
type=javax.sql.DataSource
username=username
password=password
url=jdbc:oracle:thin:@server
maxActive=1
maxIdle=1
maxWait=-1
removeAbandoned=true
logAbandoned=true
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
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
=org.apache.catalina.logger.FileLogger
prefix=standalone_DBTest_log. suffix=.txt
timestamp=true /
Resource name=jdbc/TestDB auth=Container
type=javax.sql.DataSource
driverClassName=com.mysql.jdbc.Driver
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 directory
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 .xml files
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(jdbc
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 JDBC
.
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 the dataSourceVariable.getConnection() method of type
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 standard way
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 classes and JSP pages, but reference
two different databases (test
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
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
standard way
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 Crossley wrote on 09/13/2005 11:49 AM:
The standard way is 2 servers
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 production
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 pages
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
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 noticed there are JDBC drivers for 10.1.0.2
Hi all
Placing jar in the tomcat_home/common/lib works fine.
but placing jar in the webapp/application_name/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 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
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_
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.
--
No virus found
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've always found
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
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 webapps
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
40
Is Context not supposed to be within a Host element? You also have a lowercase
c in context rather than Context. You also will want jdbc/ before the name
for the datasource.
In fact, I think you need to read the manual (I am assuming Tomcat 5.0,
otherwise look at your version).
http
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
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
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
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: Joe
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:
Resource name=jdbc/db auth=Container type=javax.sql.DataSource/
ResourceParams name=jdbc/db
parameter
namefactory/name
?
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 all that would be great.
Firstly, you have to install the MySQL JDBC
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 PROTECTED
-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 installed
mysql
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 JSTL
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 is
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.
Thanks
Bagus
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
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 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
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 clear examples
of it. My
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
/Connector
Engine defaultHost=localhost name=Catalina
Host appBase=webapps name=localhost
Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_log. suffix=.txt timestamp=true/
Resource name=jdbc/myoracle auth=Container
docBase=C:\Archivos de
programa\Apache Software Foundation\Tomcat 5.0\webapps\ROOT path=
workDir=work\Catalina\localhost\_
Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_ROOT_log. suffix=.txt timestamp=true/
Resource name=jdbc/bbdesa type=javax.sql.DataSource/
ResourceParams
Bitte antwortenThema
an Re: DBCP/JDBC Problems with
Tomcat UsersDelegatingResultSet
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
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
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...
parameter
nameaccessToUnderlyingConnectionAllowed
.
The right config to use MySQL to perform
authentication in 5.5.x is:
server.xml:
GlobalNamingResources
...
Resource name=jdbc/auth
auth=Container
type=javax.sql.DataSource
maxActive=4 maxIdle=30
maxWait=1
username
: Using JDBC with 5.5.x
I have found the cause of my problem. I am posting it
in case someone would run into the same problem.
The main issue was that I was using a DataSourceRealm
that was pointing to a Resource (under
GlobalNamingResources) that was using a username and
password that was valid
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
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
...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
DataSource ds
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 initContext = new
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);
DataSource ds = (DataSource)envContext.lookup(jdbc/postgres);
I get
out = response.getWriter();
Statement stmt;
ResultSet result;
String url = jdbc:mysql://localhost:3306/HeroDB;
String user = Login;
String password = Password;
try{
Class.forName(com.mysql.jdbc.Driver);
out.println(br DRIVERS JDBC : OK!);
Connection connection
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 PROTECTED
{
response.setContentType(text/html);
PrintWriter out = response.getWriter();
// New Instance : DBConnection
DBConnection db = new DBConnection();
String req =Select * FROM User_Table;
try{
db.Connect();
out.println(br DRIVERS JDBC : OK!);
out.println(br Connexion
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
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
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 Liden [mailto
In your context definition, you have Resource name=TestDB..
In your web.xml, you have res-ref-namejdbc/TestDB/res-ref-name
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
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 Resource name=TestDB..
In your web.xml, you have res-ref-namejdbc
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 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 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 ---
*type
@jakarta.apache.org
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 missing
Users List tomcat-user@jakarta.apache.org
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
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
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 tomcat-user@jakarta.apache.org
Sent: Tuesday, March 01, 2005 5:09 PM
Subject: newbie having problems with MySQL JDBC/JNDI
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 one
to the driver. If you're passing
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
JDBC driver of class
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 JCrypt for
Users List tomcat-user@jakarta.apache.org
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 passwords
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 password
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
-
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 has a connection
: 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 that I know- JBoss
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 the Tomcat class that reads
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
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
Write tomcat-users 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
[EMAIL PROTECTED] wrote:
Write tomcat-users 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
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 these users before I provide them acesss to
database
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
Message -
From: Edmon Begoli [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
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 planning on upgrading
:
+PoolingDriver.isAccessToUnderlyingConnectionAllowed());
PoolingDriver.setAccessToUnderlyingConnectionAllowed(true);
BasicDataSource dataSource = (BasicDataSource)envContext.lookup(jdbc/website);
logger.debug(dataSource.isAccessToUnderlyingConnectionAllowed:
+dataSource.isAccessToUnderlyingConnectionAllowed
found.
I'm using Ms Access as it's free. Do we
have
any
free
driver available in the form of jar to use
in
place of
JDBC-ODBC bridge driver? Or it's not
required
if
configuration is correct. Pls let me know.
I've
pasted
all relevant code
have
any
free
driver available in the form of jar to use
in
place of
JDBC-ODBC bridge driver? Or it's not
required
if
configuration is correct. Pls let me know.
I've
pasted
all relevant code in my first mail itself.
If
time
1 - 100 of 2530 matches
Mail list logo