0 Replies Latest reply on Sep 30, 2004 7:20 AM by time4tea

    ExternalContext classloader problems

    time4tea

      Hi,

      I'm trying to configure an ExternalContext so I can deploy a remote JMS queue/topic into JBoss 4.0.0.

      I've managed to get an ExternalContext service configured, but its failing on where to find the context factory classes. I can't for the life of me figure out where to put the jar files so they get loaded.

      I have defined the ExternalContext to pick up the ldap properties from a file james.ldap in the conf directory, with the following contents.

      java.naming.provider.url=xxnaming:(ldap:.....)
      java.naming.factory.initial=com.xx.yy.ContextFactory
      java.naming.referral=follow
      java.naming.security.credentials=abcd
      java.naming.security.principal=james

      However, I CANNOT get the the initial context factory class to load. Whereever I put the class files I get ClassNotFound.

      I would be very grateful if anybody could help!

      Thanks

      James