Bugs item #669650, was opened at 2003-01-17 15:02
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=669650&group_id=22866

Category: JBossMX
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Srivatsan (srivatsanp)
Assigned to: Nobody/Anonymous (nobody)
Summary: ClassLoader Problem

Initial Comment:
We have two applications,say Test.ear and Test1.ear 
both have some resource files packaged with them in 
the structure of

Test.ear
    -dtd/test.dtd
Test1.ear
    -dtd/test1.dtd

so when i tried to access this dtd/test.dtd from a class 
in Test1.ear i am not able to get the dtd. I am using 
this.getClass().getClassLoader().getResource
("dtd/test.dtd") method from a MBean Service (sar) 
which is present in Test1.ear. It returned null. 

On further analysis, we came to know that you are 
searching classes and resources based on package 
names. This might have introduced the issue of not able 
to access the dtd/test.dtd.since both the ear's have dtd 
dirs.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=669650&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to