1 Reply Latest reply: Apr 23, 2012 2:29 AM by Stephen Coy RSS

Exception: CallbackHandler does not support

fre3man Newbie

Hi all,

 

I am very very very new to JBoss. Or in fact to j2ee as well. I really could use all the help i can get in here.

 

Right now, i am facing [CallbackHandler does not support]  Exception, which it will keep prompting me the error whenever i click on a file, in the Web Management System.

 

Following is the log file i have during the run: (attached more detailed log)

 

2012-04-23 12:02:39,699 ERROR [com.openkm.module.direct.DirectPropertyGroupModule] CallbackHandler does not support: javax.security.auth.callback.NameCallback@9c9a8c: CallbackHandler does not support: javax.security.auth.callback.NameCallback@9c9a8c

javax.jcr.LoginException: CallbackHandler does not support: javax.security.auth.callback.NameCallback@9c9a8c: CallbackHandler does not support: javax.security.auth.callback.NameCallback@9c9a8c: CallbackHandler does not support: javax.security.auth.callback.NameCallback@9c9a8c

          at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1407)

          at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:41)

          at com.openkm.jcr.JCRUtils$1.run(JCRUtils.java:390)

          at java.security.AccessController.doPrivileged(Native Method)

          at javax.security.auth.Subject.doAs(Unknown Source)

          at com.openkm.jcr.JCRUtils.getSession(JCRUtils.java:385)

          at com.openkm.module.direct.DirectPropertyGroupModule.getGroups(DirectPropertyGroupModule.java:176)

          at com.openkm.api.OKMPropertyGroup.getGroups(OKMPropertyGroup.java:82)

          at com.openkm.servlet.frontend.PropertyGroupServlet.getGroups(PropertyGroupServlet.java:180)

          at com.openkm.servlet.frontend.PropertyGroupServlet.getAllGroups(PropertyGroupServlet.java:97)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)

          at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)

          at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)

          at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

          at java.lang.Thread.run(Unknown Source)

Caused by: javax.security.auth.login.LoginException: CallbackHandler does not support: javax.security.auth.callback.NameCallback@9c9a8c

          at org.jboss.security.auth.spi.UsernamePasswordLoginModule.getUsernameAndPassword(UsernamePasswordLoginModule.java:299)

          at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:181)

          at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at javax.security.auth.login.LoginContext.invoke(Unknown Source)

          at javax.security.auth.login.LoginContext.access$000(Unknown Source)

          at javax.security.auth.login.LoginContext$4.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)

          at javax.security.auth.login.LoginContext.login(Unknown Source)

          at org.apache.jackrabbit.core.security.authentication.JAASAuthContext.login(JAASAuthContext.java:60)

          at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1392)

          ... 38 more

Caused by: javax.security.auth.callback.UnsupportedCallbackException

          at org.apache.jackrabbit.core.security.authentication.CallbackHandlerImpl.handle(CallbackHandlerImpl.java:119)

          at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(Unknown Source)

          at org.jboss.security.auth.spi.UsernamePasswordLoginModule.getUsernameAndPassword(UsernamePasswordLoginModule.java:280)

          ... 50 more

23-04-2012 2-15-55 PM.png

 

 

Basically, I was able to logon to the web management system, but when i intends to click on any file that was available, it would return me this error.

How am i able to resolve this? is this due to some sort of JAAS which session token is lost that resulting to this?

 

Please advise.

Thanks in advance!!!