-
1. Re: Mbean loaded class can not find resource.
joel.rosi-schwartz Aug 2, 2002 1:44 PM (in response to joel.rosi-schwartz)Sorry, I should have mentioned that I am running JBoss 3.0 on wk2 using Java 1.4.1.
- joel -
2. Re: Mbean loaded class can not find resource.
mryb Aug 2, 2002 2:44 PM (in response to joel.rosi-schwartz)I'm not really an expert on this, but I think a simple tag in your MBean deployment file will fix this.
So, something like this if your jar is in the deploy directory:
... -
3. Re: Mbean loaded class can not find resource.
joel.rosi-schwartz Aug 2, 2002 5:03 PM (in response to joel.rosi-schwartz)Thanks for the thought, but I have tried that already and it did not help. In any case, since the class that needs the resource is loaded (obviously), I would expect that the classloader would be able to find the resource as it is in the same jar file.
I certainly seems to be a problem with the way the classloader is treating the resource file or perhaps in the way the class is trying to retrieve it.
I am attaching a copy of the MBean deployment file. I is pretty straightforward so I do not think it will add any thing, but one never knows.
- joel -
4. Re: Mbean loaded class can not find resource.
johnsbrn Oct 29, 2002 5:37 PM (in response to joel.rosi-schwartz)I know this issue is kind of old, but you need to pass the openorb.home property to the orb at startup. This should be the absolute pathname of your openorb jar file, or another path where you put the OpenORB.xml and default.xml files. You can see the OpenORB documentation for various ways to do this.
-
5. Re: Mbean loaded class can not find resource.
kbal Jan 9, 2004 8:02 AM (in response to joel.rosi-schwartz)hi,
i'm very interesting in enbed Xindice in JBoss. If you accept give me the solution i'll be very happy. you can help me at : fabien_serafini@hotmail.com
thanks et sorry for my bad english :-)