5 Replies Latest reply on Apr 13, 2005 9:41 AM by Eleas

    MainDeployer getting absolute path of deployed package

    ronan toriot Newbie

      I need in an ejb to locate my deployed package...

      I made an EAR package containing an xxxAppEJB.jar and xxxApp.war
      the ejb compute hash of files included in the xxxApp.war.

      remote clients ask for an hash specifying the final URL of the file ex: http://server/xxxApp/file.data
      the ejb return the hash of file.data if client is ok it downloads file.data

      actually my ejb search in $jboss_home/server/servername/tmp/deploy/tmp[MAX]xxxApp.ear-contents/xxxApp.war/

      I'm quite sure with the jboss API it is possible for an ejb where physically it was deployed...

      Can anyone can help me?