On Thu, May 10, 2001 at 03:51:55PM -0400, marc fleury wrote:
> you mean the ejb-jar.xml file in the classpath?
Yeah, what he said.
> yes I have seen this a lot in the excercise...
>
> the init of the Deployer (JMX) init should look for the ejb-jar.xml
>
> getClass().getClassLoader.loadResource("ejb-jar.xml");
>
> if everything OK bark and bark and bark and make loud noises
Exactly what I meant, yes.
> a more complex way of doing this is to make sure that the ejb-jar.xml comes
> from our ClassLoader but that would require an extension of the current
> URLCl used... since I want to do that for complex app support (probably for
> JBoss 3.0) then we would do that at the CL level. More complex but
> fool-proof, the barking won't work all the time
I think you're right that we need explicit handling for this in the
classloader. The delegation model really screws up with deployment
descriptors where we really want the opposite behaviour.
I made this a feature request because I probably won't get around to it
for a while, so if anyone wants to do this, go ahead. It's a nice simple
one for a beginner, even.
Toby.
> marc
>
>
> |-----Original Message-----
> |From: [EMAIL PROTECTED]
> |[mailto:[EMAIL PROTECTED]]On Behalf Of
> |[EMAIL PROTECTED]
> |Sent: Thursday, May 10, 2001 3:34 PM
> |To: [EMAIL PROTECTED]
> |Subject: [JBoss-dev] [ jboss-Feature Requests-423134 ] Complain if
> |ejb-jar in classpath
> |
> |
> |Feature Requests item #423134, was updated on 2001-05-10 12:33
> |You can respond by visiting:
> |http://sourceforge.net/tracker/?func=detail&atid=376688&aid=423134&
> |group_id=22866
> |
> |Category: None
> |Group: None
> |Status: Open
> |Priority: 5
> |Submitted By: Toby Allsopp (tobyallsopp)
> |Assigned to: Nobody/Anonymous (nobody)
> |Summary: Complain if ejb-jar in classpath
> |
> |Initial Comment:
> |There are a number of people confused by problem caused
> |by having their ejb-jar file in the classpath when they
> |start JBoss.
> |
> |We should detect this when the server starts up
> |(perhaps when each deployer starts up it should check
> |for this) and tell them, in no uncertain terms, to fix
> |it.
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development