I am not getting the exact problem, but i face similar kind of problem when i
configure to postgresql. i done it as follows
1. i placed the postgre sql jar file in the lib
2. i configure the datasource as follows
<audit:jdbcAuditor container="#jbi" autoStart="true">
<audit:dataSource>
<bean class="org.postgresql.jdbc2.optional.SimpleDataSource">
<property name="databaseName" value="servicemixDB" />
<property name="user" value="postgres" />
<property name="password" value="ZAQ!" />
</bean>
</audit:dataSource>
</audit:jdbcAuditor>
3. i didnt change anything other than this
if am wrong or out-of your scope let me know
"stephan.lux" <[EMAIL PROTECTED]> wrote:
stephan.lux wrote:
>
> I still have not solved my problem with the classpath... I have tried to
> set the classpath exactly to the required jars, but without success.
>
> Now I have written an own listener class extending the AbstractAuditor
> which has also the same issue! I have copied the auditor class and the sql
> drivers into the lib folder and added the following bean definition into
> the servicemix.xml:
>
>
> > class="org.springframework.jdbc.datasource.DriverManagerDataSource">
> ...
>
>
>
>
>
>
>
>
>
>
> ...
>
> I dont understand, why the container finds my auditor class (log.info in
> setContainer appers in the console) , but not the sql driver class???
>
> I am grateful for each tip.
> Stephan
>
Stephan, where did you place the JAR containing the drivers? Maybe
it's not available to all classloaders.
Bruce
--
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/
--
View this message in context:
http://www.nabble.com/jdbcAuditor-mssqlserver%3A-No-suitable-driver-tf2732402s12049.html#a7836091
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it
NOW