> 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
: "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
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
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.
---
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
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
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
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
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
2010/1/25 Steve Ryder :
>
-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
;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
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.
-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.
>
"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
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
> 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 is for the standard Apache commons DBCP, no
17 matches
Mail list logo