dev@glassfish.java.net

Re: [GFv3] Undefined variable called com.sun.aas.derbyRoot in domain.xml

From: Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
Date: Thu, 12 Mar 2009 11:43:53 -0700

FWIW, in IPS related distribution, this asenv.conf variable is set to
../../javadb since in that case javadb directory is on the same level as
glassfish directory. So, it is not safe to assume the same relative path...

Thanks,

Snjezana

Sahoo wrote:

> Thanks, Justin. So, it is mapped to AS_DERBY_INSTALL, which is set to
> ../javadb in asenv.conf.
>
> Sahoo
>
> Justin Lee wrote:
>
>> It appears to be used in these places:
>>
>> *
>> com.sun.enterprise.universal.glassfish.SystemPropertyConstants#DERBY_ROOT_PROPERTY
>>
>> *
>> com.sun.enterprise.admin.cli.optional.DatabaseCommand#prepareProcessExecutor
>>
>> *
>> com.sun.enterprise.universal.glassfish.ASenvPropertyReader#setEnvToPropMap
>>
>>
>>
>> Sahoo wrote:
>>
>>> I don't think com.sun.aas.derbyRoot is set anywhere, yet it is
>>> referenced in domain.xml as shown below:
>>> <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.
>>>
>>> sun.aas.instanceRoot}/lib/ext${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options>
>>>
>>>
>>> Who should set this variable? Currently Derby jdbc drivers are being
>>> made available because of some code in bootstrap module which adds
>>> them to classloader hierarchy. I want to change this as it does not
>>> look correct to me. So, I need this to be fixed.
>>>
>>> Thanks,
>>> Sahoo
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>