Re: JNDI Resource: Cannot create JDBC driver of class '' for connect URL 'null'

2003-11-07 Thread Bruno Costacurta
It's working.
Sorry. It was simply a typing error.

On Thursday 06 November 2003 18:52, Bruno Costacurta wrote:
> Hi All,
> 
> I simply followed the sample provided by Tomcat documentation (4.1.29) about 
> JNDI Resource (DBCP) and MySQL but received the following error:
> 
> Cannot create JDBC driver of class '' for connect URL 'null', cause: 
> No suitable driver
> 
> However MySQL and JDBC driver settings seems correct as a connection  like:
> (...) 
>var="conn"
>   
dataSource="jdbc:mysql://localhost/test,com.mysql.jdbc.Driver,bruno,password" 
> />
> (...)  works very fine.
> 
> Thanks for any clue, explanation or working configuration files.
> 
> My config is:
> 
> Tomcat 4.1.29
> MySQL v4.0.14
> JDBC driver: mysql-connector-java-3.0.9-stable:
> 
> 
> Thanks.
> Bruno
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JNDI Resource: Cannot create JDBC driver of class '' for connect URL 'null'

2003-11-06 Thread Bruno Costacurta
Hi All,

I simply followed the sample provided by Tomcat documentation (4.1.29) about 
JNDI Resource (DBCP) and MySQL but received the following error:

Cannot create JDBC driver of class '' for connect URL 'null', cause: 
No suitable driver

However MySQL and JDBC driver settings seems correct as a connection  like:
(...) 

(...)  works very fine.

Thanks for any clue, explanation or working configuration files.

My config is:

Tomcat 4.1.29
MySQL v4.0.14
JDBC driver: mysql-connector-java-3.0.9-stable:


Thanks.
Bruno


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: servlet question

2003-09-21 Thread Bruno Costacurta
Indeed.
There is a servlet-api.jar under $TOMCAT_HOME/common/lib/
My Tomcat version is 5.0.0

On Sunday 21 September 2003 11:42, BAO RuiXian wrote:
> Bruno Costacurta wrote:
> > It seems you miss J2EE.
> > After installation (from www.java.sun.com/j2ee) 
> > you should find j2ee.jar (under $J2EE_HOME/lib/) which contain 
javax.servlet.*
> > Hope it helps.
> 
> Maybe. But, there should also be a servlet.jar in
> %TOMCATHOME%/common/lib directory. At least I have it for my tomcat
> 4.18. And water autumn cannot find it in TOMCAT 5.0.0
> 
> Best
> 
> Bao
> 
> > On Saturday 20 September 2003 17:45, water autumn wrote:
> > 
> >>hello:
> >>   My environment is follow:
> >>  JDK :  j2sdk_1.4.2_01
> >>  Web Server :  TOMCAT 5.0.0
> >>   When i devloped servlet program, such as test.java, while i typed this 
> >>line :
> >>"import javax.servlet.*;", javac tell me the error:
> >>"
> >>F:\JAVA\upload\AccUpload.java:8: package javax.servlet.http does not exist
> >>import javax.servlet.http.*;"
> >>
> >>why? can you tell me how i can resolve it?
> >>i can't find serlet.jar in directory"TOMCAT\common\lib"
> >>
> >>   water autumn
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: servlet question

2003-09-21 Thread Bruno Costacurta
It seems you miss J2EE.
After installation (from www.java.sun.com/j2ee) 
you should find j2ee.jar (under $J2EE_HOME/lib/) which contain javax.servlet.*
Hope it helps.

On Saturday 20 September 2003 17:45, water autumn wrote:
> hello:
>My environment is follow:
>   JDK :  j2sdk_1.4.2_01
>   Web Server :  TOMCAT 5.0.0
>When i devloped servlet program, such as test.java, while i typed this 
> line :
> "import javax.servlet.*;", javac tell me the error:
> "
> F:\JAVA\upload\AccUpload.java:8: package javax.servlet.http does not exist
> import javax.servlet.http.*;"
> 
> why? can you tell me how i can resolve it?
> i can't find serlet.jar in directory"TOMCAT\common\lib"
> 
>water autumn
> 
> _
> 与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]