RE: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-26 Thread Caldarale, Charles R
> From: Steve Ryder [mailto:sry...@jsrsys.com] > Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to > javax.sql.DataSource > > Oops: > sry...@srv:~$ java -version > java version "1.5.0" > gij (GNU libgcj) version 4.2.3 (Ubuntu 4.2.3-2ubunt

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-26 Thread Steve Ryder
: "Tomcat Users List" Sent: Tuesday, January 26, 2010 1:47 AM Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource Steve, --- On Mon, 1/25/10 at 10:50 PM, Steve Ryder wrote: I understand what you mean by don't use, but "I" am n

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Bob Hall
Steve, --- On Mon, 1/25/10 at 10:50 PM, Steve Ryder wrote: > I understand what you mean by don't > use, but "I" am not using it. > What do I need to change so that it is not used? > How might I track down the offending library? What do you get when you type the following commands: $ java -ver

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
nuary 26, 2010 12:29 AM Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource 2010/1/26 Steve Ryder : at gnu.gcj.convert.Input_iconv.read(libgcj.so.81) Stop right there. Do not use GNU "Java" for anything. ---

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Konstantin Kolinko
2010/1/26 Steve Ryder : > at gnu.gcj.convert.Input_iconv.read(libgcj.so.81) Stop right there. Do not use GNU "Java" for anything. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: user

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
4:JsrSQL: Context cast successfull - Original Message - From: "Konstantin Kolinko" To: "Tomcat Users List" Sent: Monday, January 25, 2010 3:14 PM Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource 2010/1/25 Steve Ryder : T

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
cat Users List" Sent: Monday, January 25, 2010 3:14 PM Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource 2010/1/25 Steve Ryder : The above should be "javax.sql.DataSource" Do you have any references to

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
M Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, On 1/25/2010 2:56 PM, Steve Ryder wrote: Starting from the bottom up of your suggestions: 1) I tried removing the try/catch. No can do, Java co

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
l+ ": connect Other exception: " + eOther.getMessage(); sysout.display(lastException); } } - Original Message - From: "Christopher Schultz" To: "Tomcat Users List" Sent: Monday, January 25, 2010 2:40 PM Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef can

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Konstantin Kolinko
2010/1/25 Steve Ryder : >

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, On 1/25/2010 2:56 PM, Steve Ryder wrote: > Starting from the bottom up of your suggestions: > 1) I tried removing the try/catch. No can do, Java compiler forces me > to catch the exceptions. Hmm... what method is declared as throwing "Except

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
;Tomcat Users List" Sent: Monday, January 25, 2010 12:07 PM Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addi

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
ng to remove the Class.forName code and see if that changes any thing. - Original Message - From: "Christopher Schultz" To: "Tomcat Users List" Sent: Monday, January 25, 2010 12:07 PM Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, On 1/25/2010 11:16 AM, Steve Ryder wrote: > When I remove the factory line I now get: Cannot create resource instance > 2010-01-25 15:56:06:*WARNING*Connection to jdbc/MySql:: connect Other > exception: Cannot create resource instance Ok. >

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
"Caldarale, Charles R" To: "Tomcat Users List" Sent: Monday, January 25, 2010 8:52 AM Subject: RE: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource From: Steve Ryder [mailto:sry...@jsrsys.com] Subject: Tomcat 5.5 org.apache.naming

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Steve Ryder
Exception); //System.exit(4); } catch(Exception eOther) { lastException="*WARNING*"+sql+ ": connect Other exception: " + eOther.getMessage(); sysout.display(lastException); //System.exit(4); } } - Original Message ----- From: "Caldarale, Charles R" To: &q

RE: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Caldarale, Charles R
> From: Steve Ryder [mailto:sry...@jsrsys.com] > Subject: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to > javax.sql.DataSource > > type="javax.sql.Datasource" > factory="org.apache.commons.dbcp.BasicDataSourceFactory" The specified factory i

Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-24 Thread Steve Ryder
I am migrating from Tomcat 5.0 w/ MSQL 4.1 to Tomcat 5.5 w/ MySQL Server version: 5.0.51a-3ubuntu5 (Ubuntu). I have followed the Tomcat Tutorials changing from: ResourceLink in context.xml -> Resource in server.xml to: just Resource in context.xml. Note: password ** not real password!