I have EJB properties as env-entry in the descriptor xml file, but they can
be overriden by a property file (1 or more) if this one if found (it has a
default path name (e.g. /myapp/ejb1.properties))

All you have to do is add to the jboss.conf a MLET classPathExtension
section to add the classpath the root of this location, so the property file
can be loaded as a resource. (no need to change the classpath or set a
system property in the jboss starting script )
e.g: 
<!-- application properties files are in jboss/../cfg directory -->
<MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
   <ARG TYPE="java.lang.String" VALUE="../../../cfg">
</MLET>

Hope it helps

R Chevallier


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to