1 Reply Latest reply on Jan 5, 2011 12:39 AM by sterlingsmith

    SE Component cannot find properties file

    sterlingsmith

      I have created a SE that is reading a properties file...see snippet that follows:

       

      Properties properties = new Properties();

      try {

          properties.load(new FileInputStream("costing.properties"));           

      }

      catch (IOException e)

      {

             response.setMessage("Error Loading costing.properties: " + e.getMessage());

               return response;               

      }

       

      The SE is loaded and shows up with both jbi and osgi. I've tried putting the costing.properties file in the /etc directory of the ESB with no success. Any ideas?

       

      Thanks