users@glassfish.java.net

Re: how to upgrade derby? (& control data path)

From: kedar <Kedar.Mhaswade_at_Sun.COM>
Date: Thu, 16 Nov 2006 11:24:45 -0800

Matthew Pease wrote:
> Hi all-
>
> I'm installing the latest glassfish v1 & I'm upgrading to the latest
> derby.
>
> I'm upgrading derby simply by replacing the javadb folder with the
> latest derby. is this correct?
Yes, I believe so. The only care that you must take is to run
the ant -f setup.xml or setup-cluster.xml (as the case may be)
after this upgrade. Before you do that though, delete:
<GlassFish.Home>/domains/domain1.

>
> Also.. how do you control the path to where derby writes out its
> data? I'd like it to always be in the same place, not wherever I
> happen to issue the asadmin start-database command.
>
I thought this bug was fixed.
For now, can you try "asadmin start-database --dbhome <location of your
interest>"?

https://glassfish.dev.java.net/issues/show_bug.cgi?id=498 -- shows it's
fixed.
Not sure about build-id.

Thanks,
Kedar
>
> Thank you-
> Matt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>