There is a generic class, ASLauncher, that takes 6 system properties:
install-root
instance-root
instance-name
process-name
launcher-return (optional for DAS)
caller
I wrote a simple class a few weeks ago that you may want to look at:
<admin/servermgmt module>
com.sun.enterprise.admin.servermgmt.launch.DASLauncher and DASLauncherInfo
I will document these classes more in the future. You can start the DAS
using this class with 2 pieces of information:
AS install-dir
Domain-dir
k0nsuli wrote:
> Byron Nevins wrote:
>> Exactly. The code treats the existence of the property as "true" --
>> no matter what the value is. You discovered this the same way I did
>> a month ago -- the hard way!
>>
>> Server startup is radically changing with the next build (26). Or
>> you can checkout the code right now.
>
> Is there a class or are you going to implement one which handles the
> configurations? That is the real problem because it's almost
> impossible to know what values needs to be set before startup.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>