Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Tomcat 5.5 Datasource

Thread view: 
johnny bb - 07 Oct 2005 19:42 GMT
Hello,

Have anyone of you succesfully created datasource in Tomcat 5.5.x?
I can't get it work. I  have tried to do everything what Tomcat's
documentation
says but it does not work.

Anyone you have sample configuration files which shows how to create
Datasource in
Tomcat?

Cheers,
gerrards8@yahoo.com - 07 Oct 2005 20:32 GMT
> Hello,
>
[quoted text clipped - 8 lines]
>
> Cheers,

Just like the docs say (sorry!), *but* make sure to have a copy of your
JDBC driver in the $CATALINA_HOME/common/lib directory.  What database
are you trying to connect to?  And what's the exception you're getting
when trying to connect?
johnny bb - 09 Oct 2005 06:43 GMT
I'm trying to use Oracle. Database driver is in common/lib directory but
still
when I try to get Connection instance ""Cannot create JDBC driver of class
'' for connect URL 'null'" error comes.

What this actuacclt mens?

<gerrards8@yahoo.com> kirjoitti
viestissä:v1A1f.121$ke.65@bignews3.bellsouth.net...
>> Hello,
>>
[quoted text clipped - 13 lines]
> you trying to connect to?  And what's the exception you're getting when
> trying to connect?
Bryce - 13 Oct 2005 15:36 GMT
>I'm trying to use Oracle. Database driver is in common/lib directory but
>still
>when I try to get Connection instance ""Cannot create JDBC driver of class
>'' for connect URL 'null'" error comes.
>
>What this actuacclt mens?

Post your context.

><gerrards8@yahoo.com> kirjoitti
>viestissä:v1A1f.121$ke.65@bignews3.bellsouth.net...
[quoted text clipped - 15 lines]
>> you trying to connect to?  And what's the exception you're getting when
>> trying to connect?

--
now with more cowbell
Roedy Green - 22 Oct 2005 04:18 GMT
>when I try to get Connection instance ""Cannot create JDBC driver of class
>'' for connect URL 'null'" error comes.

sounds like the JBDC classes for the JDBC implementation are not on
your classpath.

see http://mindprod.com/jgloss/where.html
for some thoughts on how to track your problem.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.