• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bean managed entity bean  RSS feed

 
sameera kocharekar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running an example from the docs in j2eesdk1.2.1
the Account example
I am getting an error while running the client of a bean managed persistent entity bean
i am connection to a sql database
in the makeconnection method
It is getting the datasource
but when i say
con = ds.getConnection("sa","");
it does not give the con object
but gives an error
Caught an exception.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Could not create Entity EJB
java.rmi.RemoteException: Could not create Entity EJB

Could anyone plz tell me why is this error coming
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!