1 Reply Latest reply on May 23, 2008 10:53 AM by jaikiran pai

    get the current jboss deployment directory at runtime?

    Klaus Gradinger Newbie

      Hello.

      3 months ago, i found a thread in this forum, that solves my problem... but i've been searching for about an hour now but didn't find anything... so have to ask:

      I need a way to get the current deployment path (absolute, not relative to jboss) of an J2EE WAR Application (exploded deployment). I'm using Jboss 4.2.1 on debian and windows (that's the reason why i can't and won't hardcode the path). The reason is, that i have to write files that should be readable from the outside.

      Thanks
      semteX