Thanks Rajith/Gayashan,

I am able to fix the issue with the help of Gayashan.

I build the orbit bundle from [1]. and put the bundle to
repository/components/dropins.

1.
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/orbit/cassandra-jdbc/1.1.1.wso2v1/

Thanks
Danesh

On Tue, Jan 20, 2015 at 10:46 AM, Rajith Vitharana <[email protected]> wrote:

> Hi,
>
> Try putting cassandra-jdbc-1.2.5.jar to repository/components/lib folder.
> You can download it from [1]
>
>
> [1] -
> https://code.google.com/a/apache-extras.org/p/cassandra-jdbc/downloads/list
>
> Thanks,
>
> On Tue, Jan 20, 2015 at 10:35 AM, Danesh Kuruppu <[email protected]> wrote:
>
>> Hi all,
>> I am using BAM 2.4.0 version
>>
>> I tried to test cassandra database connection using Management Console in
>> BAM.
>>
>>  - open BAM console and go to Configure ---> Data Sources
>>  - select the datasource (here "WSO2BAM_CASSANDRA_DATASOURCE") ---> View
>>  - use button "Test Connection"
>>
>> I am getting CassandraDriver class not found exception as follows,
>>
>> Caused by: java.sql.SQLException:
>> org.apache.cassandra.cql.jdbc.CassandraDriver
>>     at
>> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:254)
>>     at
>> org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
>>     at
>> org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:702)
>>     at
>> org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:634)
>>     at
>> org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
>>     at
>> org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127)
>>     at
>> org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader.testDataSourceConnection(RDBMSDataSourceReader.java:69)
>>     ... 63 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.cassandra.cql.jdbc.CassandraDriver
>>     at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:475)
>>     at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>     at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>     at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>     at java.lang.Class.forName0(Native Method)
>>     at java.lang.Class.forName(Class.java:249)
>>     at
>> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:246)
>>
>>
>> Please help me.
>>
>> Thanks
>> --
>>
>> Danesh Kuruppu
>> Software Engineer
>> WSO2 Inc,
>> Mobile: +94 (77) 1690552
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>



-- 

Danesh Kuruppu
Software Engineer
WSO2 Inc,
Mobile: +94 (77) 1690552
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to