Connection conn = DriverManager.getConnection(
                "jdbc:cloudscape:JBMSExample;create=true");
                                                                    ^
> Are you sure that your JDBC driver allow you do this action with such syntax?
>Connection conn = DriverManager.getConnection(
>"jdbc:cloudscape:JBMSExample");
                out.println("Connected to and created database
JBMSExample");

akashmaheshwari wrote:

> Hi All,
>     i am using the database by cloudscape
>     and JRUN on NES3.6.
>     i want to do some database transcation
>     in this database.
>     i am giving a piece of code that is executing
>     properly when i am executing the code as
>     a stand alone application.
>     but when i embeded the code in servlet it
>     is raising the exception..........
>
>    try{
>
>             Class.forName("COM.cloudscape.core.JDBCDriver");
>             out.println("Loaded the cloudscape JDBC driver");
>
>             Connection conn = DriverManager.getConnection(
>                 "jdbc:cloudscape:JBMSExample;create=true");
>                 out.println("Connected to and created database
> JBMSExample");
>
>  }catch(Throwable e)
>     { out.println(e.toString());
>      }
>
> I am getting following on the Browser
>
> Loaded the cloudscape JDBC driver exception thrown:java.sql.SQLException: No
> suitable driver JBMSExample
> finished
>
> please  help
> akash
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to