Properties file path in weblogic

Discussions

EJB programming & troubleshooting: Properties file path in weblogic

  1. Properties file path in weblogic (1 messages)

    Problem:
    I have a support class ABC.java on the weblogic server. This class reads a properties file XYZ.properties. I want to give the relative path of XYZ.properties file to be read.

    But when I run the program on weblogic it gives a FileNotFoundException b'cos it is not able to locate the XYZ.properties file.

    Question:
    Is there any setting in the weblogic server where I can point to the properties file?
  2. solution to ur problem[ Go to top ]

    Dear Deepa

    put the properties file in some directory structure in weblogic home(for eg d:/weblogic).let it be test/test.ini then u can use new File(test/test.ini)
    i hope it helps u

    Bye

    Praveen