Properties file path in weblogic


EJB programming & troubleshooting: Properties file path in weblogic

  1. Properties file path in weblogic (1 messages)

    I have a support class on the weblogic server. This class reads a properties file I want to give the relative path of 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 file.

    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