Bugs item #1029905, was opened at 2004-09-17 07:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1029905&group_id=22866

Category: JBossServer
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ranjith Pillai (ranjithpillai)
Assigned to: Nobody/Anonymous (nobody)
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

----------------------------------------------------------------------

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

Reply via email to