This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Entity Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Entity Bean" Watch "Entity Bean" New topic
Author

Entity Bean

jimmykcherian
Greenhorn

Joined: Jul 07, 2001
Posts: 2
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: 6920
"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.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Matt Midcap
Sheriff

Joined: Jan 07, 1999
Posts: 440
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
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
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
 
Don't get me started about those stupid light bulbs.
 
subject: Entity Bean
 
Similar Threads
entity bean with oracle/slq server
image storage in a database table
Looking for EJB Answers
questions of using CMP
Entity EJB frist step asking for help