2 Replies Latest reply on Jul 3, 2012 8:24 PM by gojoke

    java.lang.ExceptionInInitializerError when started hornetQ

    gojoke Newbie

      When I executed the ./run.sh at a Redhad Linux Enviorment , the following error occured and can not start HornetQ.

      But using the same config file, I can start the HornetQ successfully at the Windows OS and VM Linux enviroment.

      BTW, the version of Java is also the same.

      What is the problem ?

       

      [root@MyPC bin]# ./run.sh

      ***********************************************************************************

      java  -XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M -Dhornetq.config.dir=../config/stand-alone/clustered -Djava.util.logging.config.file=../config/stand-alone/clustered/logging.properties -Djava.library.path=. -classpath ../lib/twitter4j-core.jar:../lib/netty.jar:../lib/jnpserver.jar:../lib/jnp-client.jar:../lib/jboss-mc.jar:../lib/jboss-jms-api.jar:../lib/hornetq-twitter-integration.jar:../lib/hornetq-spring-integration.jar:../lib/hornetq-logging.jar:../lib/hornetq-jms.jar:../lib/hornetq-jms-client.jar:../lib/hornetq-jms-client-java5.jar:../lib/hornetq-jboss-as-integration.jar:../lib/hornetq-core.jar:../lib/hornetq-core-client.jar:../lib/hornetq-core-client-java5.jar:../lib/hornetq-bootstrap.jar:../config/stand-alone/clustered:../schemas/ org.hornetq.integration.bootstrap.HornetQBootstrapServer hornetq-beans.xml

      ***********************************************************************************

      WARNING: error instantiating 'java.util.logging.ConsoleHandler,java.util.logging.FileHandler' referenced by handlers, class not found

      java.lang.ClassNotFoundException: java.util.logging.ConsoleHandler,java.util.logging.FileHandler

         <<No stacktrace available>>

      Exception during runtime initialization

      java.lang.ExceptionInInitializerError

         <<No stacktrace available>>

      Caused by: java.lang.NullPointerException

         <<No stacktrace available>>