zzOzz / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

ChaiProvider instance has been closed error when Enable Update Profile enabled #509

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up Samba 4.0.10 server
2. Set up PWM 1.7.0 and configure with Enable Profile Update enabled
3. Attempt to log in.

What is the expected output? What do you see instead?
Unexpected error. If this error occurs repeatedly please contact your helpdesk. 
{ 5015 ERROR_UNKNOWN (ChaiProvider instance has been closed) }

What version of PWM are you using?
1.7.0

What ldap directory and version are you using?
Samba 4.0.10 as AD controller

Please paste any error log messages below:
2013-11-08 00:46:55, INFO , operations.UserAuthenticator, {3} successful 
plaintext authentication for CN=username,OU=**,OU=***,dc=**,dc=***,dc=** 
(158ms) [*/*]
2013-11-08 00:46:55, WARN , servlet.TopServlet, {3,username} unexpected error 
during page generation: ChaiProvider instance has been closed [*/*]
java.lang.IllegalStateException: ChaiProvider instance has been closed
        at com.novell.ldapchai.provider.AbstractProvider.activityPreCheck(AbstractProvider.java:199)
        at com.novell.ldapchai.provider.JNDIProviderImpl.readStringAttributes(JNDIProviderImpl.java:462)
        at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:622)
        at com.novell.ldapchai.provider.AbstractWrapper.invoker(AbstractWrapper.java:80)
        at com.novell.ldapchai.provider.FailOverWrapper.invoke(FailOverWrapper.java:132)
        at com.sun.proxy.$Proxy51.readStringAttributes(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:622)
        at com.novell.ldapchai.provider.AbstractWrapper.invoker(AbstractWrapper.java:80)
        at com.novell.ldapchai.provider.WatchdogWrapper.invoke(WatchdogWrapper.java:206)
        at com.sun.proxy.$Proxy51.readStringAttributes(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:622)
        at com.novell.ldapchai.provider.StatisticsWrapper.invoke(StatisticsWrapper.java:121)
        at com.sun.proxy.$Proxy51.readStringAttributes(Unknown Source)
        at com.novell.ldapchai.impl.AbstractChaiEntry.readStringAttributes(AbstractChaiEntry.java:323)
        at password.pwm.util.operations.UserDataReader.readStringAttributes(UserDataReader.java:90)
        at password.pwm.util.operations.UserDataReader.readStringAttribute(UserDataReader.java:59)
        at password.pwm.util.operations.UserDataReader.readStringAttribute(UserDataReader.java:53)
        at password.pwm.servlet.CommandServlet.checkProfile(CommandServlet.java:269)
        at password.pwm.util.operations.UserStatusHelper.populateUserInfoBean(UserStatusHelper.java:265)
        at password.pwm.util.operations.UserStatusHelper.populateActorUserInfoBean(UserStatusHelper.java:168)
        at password.pwm.util.operations.UserAuthenticator.postAuthenticationSequence(UserAuthenticator.java:397)
        at password.pwm.util.operations.UserAuthenticator.authenticateUser(UserAuthenticator.java:107)
        at password.pwm.servlet.LoginServlet.processRequest(LoginServlet.java:92)
        at password.pwm.servlet.TopServlet.handleRequest(TopServlet.java:83)
        at password.pwm.servlet.TopServlet.doPost(TopServlet.java:158)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.AuthenticationFilter.processUnAuthenticatedSession(AuthenticationFilter.java:214)
        at password.pwm.AuthenticationFilter.doFilter(AuthenticationFilter.java:80)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.SessionFilter.processFilter(SessionFilter.java:224)
        at password.pwm.SessionFilter.doFilter(SessionFilter.java:90)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.GZIPFilter.doFilter(GZIPFilter.java:45)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.ApplicationModeFilter.doFilter(ApplicationModeFilter.java:63)
        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:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:701)

Original issue reported on code.google.com by krishop...@gmail.com on 8 Nov 2013 at 5:50