System.out.println("Properties have been INTIALIZED"); return new InitialContext(p); }

}

The exception thrown is as follows

E:\DataAccessas400>java DBAccessClient Properties have been INTIALIZED checkpoint0 checkpoint1 com.ibm.rmi.iiop.CDRInputStream$1 ****FirstHome not found java.lang.ClassCastException java.lang.ClassCastException at java.lang.Throwable.<init>(Throwable.java:84) at java.lang.Exception.<init>(Exception.java:35) at java.lang.RuntimeException.<init>(RuntimeException.java:39) at java.lang.ClassCastException.<init>(ClassCastException.java:38) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:324) at DBAccessClient.main(DBAccessClient.java:34)