Thursday, May 8, 2014

Oracle SOA : java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.trinidadinternal.convert.ColorConverter

In Oracle SOA 11g (11.1.1.7.0) when you try to access the oracle worklist application or custom created worklist application to access the Human workflow tasks you get the following error:

java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.trinidadinternal.convert.ColorConverter
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
Truncated. see log file for complete stacktrace

java.lang.UnsatisfiedLinkError: Can't load library: /app1/oracle/middleware/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin/headless/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
Truncated. see log file for complete stacktrace

This is due to the missing "libmawt.so" in /soa/app/Oracle/product/fmw/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin/headless

Solution:

Copy the libmawt.so library file from the JRockit installation directory (normally found in /lib/headless/) to the following directory:
%Middleware_HOME%/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin/headless/

Note: Please refer document (Doc ID 1633015.1) on oracle support for further information.

No comments:

Post a Comment