dev@glassfish.java.net

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

From: Justin Lee <Justin.Lee_at_Sun.COM>
Date: Thu, 12 Mar 2009 11:18:52 -0400

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
>