6 Replies Latest reply on Sep 17, 2004 10:51 AM by ranjithpillai

    JBoss returns incorrect ear exploded directory name: Please

    ranjithpillai Newbie

      Hello all,
      I have deployed an ear called application.ear in JBoss 3.2.5 and HPUX. In one file 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.5/server/tux610/tmp/deploy/tmp34401application.ear-contents/ssa/config/tux610,
      but JBoss returns -:/opt/websat/jboss/jboss-3.2.5/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?

      I also tested this in windows and faced the same problem. This is actually stopping me from deploying my application in JBoss application server.

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