Hi,

We are working on a implementation of User App on WAS 6.1.0.27 cluster
on windows 2008 servers . We are on the latest version; Identity
Manager Version 3.7.0 Patch A
Build Revision 35233.

We are seeing random problems with users logging into the application,
including padmin. Randomly we see this 'Login Error. Please contact
your administrator' when trying to log in. I have to restart the
websphere application server for it to resolve. It appears to me that
the user application is losing its connection to eDirectory, causing
these failures. Here is an exception from my log from when i try logging
in and get the error.

[2/15/10 22:09:41:819 GMT] 00000151 WebApp E [Servlet
Error]-[UIQuery]: java.security.AccessControlException:
at com.sssw.fw.util.crypto.KeyManager.decrypt(Unknown Source)
at
com.sssw.fw.directory.realm.impl.jndildap.EboLdapD irectoryConnection.decryptPassword(EboLdapDirector yConnection.java:102)
at
com.sssw.fw.directory.realm.impl.jndildap.EboLdapD irectoryConnection.<init>(EboLdapDirectoryConnecti on.java:117)
at
com.sssw.fw.directory.realm.impl.jndildap.EboLdapD irectoryConnectionManager.createDirectoryConnectio n(EboLdapDirectoryConnectionManager.java:341)
at
com.sssw.fw.directory.realm.impl.jndildap.EboLdapD irectoryConnectionManager.getUserConnection(EboLda pDirectoryConnectionManager.java:216)
at
com.novell.srvprv.impl.security.SecurityContext.ge tSecurityContext(SecurityContext.java:333)
at
com.novell.srvprv.impl.security.SecurityContext.ge tSecurityContext(SecurityContext.java:301)
at
com.novell.srvprv.spi.security.SecurityHelper.getS ecurityContext(SecurityHelper.java:73)
at
com.novell.srvprv.impl.servlet.JuiceHelper.isUserS essionAuthenticated(JuiceHelper.java:115)
at
com.novell.ajax.juice.servlet.UIQueryServlet.doPos t(UIQueryServlet.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1146)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1087)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:145)
at
com.novell.soa.common.i18n.BestLocaleServletFilter .doFilter(BestLocaleServletFilter.java:233)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:130)
at
com.novell.common.AntiCsrfServletFilter.doFilter(A ntiCsrfServletFilter.java:203)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:130)
at
com.novell.afw.portal.i18n.CharacterEncodingFilter .doFilter(CharacterEncodingFilter.java:139)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:130)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:87)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:837)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:680)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:588)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:524)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrappe r.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:751)
at
com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1478)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:125)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletion Actions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:196)
at
com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1497)


I also see these in my logs. This usually lets me know the exact time
of the error.

[2/14/10 13:44:20:334 GMT] 00000152 SystemOut O 13:44:20,334
ERROR [JAASManager] Login failed for user: padmin

[2/14/10 13:44:20:396 GMT] 00000152 SystemOut O 13:44:20,396
ERROR [StackTraceTag] An error occurred on 2/14/10 1:44 PM. If the
problem persists, copy this message, including the date and time, and
send to your system administrator.

When its working i recieve this in my logs.

[2/12/10 23:24:17:232 GMT] 0000014e SystemOut O 23:24:17,232 INFO
[PasswordHelper] [Login_Success] padmin successfully logged in.

Any ideas?

Thanks


--
jr015873
------------------------------------------------------------------------
jr015873's Profile: http://forums.novell.com/member.php?userid=78680
View this thread: http://forums.novell.com/showthread.php?t=401803