You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kane Wilson <gs...@yahoo.com> on 2005/07/27 14:20:34 UTC
JNDI - TOMCAT
Hi List ,
This is actually problem with JNDI . I'm tring to connect to mysql database via JNDI in tomcat 5.5.9. First of all
i installed tomcat 5.5.9 in my windows 2000 advance server machine and accrding to guide of
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html url , I have done every thng
according to the article.
my sql connector is mysql-connector-java-3.1.10-bin.jar C:\Tomcat\common\lib
after all the steps get done , i pointed to the test.jsp
but i got an error saying ,
DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for
connect URL 'null'"
===========================================================
so then i surf the internet to findout a soloution , there are plenty of such issues and some closest solutions
with crerating .war files , changing some parameters like that .
http://www.theserverside.com/tss?service=direct/0/DiscussionThread/threadViewer.bookmark.link&sp=l29795
but , i would like to ask from directly from jakarta.apache.org/tomcat , do u have sudgested a solution for this
matter / problem ? is it a bug in that particular version ( 5.5.9 ) ? do i have to switched for another version ?
is that problem of curruption of mysql connector ?
can i findout any one who has already solved this issue ?
I read well FAQ's rules and regulations . i agreed with that . and i think , this issue has discussed couple of
times in this list. but i cant findout exactly how could be the solution was !!!!! .
Please help me , it's really appreciate if u guys can consider this problem deeply .
Thanx in advance for Tomcat and the LIST ,
Kane.
---------------------------------
Start your day with Yahoo! - make it your home page
Re: JNDI - TOMCAT ------ success
Posted by Kane Wilson <gs...@yahoo.com>.
Tim , it was success. thanx million. earlier i referred 5.0 docs. anyway it was my fault. again i would like to thank you Tim. It is great help
Kane.
Tim Funk <fu...@joedog.org> wrote:
Don't use docs based on 4.1 when running 5.5.
Use the 5.5 docs. The way JNDI resources are declared in 5.5 changed as
compared to previous versions. The archives in the tomcat user list also talk
about this too.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html
-Tim
Kane Wilson wrote:
> Hi List ,
>
> This is actually problem with JNDI . I'm tring to connect to mysql database via JNDI in tomcat 5.5.9. First of all
> i installed tomcat 5.5.9 in my windows 2000 advance server machine and accrding to guide of
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html url , I have done every thng
> according to the article.
> my sql connector is mysql-connector-java-3.1.10-bin.jar C:\Tomcat\common\lib
> after all the steps get done , i pointed to the test.jsp
> but i got an error saying ,
> DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for
> connect URL 'null'"
> ===========================================================
> so then i surf the internet to findout a soloution , there are plenty of such issues and some closest solutions
> with crerating .war files , changing some parameters like that .
> http://www.theserverside.com/tss?service=direct/0/DiscussionThread/threadViewer.bookmark.link&sp=l29795
> but , i would like to ask from directly from jakarta.apache.org/tomcat , do u have sudgested a solution for this
> matter / problem ? is it a bug in that particular version ( 5.5.9 ) ? do i have to switched for another version ?
> is that problem of curruption of mysql connector ?
> can i findout any one who has already solved this issue ?
> I read well FAQ's rules and regulations . i agreed with that . and i think , this issue has discussed couple of
> times in this list. but i cant findout exactly how could be the solution was !!!!! .
> Please help me , it's really appreciate if u guys can consider this problem deeply .
>
> Thanx in advance for Tomcat and the LIST ,
> Kane.
>
>
> ---------------------------------
> Start your day with Yahoo! - make it your home page
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: JNDI - TOMCAT
Posted by Tim Funk <fu...@joedog.org>.
Don't use docs based on 4.1 when running 5.5.
Use the 5.5 docs. The way JNDI resources are declared in 5.5 changed as
compared to previous versions. The archives in the tomcat user list also talk
about this too.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html
-Tim
Kane Wilson wrote:
> Hi List ,
>
> This is actually problem with JNDI . I'm tring to connect to mysql database via JNDI in tomcat 5.5.9. First of all
> i installed tomcat 5.5.9 in my windows 2000 advance server machine and accrding to guide of
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html url , I have done every thng
> according to the article.
> my sql connector is mysql-connector-java-3.1.10-bin.jar C:\Tomcat\common\lib
> after all the steps get done , i pointed to the test.jsp
> but i got an error saying ,
> DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for
> connect URL 'null'"
> ===========================================================
> so then i surf the internet to findout a soloution , there are plenty of such issues and some closest solutions
> with crerating .war files , changing some parameters like that .
> http://www.theserverside.com/tss?service=direct/0/DiscussionThread/threadViewer.bookmark.link&sp=l29795
> but , i would like to ask from directly from jakarta.apache.org/tomcat , do u have sudgested a solution for this
> matter / problem ? is it a bug in that particular version ( 5.5.9 ) ? do i have to switched for another version ?
> is that problem of curruption of mysql connector ?
> can i findout any one who has already solved this issue ?
> I read well FAQ's rules and regulations . i agreed with that . and i think , this issue has discussed couple of
> times in this list. but i cant findout exactly how could be the solution was !!!!! .
> Please help me , it's really appreciate if u guys can consider this problem deeply .
>
> Thanx in advance for Tomcat and the LIST ,
> Kane.
>
>
> ---------------------------------
> Start your day with Yahoo! - make it your home page
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org