you mean the ejb-jar.xml file in the classpath?
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
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
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.
|
|----------------------------------------------------------------------
|
|You can respond by visiting:
|http://sourceforge.net/tracker/?func=detail&atid=376688&aid=423134&
|group_id=22866
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-development
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development