Hi,
Another alternative would be to use the ServerAPI.getServerConfigDir() method from the webMethods Java API.
See: <webmethodsinstalldir>/doc/API/Java/com/wm/app/b2b/server/ServerAPI.html#getServerConfigDir()
public static java.io.File getPackageConfigDir(java.lang.String pkgname)
Returns a File object representing the path name for the given package’s configuration directory. This configuration directory contains all the settings files for initializing services in that package.
Parameters:
pkgname - A String specifying the name of the package whose configuration directory is desired.
Returns:
A File object representing the path name to the SERVERHOME/packages/pkgname/config directory
Regards
Danie
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB