Hi David

Can you tell me how are you initializing the bean to access the oracle
database?

Go with 

 <bean id="oracle-ds" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
        <property name="driverClassName"
value="oracle.jdbc.driver.OracleDriver"/>
        <property name="url"
value="jdbc:oracle:thin:@localhost:1521:DBname"/>
        <property name="username" value="scott"/>
        <property name="password" value="tiger"/>
        <property name="poolPreparedStatements" value="true"/>
    </bean>

And please check which Maven dependency is needed for Oracle JDBC. The jars
should contains some classes similar to classes12.jar.
Please refer internet for the dependency.

And anyways add following to your POM too
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-jdbc</artifactId>
    <version>x.x.x</version>
    
</dependency>

Cheers
Reji



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-do-i-add-third-party-jars-in-normal-jar-deployment-tp5741987p5741989.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to