This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes j2ee1.3 with mysql 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "j2ee1.3 with mysql 4" Watch "j2ee1.3 with mysql 4" New topic

j2ee1.3 with mysql 4

Junglee Hippie

Joined: Apr 09, 2007
Posts: 3
Hello All,
I am trying to connect j2ee 1.3 with MySQL and using the driver com.mysql.jdbc.Driver and running the application SavingsAccount as depicted in the J2ee tutorial 1.3.
The application is throwing application:

Initiating login ...
Enter Username:guest
Enter Password:guest123
Binding name:`java:comp/env/ejb/SimpleSavingsAccount`
Caught an exception.
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.RemoteException: Unknown exception; nested exception is:
at javax.rmi.CORBA.Util.mapSystemException(
at _SavingsAccountHome_Stub.create(Unknown Source)
at SavingsAccountClient.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

If anybody could help me, I would be very grateful.

Thanks in Advance

Junglee Hippie<br />Jaipur
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: j2ee1.3 with mysql 4