2 Replies Latest reply on Sep 15, 2004 3:28 PM by ranjithpillai

    JBoss returns incorrect ear exploded directory name:

    ranjithpillai

      Hello all,
      I have deployed an ear called application.ear in JBoss. I have -
      URL path = Thread.currentThread().getContextClassLoader().getResource("config/" + instanceName + "/my-config.xml");
      to find the relative path of some config file. Actually the relative path is -:/opt/websat/jboss/jboss-3.2.3/server/tux610/tmp/deploy/tmp34401application.ear-contents/ssa/config/tux610,
      but JBoss returns -:/opt/websat/jboss/jboss-3.2.3/server/tux610/tmp/deploy/tmp34401application.ear!/ssa/config/tux610 .
      The path is correct except exploded directory name "tmp34401application.ear!" instead of "tmp34401application.ear-contents". Does any one know why this behaviour?

      Any help will be deeply appreciated.
      Thanks,
      Ranjith Pillai.