Hi Matt,
Unless you have derby.log in your current directory, the derby data
will write to <glassfish-install>/database directory by default.
If you have derby.log in the current directory, then the derby data will
write to the current directory. This behavior is so that it's
compatible to the earlier release.
If you want to change the default location, you need to use the --dbhome
option with the start-database command.
This fix went in 9.1 (Glassfishv2)
http://fisheye5.cenqua.com/browse/glassfish/admin-cli/commands/src/java/com/sun/enterprise/cli/commands/StartDatabaseCommand.java
HTH,
Jane
kedar wrote:
>
>
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>