Hi Bhanu,

The error is probably happening because the mysql drivers haven't been
properly imported yet. I can't see what your pom.xml file looks like,
but in the case for dynamically-loaded JDBC drivers like this, the
Import-Package definitions in your pom.xml won't suffice.

For this, you'd want to use DynamicImport-Package [1]. You'll also
want to make sure the mysqljdbc-driver bundle is installed, but if the
Nakamura tables were created properly it probably is installed.

Hope that helps,
Branden

[1] 
http://wso2.org/library/tutorials/develop-osgi-bundles-using-maven-bundle-plugin#Importing%20packages.

On Tue, Jan 22, 2013 at 6:38 AM, Bhanu Teja <bh...@sankhya.net> wrote:
> Hi All,
>
>
>
>             I am using MySQL for my sakai3 application. Portal connected to
> MySQL and required tables were created. Now, I am just trying to write a
> simple app in nakamura, to connect to MySQL. In this stage, I am getting
> ClassNotFoundException. Please find the attachments. These are my code and
> exception report I got. Can you please guide me, how to resolve this issue.
>
>
>
>             Here I need to deal with new table which I have created, is
> there any way in sakai3 that we can communicate with our own table?
>
>
>
> Thanks & Regards
>
> Bhanu Teja M,
>
> Software Engineer,
>
> Sankhya Infotech Ltd.,
>
> Hyderabad.
>
> Mobile: +91 9676783636
>
>
>
> SANKHYA'S Email DISCLAIMER: Information contained in this E-MAIL and any
> attachments are confidential being proprietary to SANKHYA INFOTECH LIMITED
> is 'privileged' and 'confidential'. If you are not an intended or authorised
> recipient of this E-MAIL or have received it in error, You are notified that
> any use, copying or dissemination of the information contained in this
> E-MAIL in any manner whatsoever is strictly prohibited. Please delete it
> immediately and notify the sender by E-MAIL. In such a case reading,
> reproducing, printing or further dissemination of this E-MAIL is strictly
> prohibited and may be unlawful. SANKHYA INFOTECH LIMITED does not REPRESENT
> or WARRANT that an attachment hereto is free from computer viruses or other
> defects. The opinions expressed in this E-MAIL and any ATTACHMENTS may be
> those of the author and are not necessarily those of SANKHYA INFOTECH
> LIMITED.
>
> _______________________________________________
> oae-dev mailing list
> oae-dev@collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/oae-dev
>



-- 
Cheers,
Branden
_______________________________________________
oae-dev mailing list
oae-dev@collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/oae-dev

Reply via email to