cancel
Showing results for 
Search instead for 
Did you mean: 

Error testing dispatcher: NoClassDefFoundError: javax/crypto/SunJCE_b

ricardo_pereira6
Explorer
0 Kudos

Hi,

I'm trying to test the dispatcher, in Identity Center, but I found the error below.

MxDispatcher:Loading driver: com.microsoft.sqlserver.jdbc.SQLServerDriver

MxDispatcher:Creating connection to : jdbc:sqlserver://99.9.9.99:1433;databasename=mxmc_db;user=mxmc_rt;password=********

Could not invoke main class - Exception: "java.lang.NoClassDefFoundError: javax/crypto/SunJCE_b : cannot initialize class because prior initialization attempt failed"

I tried to change the Encryption algorithm to Standard and 3DES, but in both options the exception is the same.

How should I proceed?

Somebody help me?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ricardo, is this a fresh install or an upgrade?

If it's an upgrade, this could be from leaving the dispatcher service running.

Also what version of Java are you using?

Matt

ricardo_pereira6
Explorer
0 Kudos

Hi Matt, is a fresh install.

I'm using the j2sdk1.4.2_17.

I found the lib SunJCE_b inside the jar file local_policy.jar.

But I don't know where this file must be inserted.

Regards

Ricardo

Former Member
0 Kudos

Ricardo,

Try uninstalling the Sun Java and use the bundled Java that came with NW IDM.By default it can be found in:

C:\Program Files\SAP\IdM\sapjvm_5

Matt

ricardo_pereira6
Explorer
0 Kudos

Hi Matt, don't work !

I tried to change the version in the Tools > Options > Java and change the fields "Path to java.exe" and "Path to jvm.dll"

I changed to the JAVA_HOME but nothing changed on the test.

I change to ...\IdM\sapjvm_5\bin\java.exe path but the erros was the same.

Do you have the configuration wizard, with pre requisites, to send?

Thank's

Ricardo

Former Member
0 Kudos

Hi Pereira,

As you changed the java settings, i would recommend to delete the dispatcher, recreate dispatcher scripts, install and test/start.

regards

Anand.M

former_member207428
Participant
0 Kudos

We had the same issue with the SAP JVM 5.0 - after installing the Sun JDK 1.5.0 (current version 1.5.0_21), updating the classpaths and regenerating the dispatcher scripts, the issue was solved.

Former Member
0 Kudos

I also faced the issue, to solve add the local_policy.jar file in the classpath of the identity center management console

Answers (0)