|
From: Leif M. <le...@ta...> - 2004-04-16 11:38:09
|
Bjorn,
The Wrapper is only capable of launching a single application (main
class) per
wrapper.conf and per Wrapper invocation. If you want to run multiple
main files
you could easily make a "wrapper" main class which simply called all of
your other
applications' main methods. Main methods are simply static methods and
can be
called like any other method.
If you want to run them all in separate JVMs, you can easily do so
by creating
multiple conf files.
Cheers,
Leif
Bjorn Helgason wrote:
>Hi there,
>What is the best way to configure a wrapper for a system where there is only one jar file but there are many main classes within the jar file that need to managed. Should I use multiple conf files, cascading conf files or can I do the configuration in one configuration file.
>
>Brgds
>Bjorn
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>
|