0 Replies Latest reply on Apr 28, 2010 1:14 PM by Vanitha Palanichamy

    Runtime ClassLoader Exception

    Vanitha Palanichamy Newbie

      Hi,

       

      I have deployed traxcore.esb with 2 application dependant jar files - commanA.jar and commonB.jar.

      I also have trax_resources.properties under the root of traxcore.

       

      I have a config file trax-config located under C:\TRAX\conf and looks like this

      <?xml version="1.0" encoding="ISO-8859-1" ?>

      <configuration systemProperties="trax_resources.properties">
      <system/>
      <xml fileName="trax-settings.xml"/>
      <properties fileName="pgpkeylist.properties">
        <reloadingStrategy refreshDelay="60000" config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
      </properties>
      <properties fileName="sakeylist.properties">
        <reloadingStrategy refreshDelay="60000" config-class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy"/>
      </properties>
      </configuration>

       

      CommonB.jar has class that load the config file which is working fine.

      But the trax_resources.properties file doesn't get loaded.

       

      At runtime , I get the following  exception when I try to get the value for the key from trax_resources.properties file.

       

      java.lang.NoClassDefFoundError: Could not initialize class org.nhheaf.esb.core.configuration.FileEncryptionResource

       

      Could anybody help me out with this issue.

       

      Thanks

      Vanitha