Hello
I am using JBoss Fuse ESB v6.2. I use MySQl jdbc driver to connect to MySQl DB. This works well in camel:run.
Now, I have created a profile and added into the Container. It gives me exception saying unable to find driver class - indicative that the Driver Jar file is not loaded.
In my fabric8 pluggin configuration I give the below:
<fabric8.version>1.2.0.redhat-621084</fabric8.version>
<fabric8.profile>techmahindra-associatemanagement</fabric8.profile>
<fabric8.bundles>
wrap:mvn:com.mysql.jdbc/mysql-connector-java/5.1.23-bin
mvn:commons-dbcp/commons-dbcp/1.4
mvn:commons-pool/commons-pool/1.6
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.derby/10.12.1.1_1
</fabric8.bundles>
<fabric8.features>spring-jdbc camel-sql camel-jetty jdbc
</fabric8.features>
Also the bundle pluggin is as below:
<configuration>
<instructions>
<Bundle-SymbolicName>associatemanagement</Bundle-SymbolicName>
<Private-Package>com.techmahindra.mw.associatemanagement.*</Private-Package>
<Import-Package>*</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
</instructions>
</configuration>
I am not sure why this is not working. Is there a way to check whether the Driver loaded successfully or has the loading got some problem.