Exception: “javax.security.auth.login.LoginException: java.lang.IllegalMonitorStateException” is thrown when a user logs into the BE Views Dashboard.

Exception: “javax.security.auth.login.LoginException: java.lang.IllegalMonitorStateException” is thrown when a user logs into the BE Views Dashboard.

book

Article ID: KB0093243

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:

Exception : “javax.security.auth.login.LoginException: java.lang.IllegalMonitorStateException” during login to BE Views Dashboard.

+++++++++++++++++++++++++++++++++++++++++++

javax.security.auth.login.LoginException: java.lang.IllegalMonitorStateException

at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(Unknown Source)

at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source)

at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)

at com.tibco.cep.security.authen.AuthenticationLoginModule.login(SourceFile:76)

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 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 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 com.tibco.cep.security.SecurityHelper.authenticateAsToken(SourceFile:40)

at com.tibco.cep.dashboard.security.SecurityService.a(SourceFile:140)

at com.tibco.cep.dashboard.security.SecurityClientLocalImpl.login(SourceFile:22)

at com.tibco.cep.dashboard.psvr.biz.security.SignInAction.doExecute(SourceFile:52)

at com.tibco.cep.dashboard.psvr.biz.BaseAction.execute(SourceFile:42)

at com.tibco.cep.dashboard.psvr.biz.BusinessActionsController.process(SourceFile:226)

at com.tibco.cep.dashboard.psvr.biz.BusinessActionsController.process(SourceFile:210)

at com.tibco.cep.dashboard.integration.be.DashboardAgentFunctions.a(SourceFile:76)

at com.tibco.cep.dashboard.integration.be.DashboardSessionImpl.a(SourceFile:173)

at com.tibco.cep.dashboard.integration.be.DashboardSessionImpl.assertObject(SourceFile:162)

at com.tibco.cep.runtime.scheduler.impl.DefaultTaskController.processEvent(DefaultTaskController.java:118)

at com.tibco.cep.runtime.scheduler.impl.WorkerBasedControllerV2.superProcessEvent(WorkerBasedControllerV2.java:324)

at com.tibco.cep.runtime.scheduler.impl.WorkerBasedControllerV2$1.doTxnWork(WorkerBasedControllerV2.java:337)

at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:156)

at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:101)

at com.tibco.cep.runtime.scheduler.impl.WorkerBasedControllerV2.processEvent(WorkerBasedControllerV2.java:331)

at com.tibco.cep.runtime.service.cluster.ClusterTaskController.processEvent(ClusterTaskController.java:114)

at com.tibco.cep.runtime.channel.impl.AbstractDestination.onMessage(AbstractDestination.java:230)

at com.tibco.cep.runtime.channel.impl.AbstractDestination.onMessage(AbstractDestination.java:207)

at com.tibco.cep.driver.http.HttpDestination.processMessage(SourceFile:188)

at com.tibco.cep.driver.http.server.impl.tomcat.servlet.HTTPChannelAsyncServlet.doGet(SourceFile:72)

at com.tibco.cep.driver.http.server.impl.tomcat.servlet.HTTPChannelAsyncServlet.doPost(SourceFile:98)

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

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

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

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

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

at com.tibco.cep.driver.http.server.impl.tomcat.servlet.RequestDispatcherFilter.a(SourceFile:99)

at com.tibco.cep.driver.http.server.impl.tomcat.servlet.RequestDispatcherFilter.doFilter(SourceFile:68)

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

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

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

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

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

...



Symptoms:

“javax.security.auth.login.LoginException: java.lang.IllegalMonitorStateException” is seen during logging in to the BE Views Dashboard.


Cause:

BE is not able to read the user repository file from the location specified in CDD (be.auth.file.location property).


Issue/Introduction

Exception: “javax.security.auth.login.LoginException: java.lang.IllegalMonitorStateException” is thrown when a user logs into the BE Views Dashboard.

Resolution

Make sure the user repository file exists at the location specified in CDD (be.auth.file.location property) and has read permissions.

Additional Information

None