Re: SQL Server 2000: JDBC

2005-10-06 Thread Roberto Rios
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,

Re: Aliases for JNDI (JDBC) resources?

2005-10-03 Thread David Smith
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

Aliases for JNDI (JDBC) resources?

2005-10-03 Thread Lisa L. Woodring
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

Re: SQL Server 2000: JDBC

2005-09-30 Thread sree kanth
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

Re: SQL Server 2000: JDBC

2005-09-30 Thread Lalit Batra
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

RE: SQL Server 2000: JDBC

2005-09-30 Thread Karasek-XID, Nicolas
-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

Re: SQL Server 2000: JDBC

2005-09-29 Thread MERT EREN ÜSTÜNKAYA
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

Re: SQL Server 2000: JDBC

2005-09-29 Thread sree kanth
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 >

SQL Server 2000: JDBC

2005-09-29 Thread Lalit Batra
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

Re: JMX Method to check JDBC connection acivity?

2005-09-28 Thread andy gordon
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

JMX Method to check JDBC connection acivity?

2005-09-27 Thread Edmon Begoli
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

Re: How to configure a single JDBC connection via Tomcat's JDBC JNDI configurations for Oracle

2005-09-27 Thread andy gordon
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

How to configure a single JDBC connection via Tomcat's JDBC JNDI configurations for Oracle

2005-09-27 Thread Edmon Begoli
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

Re: jdbc driver

2005-09-21 Thread Kito Holliday
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

Re: jdbc driver

2005-09-20 Thread Kito Holliday
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

Re: jdbc driver

2005-09-19 Thread andy gordon
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 driver

2005-09-19 Thread Kito Holliday
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

Re: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

2005-09-14 Thread David Delbecq
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

Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

2005-09-14 Thread luc_boudreau
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

Re: Different JDBC sources?

2005-09-13 Thread Hassan Schroeder
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

Re: Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
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

Re: Different JDBC sources?

2005-09-13 Thread Hassan Schroeder
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

RE: Different JDBC sources?

2005-09-13 Thread Allistair Crossley
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

Re: Different JDBC sources?

2005-09-13 Thread Stephen Caine
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

Re: Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
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

RE: Different JDBC sources?

2005-09-13 Thread Allistair Crossley
; 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

Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
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

Re: Which Oracle JDBC Drive for JDK 1.5?

2005-08-05 Thread Jeff Duska
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

Re: Which Oracle JDBC Drive for JDK 1.5?

2005-08-04 Thread Woodchuck
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?

Re: Which Oracle JDBC Drive for JDK 1.5?

2005-08-04 Thread Paul Singleton
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.

Which Oracle JDBC Drive for JDK 1.5?

2005-08-04 Thread Chuck
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_

RE: Regarding JDBC Driver error

2005-08-04 Thread ajith.skumar
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

Regarding JDBC Driver error

2005-08-04 Thread tomcat
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

RE: can I put JDBC connection information in the webapps web.xml file?

2005-08-02 Thread Adile Abbadi
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

can I put JDBC connection information in the webapps web.xml file?

2005-08-02 Thread Mark
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

RE: Cannot create JDBC driver of class - help!!

2005-08-01 Thread Allistair Crossley
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.

Cannot create JDBC driver of class - help!!

2005-08-01 Thread Anish Tom Ashley
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

Trouble with JDBC Session Persistence (Tomcat 4.1)

2005-07-07 Thread lawrence
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

RE: Regarding JDBC applet server

2005-06-29 Thread Brereton, Stephen
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

Regarding JDBC applet server

2005-06-29 Thread reddy.sudheer
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

Re: JDBC Persisted Sessions

2005-06-22 Thread Peter Johnson
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

JDBC Persisted Sessions

2005-06-22 Thread Peter Johnson
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

Embedded Tomcat JDBC Issue

2005-05-31 Thread Joe Reger, Jr.
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

Embedded Tomcat JNDI/JDBC Configuration Questions

2005-05-29 Thread Joe Reger, Jr.
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

Re: database - jdbc setup help

2005-05-12 Thread Lutz Zetzsche
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

RE: database - jdbc setup help

2005-05-12 Thread Bagus
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

RE: database - jdbc setup help

2005-05-12 Thread Geoff Wiggs
, 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

Re: database - jdbc setup help

2005-05-12 Thread Terence M. Bandoian
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

Re: database - jdbc setup help

2005-05-12 Thread Lutz Zetzsche
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

database - jdbc setup help

2005-05-11 Thread Bagus
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.

JNDI jdbc resource

2005-04-22 Thread John Reynolds
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

Re: Per Application JNDI/JDBC Configuration

2005-04-20 Thread David C. Hicks
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

Re: Per Application JNDI/JDBC Configuration

2005-04-19 Thread Parsons Technical Services
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

Per Application JNDI/JDBC Configuration

2005-04-19 Thread David C. Hicks
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

Antwort: Re: DBCP/JDBC Problems with DelegatingResultSet

2005-04-13 Thread Sebastian . Wiemer
An Tomcat Users List 12.04.2005 17:26 Kopie Bitte antworten

RE: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2005-04-13 Thread Licinio Gomez Delgado
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

org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2005-04-13 Thread Licinio Gomez Delgado
x_jsp org.apache.jsp.index_jsp org.apache.jsp.index_jsp /index.jsp Oracle Datasource example jdbc/myoracle javax.sql.DataSource Container ---

Re: DBCP/JDBC Problems with DelegatingResultSet

2005-04-12 Thread Jimmy Ray
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

AW: DBCP/JDBC Problems with DelegatingResultSet

2005-04-12 Thread Marco Pöhler
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

DBCP/JDBC Problems with DelegatingResultSet

2005-04-12 Thread Sebastian . Wiemer
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

Re: Using JDBC with 5.5.x

2005-04-05 Thread Parsons Technical Services
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

Re: Using JDBC with 5.5.x

2005-04-05 Thread Martin Dubuc
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

Re: Using JDBC with 5.5.x

2005-03-29 Thread Jimmy Ray
...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

Re: Using JDBC with 5.5.x

2005-03-29 Thread Trond G. Ziarkowski
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

Using JDBC with 5.5.x

2005-03-29 Thread Martin Dubuc
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

Re: [tomcat-user] Postgres + JDBC

2005-03-18 Thread Antony Paul
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

[tomcat-user] Postgres + JDBC

2005-03-18 Thread [EMAIL PROTECTED]
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

Re: Trouble with JDBC (I need a little help)

2005-03-16 Thread Maxime
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

Re: Trouble with JDBC (I need a little help)

2005-03-16 Thread Jon Wingfield
); 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

Re: Trouble with JDBC (I need a little help)

2005-03-16 Thread Wolfgang Hackl
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

Trouble with JDBC (I need a little help)

2005-03-16 Thread Maxime
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

RE: JDBC Realm by-passing login page using a link

2005-03-10 Thread Anderson, M. Paul
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

JDBC Realm by-passing login page using a link

2005-03-10 Thread Fredrik Liden
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread David Smith
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread Darryl Wagoner
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread David Smith
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Drew Jorgenson
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Drew Jorgenson
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Parsons Technical Services
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Darryl Wagoner
>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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Justin Crabtree
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

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Parsons Technical Services
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

newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Darryl Wagoner
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 ---

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread Shankar Unni
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

RE: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread George Sexton
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

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread Parsons Technical Services
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

RE: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread Varley, Roger
> > 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

RE: JDBC

2005-02-27 Thread Richard Mixon (qwest)
; 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

Re: JDBC

2005-02-27 Thread deepak suldhal
<[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

Re: JDBC

2005-02-27 Thread Hiroshi Iwatani
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

JDBC

2005-02-27 Thread deepak suldhal
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

RE: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-27 Thread Benson Margulies
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

RE: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-27 Thread Richard Mixon (qwest)
> 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

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-27 Thread Parsons Technical Services
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

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-27 Thread Edmon Begoli
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

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-26 Thread Parsons Technical Services
- 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

Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-26 Thread Edmon Begoli
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

Tomcat 5.5.7 using builtin JDBC connection pool, can't access 'real' connection - accessToUnderlyingConnectionAllowed=true

2005-02-25 Thread Bernd Bartke
gDriver.isAccessToUnderlyingConnectionAllowed()); PoolingDriver.setAccessToUnderlyingConnectionAllowed(true); BasicDataSource dataSource = (BasicDataSource)envContext.lookup("jdbc/website"); logger.debug("dataSource.isAccessToUnderlyingConnectionAllowed: "+dataSource.isAccessToUnderlyingConnec

Re: JDBC connection - Please help

2005-02-22 Thread Reshma Bhatia
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:

Re: Name jdbc is not bound in this Context error

2005-02-22 Thread Antony Paul
Laxmi > > > > > > <[EMAIL PROTECTED]> wrote: > > > > > > > Yes i read and did as per the document. > > When > > > > it > > > > > > didn't > > > > > > > work, i followed the suggeti

  1   2   3   4   5   6   7   8   9   10   >