Re: ClassCastException : javax.naming.Reference JNDI Datasource
Tuesday, December 2, 2003 04:59 PM
1. Make sure the programming JRE is the same as the server JRE that your program will run on
WSAD ->Windows -> Preferences -> Java -> Installed JREs . typically websphere v5 JRE.
2. Make sure you have these libraries in your application classpath
JRE system library (variable)
WAS_V5_IMPL_FACTORY_PROP (predefined folder)
some of the above libraries may not be necessary, but I did not investigate further. Those are the libraries currently being used by my program.
-Nitin (self- answered) ;)