it is my own fault in set the Domain.xml. I have not add scope in the definition.
From: Oliver Zeigermann <[EMAIL PROTECTED]> Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]> To: Slide Users Mailing List <[EMAIL PROTECTED]> Subject: Re: JDBC Driver loading Date: Wed, 07 Apr 2004 09:53:50 +0200
How? Might be interesting for the FAQ...
Oliver
Slide Tao wrote:
hi,
Thanks for your help, I have solved the problem.
From: Oliver Zeigermann <[EMAIL PROTECTED]> Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]> To: Slide Users Mailing List <[EMAIL PROTECTED]> Subject: Re: JDBC Driver loading Date: Tue, 06 Apr 2004 08:41:51 +0200
Putting it into server/lib of course is nonsense, sorry for that hint. Anyway, I have just tried to put the JDBC driver into $Tomcat/common/lib and everything worked fine. Your configuration looks good as well.
Hmmm, this seems to be tricky... What Java versions are you using? I use 1.4
Oliver
Oliver Zeigermann wrote:
> Would be interesting to see the full exception. Without seeing it I'd > recommend to try and put the driver into $Tomcat/server/lib... > > Oliver > > Wu sunflower wrote: > > >>hi, all friends, >> >>I want to use JDBC store in Slide2 with Tomcat5.0, I set the driver >>value in Domain.xml as follwoing: >> >>- <nodestore classname="org.apache.slide.store.impl.rdbms.JDBCStore"> >> <parameter >>name="adapter">org.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter</parameter>
>>
>> <parameter name="driver">com.mysql.jdbc.Driver</parameter> <parameter
>>name="url">jdbc:mysql://localhost/mytest</parameter> <parameter
>>name="user">root</parameter> <parameter name="password">tao</parameter>
>> </nodestore>
>>
>>But when I start the Tomcat, Tomcat failed to load the JDBC driver
>>"com.mysql.jdbc.Driver". I have put the
>>"mysql-connector-java-3.0.11-stable-bin.jar" in $Tomcat/common/lib.
>>what's the problem?
>>
>>_________________________________________________________________
>>与联机的朋友进行交流,请使用 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]
>
>
> .
>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--------------------------------------------------------------------- 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]
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]