Hi,

The exception you mention, the way you put it, means you can not connect.
If you tell here also the exception's: class name, message and stack
trace probably you'll get a more usefull answer.

Try first to run some JDBC examples changed to use your datasource,
and only when, and if they work continue with servlet-specific issues.

Cezar

On Tue, 20 Apr 1999, thumma sunil wrote:

> hello everybody,
>
>   thanks to everybody for showing interest on this problem
>
>   iam getting an exception when trying to connect ot the database
>   iam working on javawebserver1.1.3 on windows NT platform
>   iam using sun odbc driver
>      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
>    Connection con=DriverManager.getConnection("jdbc:odbc:sunil");
>            Statement st=con.createStatement();
>      where sunil is my DSN name in msaccess database
>      iam just trying to test sample servlet database file
>   iam new to JWS
>      and i don't understand the problem
>     is there any  other way to set classpath of JWS
>     i had set the classpath like
>    CLASSPATH=D:\javawebserver1.1\lib\jws.jar;D:\javawebserver\lib;
>
>    any body can help me
>    waiting for help
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ___________________________________________________________________________
> 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
>


Cezar Totth                             email:  [EMAIL PROTECTED]
                                        Fax:    (401) 220 33 95
Genesys Software Romania                Phone:  (401) 638 49 44
Stefan Furtuna 169, sect.6
cod 77171, Bucharest
Romania

___________________________________________________________________________
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