Openam and OpenDJ Integration issue: authorization failure -
i using openam12 , opendj2.6 version configure single sign on.
while trying make openam12 , opendj2.6 communicate getting following exception:
[error] handleexception: java.lang.runtimeexception: error occurred invoking public method: public boolean com.sun.identity.config.wizard.wizard.createconfig() @ org.apache.click.util.clickutils.invokemethod(clickutils.java:3335) @ org.apache.click.util.clickutils.invokelistener(clickutils.java:2088) @ org.apache.click.control.abstractcontrol$1.onaction(abstractcontrol.java:228) @ org.apache.click.actioneventdispatcher.fireactionevent(actioneventdispatcher.java:259) @ org.apache.click.actioneventdispatcher.fireactionevents(actioneventdispatcher.java:236) @ org.apache.click.actioneventdispatcher.fireactionevents(actioneventdispatcher.java:180) @ org.apache.click.clickservlet.performonprocess(clickservlet.java:746) @ org.apache.click.clickservlet.processajaxpageevents(clickservlet.java:1860) @ org.apache.click.clickservlet.processpage(clickservlet.java:559) @ org.apache.click.clickservlet.handlerequest(clickservlet.java:383) @ org.apache.click.clickservlet.doget(clickservlet.java:276) @ javax.servlet.http.httpservlet.service(httpservlet.java:622) @ javax.servlet.http.httpservlet.service(httpservlet.java:729) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:291) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:239) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.forgerock.openam.validation.responsevalidationfilter.dofilter(responsevalidationfilter.java:44) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:239) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ com.sun.identity.setup.amsetupfilter.dofilter(amsetupfilter.java:113) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:239) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:219) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:142) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:617) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:668) @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1521) @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.run(nioendpoint.java:1478) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) @ java.lang.thread.run(thread.java:745) caused by: java.lang.exceptionininitializererror @ com.sun.identity.setup.configuredata.createpolicies(configuredata.java:166) @ com.sun.identity.setup.configuredata.createrealmandpolicies(configuredata.java:118) @ com.sun.identity.setup.configuredata.configure(configuredata.java:99) @ com.sun.identity.setup.amsetupservlet.processdatarequests(amsetupservlet.java:1650) @ com.sun.identity.setup.amsetupservlet.configure(amsetupservlet.java:1127) @ com.sun.identity.setup.amsetupservlet.processrequest(amsetupservlet.java:693) @ com.sun.identity.config.wizard.wizard.createconfig(wizard.java:304) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.apache.click.util.clickutils.invokemethod(clickutils.java:3317) ... 39 more caused by: com.sun.identity.log.amlogexception: ampolicy.access:log write authorization failure @ com.sun.identity.log.logger.validatelogby(logger.java:291) @ com.sun.identity.log.logger.log(logger.java:363) @ com.sun.identity.log.logger.logstartrecord(logger.java:564) @ com.sun.identity.log.logger.getlogger(logger.java:471) @ com.sun.identity.policy.policyutils.<clinit>(policyutils.java:105) ... 51 more
from stacktrace :
caused by: com.sun.identity.log.amlogexception: ampolicy.access:log write authorization failure
which mean openam try log on it's installation dir didnt have enough access rights dir (on windows "c:\openam\openam\log"). maybe try check first.
hope helps
Comments
Post a Comment