3 Replies Latest reply on Apr 19, 2013 6:51 AM by jaikiran

    jboss AS 7.1 issues with Jadira usertype

    gmlopezdev

      Hi,

      I've started using jadira usertype library and found a warning on my logs stating the following:

       

          "Under JBoss and Tomcat it may not be possible to handle DST transitions correctly"

       

      The issue (apparently) comes up because at some point they're trying to get an instance of sun.awt.AppContext by using reflection and an exception is thrown because the class cannot be found.

       

      They've commented the code as the following:

       

          // This check is for environments (e.g. JBoss) which sun.awt.AppContext cannot be loaded

          Class.forName("sun.awt.AppContext");

       

      Is there anyone who can explain me why is this happening (the class not found error) or whether there's any safe workaround for this issue?

       

      Thanks in advance!

       

      Message was edited by: Guillermo L Subject updated