Dear Friends When i am deploying entity bean, i can't connect to Ms sql server,actually i am installed sql on some other machine but using jdbc program i can connect and get the data.The error message comes when generate SQL button presses, i am using j2sdkee1.2.1.If any one want any information i can give it to u waiting for u
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
"jimmykcherian", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. Thanks.
Could you give more detail to the error and what is causing it?
Best Regards,<br />Matt Midcap
Roopa Bagur
Ranch Hand
Joined: Nov 03, 2000
Posts: 267
posted
0
Can you elaborate on what error you are getting ..If you can show the stacktrace that would make it easy to pinpoint the problem.
Originally posted by jimmykcherian: Dear Friends When i am deploying entity bean, i can't connect to Ms sql server,actually i am installed sql on some other machine but using jdbc program i can connect and get the data.The error message comes when generate SQL button presses, i am using j2sdkee1.2.1.If any one want any information i can give it to u waiting for u
jimmykcherian
Greenhorn
Joined: Jul 07, 2001
Posts: 2
posted
0
The error is: Error:While generating SQL.java.rmi.ServerException:RemoteException Occured in server thread;nested Exception is: . java.rmi.RemoteException:Error connecting to database;nestes Exception is: . java.sql.SQLException : No suitable driver please make sure that database name/user/password is valid. and the j2ee server and database are running