From: <glassfish_at_javadesktop.org>
Date: Wed, 26 Dec 2007 23:27:07 PST
The real cause appears to be that in your Appclient constructor (ca.littleriver.bovinemanagement.appclient.Main.<init>) you are trying to construct a LoginContext with "k" as the configuration name and your custom callbackhandler...
------------------------
Caused by: javax.security.auth.login.LoginException: No LoginModules configured for k
at javax.security.auth.login.LoginContext.init(LoginContext.java:256)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:334)
at ca.littleriver.bovinemanagement.appclient.Main.<init>(Main.java:77)
at ca.littleriver.bovinemanagement.appclient.Main.main(Main.java:186)
---------------------
The way to specify a custom callbackhandler with Appclient, is to specify the fully qualified classname of your CallbackHandler class in application-client.xml
<callback-handler>ca.littleriver.bovinemanagement.appclient.DialogCallbackHandler
</callback-handler>
</application-client>
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]