2 Replies Latest reply on May 13, 2013 7:33 AM by prashamsjain

    org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source abc-config.xml

    prashamsjain Newbie

      Hello guys,

       

      I am trying migrating my application ear in jboss as7 and getting error mentioed above. my abc-config.xml is in ear only.

       

      application structure is:

       

      app.ear

           abc-config.xml    

           app-war.war

           app-ejb.jar             

                   Appconfig.java // this java file accessing the abc-config.xml

          

       

      code :

           XMLConfiguration xml = new XMLConfiguration(abc-conf.xml);

       

      Can you please help where to put abc-config.xml so that server can locate it.

       

       

      Thanks