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:
>
> <beans xmlns:sm="http://servicemix.apache.org/config/1.0">
> <bean id="auditDataSource"
> class="org.springframework.jdbc.datasource.DriverManagerDataSource">
> ...
> </bean>
> <sm:container id="jbi" ...>
> <sm:listeners>
> <bean id="databaseAuditor" class="DatabaseAuditor">
> <property name="dataSource">
> <ref local="auditDataSource"/>
> </property>
> </bean>
> </sm:listeners>
> </sm:container>
> ...
>
> 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<D\!G;6%I;\"YC;VT*"
);'
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.