• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SavingsAccount Example in J2EETutorial

 
pankaj agarwal
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!!!
I am having a problem in running the SavingsAccount BMP example. I deployed the ear file(came bundled with the software) on the local server running j2ee. I also had cloudscape running in another console. Before that, I ran "ant create-savings-account"(which should create a Databse).
Now, when I run the application client, I get the following error:
C:\j2sdkee1.3\j2eetutorial\EXAMPLES\SRC\EJB\savingsaccount>runclient -client SavingsAccountApp.ear -name SavingsAccountClient

Initiating login ...
Binding name:`java:comp/env/ejb/SimpleSavingsAccount`
Caught an exception.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ejbCreate: Table 'SAVINGSACCOUNT' does not exist.
java.rmi.RemoteException: ejbCreate: Table 'SAVINGSACCOUNT' does not exist.
<<no stack trace available>>
Unbinding name:`java:comp/env/ejb/SimpleSavingsAccount`
Does it mean the Database is not created? Then, does it also mean that ant utility is giving me error? Please help me out in this.
TIA
Pankaj
I am using Windows NT 4.0, j2sdkee1.3 and jdk1.3.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic