Make sure that the JDBC drivers are deployed on all the system that Storm
is running.  I am not sure if this is correct or not but what i did is i
copy all my dependencies into storm/lib folder

On Mon, Mar 17, 2014 at 5:41 AM, Manthosh Kumar T <[email protected]>wrote:

> Hi All,
>          I'm trying add data to DB using JDBC in bolt. When I create
> Connection in the execute() method and close it at the end of execute()
> method, it works fine. Since it was slower, I created the Connection in
> prepare() method. But this time I'm getting SQLException saying No Suitable
> Driver was found. I'm sure that the necessary dependencies are in the
> classpath since it works when creating connection in execute() method. Has
> anyone had the same issue?. Any suggestions?
>
>
> --
> Cheers,
> Manthosh Kumar. T
>
>

Reply via email to