Users List users@tomcat.apache.org
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 sry...@jsrsys.com wrote:
I understand what you mean by don't
use, but I
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-2ubuntu6)
A very big oops.
I need to replace
From: Steve Ryder [mailto:sry...@jsrsys.com]
Subject: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
Resource name=jdbc/MySql auth=Container
type=javax.sql.Datasource
factory=org.apache.commons.dbcp.BasicDataSourceFactory
The specified factory is for the
);
//System.exit(4);
}
}
- Original Message -
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
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
R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
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
-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.
The
to remove the Class.forName code and see if that changes any
thing.
- Original Message -
From: Christopher Schultz ch...@christopherschultz.net
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, January 25, 2010 12:07 PM
Subject: Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot
To: Tomcat Users List users@tomcat.apache.org
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
-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 Exception
2010/1/25 Steve Ryder sry...@jsrsys.com:
Resource name=jdbc/MySql auth=Container type=javax.sql.Datasource
The above should be javax.sql.DataSource
Do you have any references to this resource in your web.xml file?
Best regards,
Konstantin Kolinko
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 compiler forces me
: 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 compiler forces me
: 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 sry...@jsrsys.com:
Resource name=jdbc/MySql auth=Container type=javax.sql.Datasource
The above should be javax.sql.DataSource
Do you have any
-
From: Konstantin Kolinko knst.koli...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
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 sry...@jsrsys.com:
Resource name=jdbc
2010/1/26 Steve Ryder sry...@jsrsys.com:
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
, January 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 sry...@jsrsys.com:
at gnu.gcj.convert.Input_iconv.read(libgcj.so.81)
Stop right there. Do not use GNU Java for anything
Steve,
--- On Mon, 1/25/10 at 10:50 PM, Steve Ryder sry...@jsrsys.com 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:
17 matches
Mail list logo