in the case of using the gf-embedded-all, there is no installRoot
since there is no installation so you should get the same installRoot
and instanceRoot values. Can you clarify why is this creating an issue
down to road ?
jerome
On Aug 12, 2009, at 4:18 PM, Marina Vatkina wrote:
> Jerome,
>
> I'm trying the gf-embedded-all.jar for
> When I try to point to a pre-existing GF installation via
> <EmbeddedFileSystem.Builder>.setConfigurationFile() for domain.xml
> and EmbeddedFileSystem.Builder.setInstanceRoot() for <install>/
> glassfishv3/glassfish/domains/domain1, the system properties in
> thServerEnvironmentImpl are getting wrong (?) values from the
> injected StartupContext ref:
>
> com.sun.aas.configRoot <install>/glassfishv3/glassfish/domains/config
> com.sun.aas.installRoot <install>/glassfishv3/glassfish/domains
>
> If I set instance root to the <install>/glassfishv3/glassfish, or
> don't set the instance root at all, the problem with calculating the
> right locations is still the same :(.
>
> Everything is (obviously) fine in the non-embedded mode:
>
> com.sun.aas.configRoot <install>/glassfishv3/glassfish/config
> com.sun.aas.installRoot <install>/glassfishv3/glassfish
>
> thanks,
> -marina
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>