Weblogic 5.1 - setting a global env-entry

Discussions

EJB programming & troubleshooting: Weblogic 5.1 - setting a global env-entry

  1. Weblogic 5.1 - setting a global env-entry (3 messages)

    Hi,

    we need to set a global environment value for our application. I know <env-entry> elements can be included in deployment descriptors for individual enterprise beans. Is it possible to set a global <env-entry> element once that is visible to all enterprise beans? Should we tackle this by deploying our application in a war file and including the <env-entry> element in the deployment descriptor for that or is there another way to do this?

    Thanks in advance

    Bashy
  2. Hi,
       U can define a global envt. property in the .properties file of the application server and u can access it from inside ur bean. Pls. try this out and let me know.

    thanks...hasan
    (ahamed at aztec dot soft dot net)
  3. That worked fine

    cheers mate

    bashy

  4. Weblogic documentation says that you cannot add your own properties to the weblogic.properties file?
    How did you do this?

    Thanks,

    Kiran