Thursday, November 1, 2007

OIM Adapter compilation error on Solaris/ Linux.

When you try to compile the adapters which you have imported as part of a connector configuration in OIM on Solaris / Linux you might see the error during the compilation.


The error on the Design console will be similar to 'CODE GEN EXCEPTION' and in the log it would be similar to CODE GENERATION EXCEPTION: null
ERROR [ADAPTERS] Class/Method: tcAdpUtils/compileAdapter encounter some problems: Exception encountered during compilation of adpADCREATEGROUP adapter
13:13:21,535 ERROR [ADAPTERS] Class/Method: tcAdpUtils/compileAdapter encounter some problems: Not enough space.

You need to define property XL.CompilerPath which points to JDK location for OIM.

here are the steps

1.Navigate to Administration - > Open System Configuration , When you double click on System Configuration , it will bring up a blank configuration.

2. Enter any name in name field ( i.e JDK Path).

3. Enter XL.CompilerPath in Keyword field.

4. Enter jdk bin in value field ( Full path to JDK /bin) .

5. Check the System check box.

6. Choose client/server radio button.

7. Save the set up .

8. Also make sure that the env variable JAVA_HOME is set and PATH has /bin included.

Restart Design Console and OIM Server. If you still get the same problem restart the OIM Server again.



No comments: