wood burning stoves 2.0*
The moose likes JDBC 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


JavaRanch » Java Forums » Databases » JDBC
Bookmark "j2ee1.3 with mysql 4" Watch "j2ee1.3 with mysql 4" New topic
Author

j2ee1.3 with mysql 4

Junglee Hippie
Greenhorn

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:
java.lang.ExceptionInInitializerError
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemExceptio
n(ShutdownUtilDelegate.java:64)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at _SavingsAccountHome_Stub.create(Unknown Source)
at SavingsAccountClient.main(SavingsAccountClient.java:29)
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
Ashish


Junglee Hippie<br />Jaipur
 
GeeCON Prague 2014
 
subject: j2ee1.3 with mysql 4