Bugs item #1029905, was opened at 2004-09-17 07:47
Message generated for change (Comment added) made by starksm
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1029905&group_id=22866
Category: JBossServer
>Group: v3.2
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Ranjith Pillai (ranjithpillai)
>Assigned to: Scott M Stark (starksm)
Summary: JBoss returns incorrect ear exploded directory name
Initial Comment:
Operating system: HPUX, Windows XP
JDK 1.3
I have deployed an ear called application.ear in JBoss
3.2.5. 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 .
If you notice the exploded ear directory name is given
as "tmp34401application.ear!" . Actually the correct
name is tmp34401application.ear-contents.
Also I am wondering why did it return the
protocol "file:/" in front of URL.
Thanks,
Ranjith Pillai
----------------------------------------------------------------------
>Comment By: Scott M Stark (starksm)
Date: 2004-09-17 09:29
Message:
Logged In: YES
user_id=175228
Our resource unit test which does the same thing shows a jar
url to the dtds/sample.dtd resource being looked for. The
url you show is completely invalid. It should be a jar:
protocol url like the following:
09:26:24,140 INFO [ResourceTest] Looking for resource:
dtds/sample.dtd
09:26:24,140 INFO [ResourceTest] Found dtds/sample.dtd:
jar:file:/C:/cvs/JBoss3.2/jboss-3.2/build/output/jboss-3.2.6RC2/server/default/tmp/deploy/tmp14791loadingresource.ear!/dtds/sample.dtd
The same behavior is seen with both the 1.4.2 and 1.3.1 jdks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1029905&group_id=22866
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development