users@glassfish.java.net

Re: Custom wrong login dialog

From: <forums_at_java.net>
Date: Wed, 14 Mar 2012 16:16:00 -0500 (CDT)

 Hi Tim,

the client's code has not been called, I've inserted log message at the
beginning of client's code and it shows only after successful login. The
callbackhandler is called before the client's code... There is no stacktrace,
only a dialog with following message:



The credentials you provided (username and password) were not valid or do
not allow access to the application.  Please try again with a valid
username and  password.  If you are certain the username and password are
correct please contact your system administrator.  The following
information might be helpful:

Lookup failed for 'java:comp/env/client.ClientApplication/someSessionBean' in
SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory,
java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl,
java.naming.factory.url.pkgs=com.sun.enterprise.naming}

 

Michael


--
[Message sent by forum member 'anaq']
View Post: http://forums.java.net/node/884270