Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity Bean

 
jimmykcherian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you give more detail to the error and what is causing it?
 
Roopa Bagur
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic