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]

Calendar

« July 2005 »
SunMonTueWedThuFriSat
     
1
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: 342