My application crashed with these exceptions:
ERROR [main] (SRPLoginModule.java:391) - Failed to
lookup(SRPServerInterface)javax.naming.NameNotFoundException:
SRPServerInterface not bound
        at
org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
        at
org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
        at
org.jnp.server.NamingServer.getObject(NamingServer.java:509)
        at
org.jnp.server.NamingServer.lookup(NamingServer.java:282)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
        at
sun.rmi.transport.Transport$1.run(Transport.java:148)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
        at java.lang.Thread.run(Thread.java:536)
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)

        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
        at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
        at
org.jnp.server.NamingServer_Stub.lookup(Unknown
Source)
        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
        at
javax.naming.InitialContext.lookup(InitialContext.java:347)
        at
org.jboss.security.srp.jaas.SRPLoginModule.loadServerFromJndi(SRPLoginModule.java:387)
        at
org.jboss.security.srp.jaas.SRPLoginModule.login(SRPLoginModule.java:160)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at
javax.security.auth.login.LoginContext.invoke(LoginContext.java:664)
        at
javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
        at
javax.security.auth.login.LoginContext$4.run(LoginContext.java:599)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:596)
        at
javax.security.auth.login.LoginContext.login(LoginContext.java:523)
        at
com.atlantico.integra.teste.Teste.doLogin(Teste.java:94)
        at
com.atlantico.integra.teste.Teste.main(Teste.java:80)


This is the code of my auth.conf:
other {
    // Example client auth.conf for using the
SRPLoginModule
    org.jboss.security.srp.jaas.SRPLoginModule
required
        password-stacking="useFirstPass"

principalClassName="org.jboss.security.SimplePrincipal"
        srpServerJndiName="SRPServerInterface"
        debug=true
        ;

    // jBoss LoginModule
    org.jboss.security.ClientLoginModule  required
        password-stacking="useFirstPass"
        ;

    // Put your login modules that need jBoss here
};

Can anybody help-me?

Thanks,
Maiquel


_______________________________________________________________________
Yahoo! Mail
O melhor e-mail gratuito da internet: 6MB de espa�o, antiv�rus, acesso POP3, filtro 
contra spam. 
http://br.mail.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to