2 Replies Latest reply on Dec 21, 2006 12:05 PM by Siddhartha Subramanian

    read in packaged properties file

    Siddhartha Subramanian Newbie

      looking at previous posts I see this has been posted without much help. so I am trying my luck here again.. I have an existing class that reads in a props file packaged as org/foo/syprops.properties as

      ClassLoader.getSystemResourceAsStream("org/foo/syprops.properties");

      as expected and stated in the JBoss admin guide this returns the inputstream as null even though this works on other server configurations such as websphere and SJS. I am open to trying to change this to something that can universally work for example have tried putting the jar containing the properties in the CLASSPATH etc. does not seem to help.

      Any pointers?

      TIA