#1 2023-08-16 16:49:18

marcioribeiro1979
Member
Registered: 2023-04-18

java.lang.ClassNotFoundException: net.datenwerke.rs.ldap.service.ldap.

Hi,

I´m trying to enable LDAP in ReportServer 4.5. However, it is failing with below error.

I tried to change java version, CLASSPATH, changed parameters in setenv.sh, but it is still not working.

Anybody has any clue?

Thanks


Error:

java.lang.ClassNotFoundException: net.datenwerke.rs.ldap.service.ldap.pam.LdapPAM
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:315)
        at net.datenwerke.gf.service.authenticator.AuthenticatorModule.lambda$2(AuthenticatorModule.java:58)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
        at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
        at net.datenwerke.gf.service.authenticator.AuthenticatorModule.providePAMs(AuthenticatorModule.java:65)
        at net.datenwerke.gf.service.authenticator.AuthenticatorModule$$FastClassByGuice$$7290603.GUICE$TRAMPOLINE(<genera
        at net.datenwerke.gf.service.authenticator.AuthenticatorModule$$FastClassByGuice$$7290603.apply(<generated>)
        at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:260)
        at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171)
        at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstancel.java:185)
        at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindin:162)
        at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1101)
        at net.datenwerke.rs.core.service.EnvironmentAfterStartupInformation.pamConfig(EnvironmentAfterStartupInformation.
        at net.datenwerke.rs.core.service.EnvironmentAfterStartupInformation.initialize(EnvironmentAfterStartupInformation
        at net.datenwerke.gf.service.lateinit.LateInitStartup$1.run(LateInitStartup.java:62)
        at java.base/java.lang.Thread.run(Thread.java:834)
12:45:09.235 ERROR n.d.g.s.lateinit.LateInitStartup - Error in LateInitHook
java.lang.NullPointerException: null
        at net.datenwerke.rs.core.service.EnvironmentAfterStartupInformation.pamConfig(EnvironmentAfterStartupInformation.
        at net.datenwerke.rs.core.service.EnvironmentAfterStartupInformation.initialize(EnvironmentAfterStartupInformation
        at net.datenwerke.gf.service.lateinit.LateInitStartup$1.run(LateInitStartup.java:62)
        at java.base/java.lang.Thread.run(Thread.java:834)

Offline

#2 2023-08-17 15:06:05

eduardo
Administrator
Registered: 2016-11-01
Website

Re: java.lang.ClassNotFoundException: net.datenwerke.rs.ldap.service.ldap.

Hi marcioribeiro1979,

pls post a screenshot of your administration -> license  management window. You can black out your company and you can use http://imgbb.com for uploading the image. You can also open a support portal ticket if you prefer.

Regards,
Eduardo

Offline

#3 2023-08-17 19:09:04

eduardo
Administrator
Registered: 2016-11-01
Website

Re: java.lang.ClassNotFoundException: net.datenwerke.rs.ldap.service.ldap.

Hi marcioribeiro1979,

LDAP is not part of CE edition, pls install the EE edition for LDAP support.
Here the comparison: https://reportserver.net/en/pricing/

Regards,
Eduardo

Offline

#4 2023-08-17 19:43:02

marcioribeiro1979
Member
Registered: 2023-04-18

Re: java.lang.ClassNotFoundException: net.datenwerke.rs.ldap.service.ldap.

Hi Eduardo,

I think I found the issue. I´ve created a sandbox machine to validate this LDAP integration, and I thought there would be a trial period for Enterprise. However, I see, even a fresh installation goes direct to Community version:

Installation date:
2023 August 17
License:
Community Edition (AGPL)
Expiration date:
Does not expire

Please close this ticket, I´ll try this LDAP integration in one EE server.

Thanks

Offline

Board footer

Powered by FluxBB