0 Replies Latest reply on Aug 15, 2014 10:55 AM by DJDIVER

    Error trying to instantiate RefFSContextFactory

    DJDIVER

      We have custom JAVA code that we are trying to interface with. The JAVA code works as expected within Eclipse JUnit. But when we try to reference the code in ColdFusion we get a "Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory" error. We have tried to put the fscontent and providerutil jars everywhere we could think of to get this resolved. We even tried to run JHades as a servlet listener to see what was happening with the class loading (the server would not even start with the listener in place.)

       

      We are using the context factory to access a .binding file that access IBM MQ message queues.

       

      We have tried to get this to work with CF9, 10, and 11. We have run 10 and 11 as standalone servers, then we even tried running 11 as a JEE application in JBOSS. Same error.