File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes SavingsAccount Example in J2EETutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "SavingsAccount Example in J2EETutorial" Watch "SavingsAccount Example in J2EETutorial" New topic

SavingsAccount Example in J2EETutorial

pankaj agarwal
Ranch Hand

Joined: Oct 13, 2000
Posts: 39
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.
I am using Windows NT 4.0, j2sdkee1.3 and jdk1.3.
I agree. Here's the link:
subject: SavingsAccount Example in J2EETutorial
It's not a secret anymore!