webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Placing Config files in Config folder

    Posted Wed May 06, 2009 09:16 PM

    Hi All

    We are used to placing our customized configuration files in the config folder under the package.

    Just wondering whether this creates any problem. Any thoughts ?

    Thanks
    Krishna


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Placing Config files in Config folder

    Posted Fri May 08, 2009 08:16 AM

    Hi,

    You can keep your own customized configuration files in the config dir.
    Once the server starts it picks up the config files which is requied for the server to work and the remaining are ignored.

    Cheers


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: Placing Config files in Config folder

    Posted Fri May 08, 2009 03:16 PM

    What is the difference if we place configuration file in Pub Folder under Package and Config Folder under the Package?

    Regards
    Vineeth


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 4.  RE: Placing Config files in Config folder

    Posted Fri May 08, 2009 05:27 PM

    Placing config files in the config directory of a package does not create any issues.

    Custom config files are not automatically loaded by the server. You have to load/read them with your own code. This is true for files in package directories or in the server config directory.

    Files in the pub directory of a package can be retrieved with a browser. For example, [URL]http://localhost:5555/myPackage/myFile.cfg[/URL] can be used to retrieve a file named myFile.cfg from the pub directory depending upon the permissions specifed in the .access file in the pub directory. For this reason, you probably do not want to put config files (which are intended to be internal) in the pub directory. The risk is inadvertently exposing the config file to everyone.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods