Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

j2ee1.3 with mysql 4

 
Junglee Hippie
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic