COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Administration and Security => Topic started by: Mrtlsn64r02a662n on 16 Feb 2016 05:35:23 AM

Title: java.lang.NoClassDefFoundError
Post by: Mrtlsn64r02a662n on 16 Feb 2016 05:35:23 AM
In COGNOS CONFIGURATION I defined a new Name Space under SECURITY > AUTHENTICATION setting Type=Custom Java Provider and Java Class Name=AUTHACGV4

This AUTHACGV4.class is contained into a jar file called ACGV4.jar , which is located in folder
C:\Program Files\IBM\cognos\analytics\webapps\p2pd\WEB-INF\lib


When I start the Cognos server i receive this error:
AUTHACGV4
java.lang.NoClassDefFoundError


In System Environment Variables there is no JAVA_HOME defined, so Cognos should be using its own  JRE.
Maybe that is not the correct folder to put the JAR files?

Title: Re: java.lang.NoClassDefFoundError
Post by: MFGF on 16 Feb 2016 10:28:00 AM
Quote from: Mrtlsn64r02a662n on 16 Feb 2016 05:35:23 AM
In COGNOS CONFIGURATION I defined a new Name Space under SECURITY > AUTHENTICATION setting Type=Custom Java Provider and Java Class Name=AUTHACGV4

This AUTHACGV4.class is contained into a jar file called ACGV4.jar , which is located in folder
C:\Program Files\IBM\cognos\analytics\webapps\p2pd\WEB-INF\lib


When I start the Cognos server i receive this error:
AUTHACGV4
java.lang.NoClassDefFoundError


In System Environment Variables there is no JAVA_HOME defined, so Cognos should be using its own  JRE.
Maybe that is not the correct folder to put the JAR files?

Hi,

There's a new location for drivers in Cognos Analytics - there is now a folder called Drivers (C:\Program Files\IBM\cognos\analytics\drivers)

Try moving the JAR files to there and see if it fixes the issue.

Cheers!

MF.