我正在使用java 8运行,但在安装日志中尝试使用OpenAm安装的默认/自定义模式时会出现以下异常。
The lower level exception message
Object Class Violation: Entry ou=dashboardService,ou=services,dc=openam,dc=forgerock,dc=org violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass
The lower level exception:
org.forgerock.opendj.ldap.ConstraintViolationException: Object Class Violation: Entry ou=dashboardService,ou=services,dc=openam,dc=forgerock,dc=org violates the Directory Server schema configuration because it does not include a structural objectclass. All entries must contain a structural objectclass
at org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:176)
at org.forgerock.opendj.ldap.spi.ResultLdapPromiseImpl.setResultOrError(ResultLdapPromiseImpl.java:142)
at org.forgerock.opendj.grizzly.LDAPClientFilter$ClientResponseHandler.addResult(LDAPClientFilter.java:126)
at org.forgerock.opendj.io.LDAPReader.readAddResult(LDAPReader.java:173)
at org.forgerock.opendj.io.LDAPReader.readProtocolOp(LDAPReader.java:571)
at org.forgerock.opendj.io.LDAPReader.readMessage(LDAPReader.java:132)
at org.forgerock.opendj.grizzly.LDAPBaseFilter.handleRead(LDAPBaseFilter.java:82)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
at java.lang.Thread.run(Unknown Source)
请帮忙。
答案 0 :(得分:1)
我能够解决这个问题,当检查tomcat服务器的日志时,有一些正确的问题让用户拒绝在tomcat中创建'temp'文件夹。我想OpenAm安装在配置期间内部使用此文件夹。在tomcat服务器中手动创建'temp'文件夹时,我的问题得到了解决。如果有人收到此错误,请先检查您的tomcat日志以解决问题。