Bugs item #669650, was opened at 2003-01-17 01:32
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=669650&group_id=22866
Category: JBossMX
>Group: v3.2
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Srivatsan (srivatsanp)
Assigned to: Scott M Stark (starksm)
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.
----------------------------------------------------------------------
>Comment By: Scott M Stark (starksm)
Date: 2003-01-18 03:31
Message:
Logged In: YES
user_id=175228
This works fine for me with the 3.2.0RC1 version. Indicate
which version you are using and provide a testcase that
demonstrates the problem. See the
org.jboss.test.classloader.resource.ResourceTest unit test
which does exactly what you describe.
----------------------------------------------------------------------
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 - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your
clients even if they use browsers that are limited to 40 bit encryption.
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development