adam bien's blog

Strange Error under JDK 1.6.0, Glassfish v2, JSF and Linux 64 and a simple solution 📎

I tested the RunAndBikeDB Java EE 5 demo application under Suse-Linux and encountered strange problem. The application was successfully deployed, however after some clicks the following problem appeared in the logs:

[#|2008-01-06T14:36:34.174+0100|SEVERE|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.renderkit|_ThreadID=2688;_ThreadName=TP-Processor25;_RequestID=25d68d59-d566-4c9b-a48d-0c4088b29a55;|com.ibm.icu.impl.TimeZoneAdapter
java.lang.ClassNotFoundException: com.ibm.icu.impl.TimeZoneAdapter
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1498)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at com.sun.faces.renderkit.ApplicationObjectInputStream.resolveClass(ApplicationObjectInputStream.java:63)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at java.util.HashMap.readObject(HashMap.java:1029)
    at sun.reflect.GeneratedMethodAccessor3464.invoke(Unknown Source)

The solution was simple: I just upgraded to JDK 1.6u3amd64 and the problem was gone... Interesting enough, there were no references on the web regarding this exception.