Insert Witty Irony Here

vince kraemer's Weblog


20050702 Saturday July 02, 2005

Running GlassFish in Mac OS X Disclaimer first. This information is about software that is currently under ACTIVE DEVELOPMENT. By the time you read it, it may not be accurate.

When you download a GlassFish jar-ball and try to install it on Mac OS X, you may see output that looks like this when you follow the installation instructions (ant -f setup.xml):

Failed to create database 'XXXYYYZZZ/domains/domain1/lib/databases/ejbtimer', see the next exception for details.

Basically, setup.xml exec's asasdmin to create an initial domain. One of the steps in creating the initial domain requires that asadmin start Derby, to create an ejbtimer database (as best I can tell).

Derby needs a special system property defined to execute under Mac OS X. Setup.xml and asadmin don't set the value of the property correctly. The property is derby.storage.fileSyncTransactionLog. It must have the value true.

The easiest thing to do, is edit bin/asadmin and add -Dderby.storage.fileSyncTransactionLog=true to the command that is executed.

Restarting the installation process `ant -f setup.xml` seems to execute sucessfully after that.

Tags: (2005-07-02 19:58:25.0) Permalink Comments [1]

Trackback URL: http://blogs.sun.com/vkraemer/entry/running_glassfish_in_mac_os
Comments:

Hello Mr Kraemer,

I am trying to install GlassFish on a solaris machine, it gives the exactly same error message as you have put it here. I tried to add the -Dderby.storage.fileSyncTransactionLog=true in the asadmin file, but it still pops up the same error message. I am wondering do you how to solve it?

Thanks a lot,
Wei

Posted by Wei on September 21, 2007 at 11:49 AM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed

Calendar

« December 2009
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today

RSS Feeds

XML
All
/5 in 5
/Compile Time
/Ease of Evolution
/General
/GlassFish
/Gotchas
/Java
/Music
/NetBeans
/Sailfin

About Me

Photo of Vince Kraemer
Short Bio

Search

Links


Navigation



Subscribe with Bloglines Add to Technorati Favorites

Referers

Today's Page Hits: 166