On Thu, 20 Mar 2003 01:12, Krishnakumar N wrote:
You can do this by using the deployment sorters specified in /conf/jboss-service.xml. For example, you can use the PrefixDeploymentSorter and call your scheduler service xml 1blahblah.xml.
Yep, that will work, but I think in a large project with multiple dependencies it gets hard to manage. There are other ways...
If it is just classes that you need I would put the service.xml in a sar and add a Class-Path: entry to the manifest (and put the sar in the ear as well). ie: you have a sar file with META-INF/MANIFEST.MF
META-INF/jboss-service.xml <-- your scheduler service.xml file
MANIFEST.MF has a line like so: Class-Path: yourjar.jar
This means the yourjar.jar should now be on your classpath when the scheduler is started.
That worked. Thanks. One question: is it possible to change the scheduler attributes at runtime with this construction ?
-marek
-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
