I am still trying to get the resource adapter from http://forums.sun.com/thread.jspa?threadID=432365&forumID=40 (Using WebSphere MQ with WebSphere Application Server Community Edition) to run.
The RA uses com.sun.jndi.fscontext.RefFSContextFactory to get the MQ Factory from JNDI. But it seems fscontext.jar can neither be loaded from the .rar nor from the Geronimo server/lib. javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory] I try the solution from http://forums.sun.com/thread.jspa?threadID=432365&forumID=40 and used a ContextClassLoader. Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); ctx = new InitialDirContext(environment); This worked, but then I get java.lang.ClassCastException: javax.naming.Reference incompatible with javax.jms.QueueConnectionFactory It seems that there is still some problems with the loaded classes (JNDI cannot access all MQ classes ?) (http://mail-archive.ow2.org/jonas/2001-11/msg00100.html) Is there a way to load RefFSContextFactory by the standard classloader? Thanks, Juergen -- View this message in context: http://www.nabble.com/Cannot-instantiate-class%3A-com.sun.jndi.fscontext.RefFSContextFactory-tp19388679s134p19388679.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.