3 Replies Latest reply on Mar 9, 2004 12:05 PM by meera13

    Failed to lookup(srp/SRPServerInterface)

    meera13 Newbie

      Hi!

      I was using jboss3.2.2RC3 and everything works fine but the same code without any changes when deployed on jboss3.2.3 throws exception.

      ERROR [t1Client] (SRPLoginModule.java:389) - Failed to lookup(srp/SRPServerInterface)

      javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

      ....

      --->I have jnp-client.jar in my classpath.
      --->Havent changed anything in the jndi.properties

      my auth.conf
      srp {
      org.jboss.security.srp.jaas.SRPLoginModule required
      srpServerJndiName="srp-test/SRPServerInterface"
      multipleSessions="true"
      ;

      org.jboss.security.ClientLoginModule required
      password-stacking="useFirstPass"
      multi-threaded="true"
      ;
      };

      have any clues....?