You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jim Marino <jm...@myroma.net> on 2006/01/19 20:47:20 UTC

build error

When I run maven from 'java', I get the following failure on OS X.   
Is this something people know about?

[INFO]  
------------------------------------------------------------------------ 
----
[INFO] Building Tuscany DAS for Relational Databases
[INFO]    task-segment: [install]
[INFO]  
------------------------------------------------------------------------ 
----
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Setting reports dir: /Users/jmarino/workspace/tuscany/tuscany/ 
tuscany/java/das/rdb/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
ERROR XBM01: Startup failed due to an exception. See next exception  
for details.
         at org.apache.derby.iapi.error.StandardException.newException 
(Unknown Source)
         at  
org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule 
(Unknown Source)
         at org.apache.derby.impl.store.raw.log.LogToFile.boot 
(Unknown Source)
         at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
         at  
org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown  
Source)
         at  
org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
         at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
         at  
org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory( 
Unknown Source)
         at  
org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFact 
ory(Unknown Source)
         at org.apache.derby.impl.store.raw.RawStore.boot(Unknown  
Source)
         at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
         at  
org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown  
Source)
         at  
org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
         at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
         at org.apache.derby.impl.store.access.RAMAccessManager.boot 
(Unknown Source)
         at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
         at  
org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown  
Source)
         at  
org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
         at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
         at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown  
Source)
         at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
         at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
         at  
org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown  
Source)
         at  
org.apache.derby.impl.services.monitor.BaseMonitor.bootService 
(Unknown Source)
         at  
org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentServi 
ce(Unknown Source)
         at  
org.apache.derby.iapi.services.monitor.Monitor.createPersistentService 
(Unknown Source)
         at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase 
(Unknown Source)
         at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown  
Source)
         at org.apache.derby.impl.jdbc.EmbedConnection30.<init> 
(Unknown Source)
         at org.apache.derby.jdbc.Driver30.getNewEmbedConnection 
(Unknown Source)
         at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:193)
         at  
org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnection 
(DatabaseSetup.java:55)
         at  
org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.<init> 
(DatabaseSetup.java:42)
         at  
org.apache.tuscany.das.rdb.test.framework.DerbySetup.<init> 
(DerbySetup.java:26)
         at org.apache.tuscany.das.rdb.test.suites.AllTestsDerby.suite 
(AllTestsDerby.java:30)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at  
org.apache.maven.surefire.battery.JUnitBattery.processTestClass 
(JUnitBattery.java:130)
         at org.apache.maven.surefire.battery.JUnitBattery.<init> 
(JUnitBattery.java:81)
         at org.apache.maven.surefire.SurefireUtils.instantiateBattery 
(SurefireUtils.java:63)
         at org.apache.maven.surefire.Surefire.instantiateBatteries 
(Surefire.java:262)
         at org.apache.maven.surefire.Surefire.run(Surefire.java:140)
         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.maven.surefire.SurefireBooter.runTestsInProcess 
(SurefireBooter.java:285)
         at org.apache.maven.surefire.SurefireBooter.run 
(SurefireBooter.java:201)
         at org.apache.maven.test.SurefirePlugin.execute 
(SurefirePlugin.java:366)
         at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:432)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:530)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
ycle(DefaultLifecycleExecutor.java:472)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:451)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
Failures(DefaultLifecycleExecutor.java:303)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
DefaultLifecycleExecutor.java:270)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java:139)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
322)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at  
org.apache.maven.surefire.battery.JUnitBattery.processTestClass 
(JUnitBattery.java:130)
         at org.apache.maven.surefire.battery.JUnitBattery.<init> 
(JUnitBattery.java:81)
         at org.apache.maven.surefire.SurefireUtils.instantiateBattery 
(SurefireUtils.java:63)
         at org.apache.maven.surefire.Surefire.instantiateBatteries 
(Surefire.java:262)
         at org.apache.maven.surefire.Surefire.run(Surefire.java:140)
         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.maven.surefire.SurefireBooter.runTestsInProcess 
(SurefireBooter.java:285)
         at org.apache.maven.surefire.SurefireBooter.run 
(SurefireBooter.java:201)
         at org.apache.maven.test.SurefirePlugin.execute 
(SurefirePlugin.java:366)
         at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:432)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:530)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
ycle(DefaultLifecycleExecutor.java:472)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:451)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
Failures(DefaultLifecycleExecutor.java:303)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
DefaultLifecycleExecutor.java:270)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java:139)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
322)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.RuntimeException: SQL Exception: Failed to  
create database 'dastest', see the next exception for details.
         at  
org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnection 
(DatabaseSetup.java:61)
         at  
org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.<init> 
(DatabaseSetup.java:42)
         at  
org.apache.tuscany.das.rdb.test.framework.DerbySetup.<init> 
(DerbySetup.java:26)
         at org.apache.tuscany.das.rdb.test.suites.AllTestsDerby.suite 
(AllTestsDerby.java:30)
         ... 35 more
Caused by: SQL Exception: Failed to create database 'dastest', see  
the next exception for details.
         at org.apache.derby.impl.jdbc.Util.newEmbedSQLException 
(Unknown Source)
         at org.apache.derby.impl.jdbc.Util.newEmbedSQLException 
(Unknown Source)
         at org.apache.derby.impl.jdbc.Util.generateCsSQLException 
(Unknown Source)
         at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException 
(Unknown Source)
         at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase 
(Unknown Source)
         at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown  
Source)
         at org.apache.derby.impl.jdbc.EmbedConnection30.<init> 
(Unknown Source)
         at org.apache.derby.jdbc.Driver30.getNewEmbedConnection 
(Unknown Source)
         at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:193)
         at  
org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnection 
(DatabaseSetup.java:55)
         ... 38 more 

Re: build error

Posted by Jeremy Boynes <jb...@apache.org>.
Kevin Williams wrote:
> Jeremy,
> Thanks! Please let me know when 10.1.2.1 is available on the mini repo.

Uploaded and I modified the pom for das/rdb to use it.
--
Jeremy

Re: build error

Posted by Kevin Williams <ke...@qwest.net>.
Jeremy,
Thanks! 
Please let me know when 10.1.2.1 is available on the mini repo.
--Kevin

Jeremy Boynes wrote:

>On 1/24/06, Kevin Williams <ke...@qwest.net> wrote:
>  
>
>>That is good news!  I can take care of the upgrade but I wonder if we
>>should wait until derby 10.1.2.1 is available on ibiblio?  Jeremy, do
>>you have an opinion?
>>    
>>
>
>I can add derby to the mini-repo on my homepage and start the process
>of getting it into ibiblio. Let's go ahead with the upgrade and add
>the mini-repo location to the das pom.xml with a note to remove it
>once derby hits ibiblio.
>
>--
>Jeremy
>
>
>
>  
>



Re: build error

Posted by Jeremy Boynes <jb...@apache.org>.
On 1/24/06, Kevin Williams <ke...@qwest.net> wrote:
> That is good news!  I can take care of the upgrade but I wonder if we
> should wait until derby 10.1.2.1 is available on ibiblio?  Jeremy, do
> you have an opinion?

I can add derby to the mini-repo on my homepage and start the process
of getting it into ibiblio. Let's go ahead with the upgrade and add
the mini-repo location to the das pom.xml with a note to remove it
once derby hits ibiblio.

--
Jeremy

Re: build error

Posted by Kevin Williams <ke...@qwest.net>.
That is good news!  I can take care of the upgrade but I wonder if we 
should wait until derby 10.1.2.1 is available on ibiblio?  Jeremy, do 
you have an opinion?
Thanks,
--Kevin

Jim Marino wrote:

> Hi,
>
> Sorry about the delay.  Upgrading to derby 10.1.2.1 works.  I assume  
> we should rev to use that version.  One thing I had to do was update  
> the das pom to point to that version of derby. Since that is not part  
> of my project area, would someone working on the das be prepared to  
> upgrade?
>
> Jim
>
>
> On Jan 20, 2006, at 3:10 PM, Kevin Williams wrote:
>
>> I cannot duplicate this problem on my OS X box (version 10.4.4).   It 
>> builds and runs fine.
>> Jim, will you have a chance to try Jeremy's suggestion?
>> Thanks,
>> --Kevin
>>
>>
>> Jeremy Boynes wrote:
>>
>>
>>> Jim Marino wrote:
>>>
>>>
>>>> The problem was the issue Jeremy pointed to (http:// 
>>>> issues.apache.org/
>>>> jira/browse/DERBY-1).  I ran into this problem on two separate OS  
>>>> X machines.  A workaround is to set the command line option -
>>>> Dderby.storage.fileSyncTransactionLog=true when running Maven.   
>>>> Ideally,
>>>> we should have some conditional in the build script that  puts  
>>>> this in
>>>> for OS X.  I would normally do this myself, but since  it's not  my 
>>>> area
>>>> and I don't want to break the build, do someone more  familiar  
>>>> want to
>>>> do this?
>>>>
>>>>
>>>>
>>>
>>> Can you try with Derby 10.1.2.1 available from here:
>>> http://db.apache.org/derby/releases/release-10.1.2.1.cgi
>>>
>>> It's not on ibiblio yet so you will need to install the jar in your
>>> local maven repo:
>>> $ mvn install:install-file -Dpackaging=jar - 
>>> DgroupId=org.apache.derby \
>>>  -Dartifact=derby -Dversion=10.1.2.1 -Dfile=${file}
>>>
>>> where ${file} is the derby.jar file from that download.
>>>
>>> If that works it's simpler just to upgrade the Derby version. If not,
>>> can you tell me the version of OSX and JRE so we can document that  for
>>> Derby.
>>>
>>> Thanks
>>> -- 
>>> Jeremy
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>



Re: build error

Posted by Jim Marino <jm...@myroma.net>.
Hi,

Sorry about the delay.  Upgrading to derby 10.1.2.1 works.  I assume  
we should rev to use that version.  One thing I had to do was update  
the das pom to point to that version of derby. Since that is not part  
of my project area, would someone working on the das be prepared to  
upgrade?

Jim


On Jan 20, 2006, at 3:10 PM, Kevin Williams wrote:

> I cannot duplicate this problem on my OS X box (version 10.4.4).   
> It builds and runs fine.
> Jim, will you have a chance to try Jeremy's suggestion?
> Thanks,
> --Kevin
>
>
> Jeremy Boynes wrote:
>
>
>> Jim Marino wrote:
>>
>>
>>> The problem was the issue Jeremy pointed to (http:// 
>>> issues.apache.org/
>>> jira/browse/DERBY-1).  I ran into this problem on two separate OS  
>>> X machines.  A workaround is to set the command line option -
>>> Dderby.storage.fileSyncTransactionLog=true when running Maven.   
>>> Ideally,
>>> we should have some conditional in the build script that  puts  
>>> this in
>>> for OS X.  I would normally do this myself, but since  it's not  
>>> my area
>>> and I don't want to break the build, do someone more  familiar  
>>> want to
>>> do this?
>>>
>>>
>>>
>>
>> Can you try with Derby 10.1.2.1 available from here:
>> http://db.apache.org/derby/releases/release-10.1.2.1.cgi
>>
>> It's not on ibiblio yet so you will need to install the jar in your
>> local maven repo:
>> $ mvn install:install-file -Dpackaging=jar - 
>> DgroupId=org.apache.derby \
>>  -Dartifact=derby -Dversion=10.1.2.1 -Dfile=${file}
>>
>> where ${file} is the derby.jar file from that download.
>>
>> If that works it's simpler just to upgrade the Derby version. If not,
>> can you tell me the version of OSX and JRE so we can document that  
>> for
>> Derby.
>>
>> Thanks
>> --
>> Jeremy
>>
>>
>>
>>
>>
>
>


Re: build error

Posted by Jim Marino <jm...@myroma.net>.
Hi Kevin,

I'll try and do it tonight and see what happens. I'm running 10.4.2  
so that may be the problem.

Jim


On Jan 20, 2006, at 3:10 PM, Kevin Williams wrote:

> I cannot duplicate this problem on my OS X box (version 10.4.4).   
> It builds and runs fine.
> Jim, will you have a chance to try Jeremy's suggestion?
> Thanks,
> --Kevin
>
>
> Jeremy Boynes wrote:
>
>
>> Jim Marino wrote:
>>
>>
>>> The problem was the issue Jeremy pointed to (http:// 
>>> issues.apache.org/
>>> jira/browse/DERBY-1).  I ran into this problem on two separate OS  
>>> X machines.  A workaround is to set the command line option -
>>> Dderby.storage.fileSyncTransactionLog=true when running Maven.   
>>> Ideally,
>>> we should have some conditional in the build script that  puts  
>>> this in
>>> for OS X.  I would normally do this myself, but since  it's not  
>>> my area
>>> and I don't want to break the build, do someone more  familiar  
>>> want to
>>> do this?
>>>
>>>
>>>
>>
>> Can you try with Derby 10.1.2.1 available from here:
>> http://db.apache.org/derby/releases/release-10.1.2.1.cgi
>>
>> It's not on ibiblio yet so you will need to install the jar in your
>> local maven repo:
>> $ mvn install:install-file -Dpackaging=jar - 
>> DgroupId=org.apache.derby \
>>  -Dartifact=derby -Dversion=10.1.2.1 -Dfile=${file}
>>
>> where ${file} is the derby.jar file from that download.
>>
>> If that works it's simpler just to upgrade the Derby version. If not,
>> can you tell me the version of OSX and JRE so we can document that  
>> for
>> Derby.
>>
>> Thanks
>> --
>> Jeremy
>>
>>
>>
>>
>>
>
>


Re: build error

Posted by Kevin Williams <ke...@qwest.net>.
I cannot duplicate this problem on my OS X box (version 10.4.4).  It 
builds and runs fine.
Jim, will you have a chance to try Jeremy's suggestion?
Thanks,
--Kevin


Jeremy Boynes wrote:

>Jim Marino wrote:
>  
>
>>The problem was the issue Jeremy pointed to (http://issues.apache.org/
>>jira/browse/DERBY-1).  I ran into this problem on two separate OS X 
>>machines.  A workaround is to set the command line option -
>>Dderby.storage.fileSyncTransactionLog=true when running Maven.  Ideally,
>>we should have some conditional in the build script that  puts this in
>>for OS X.  I would normally do this myself, but since  it's not my area
>>and I don't want to break the build, do someone more  familiar want to
>>do this?
>>
>>    
>>
>
>Can you try with Derby 10.1.2.1 available from here:
>http://db.apache.org/derby/releases/release-10.1.2.1.cgi
>
>It's not on ibiblio yet so you will need to install the jar in your
>local maven repo:
>$ mvn install:install-file -Dpackaging=jar -DgroupId=org.apache.derby \
>  -Dartifact=derby -Dversion=10.1.2.1 -Dfile=${file}
>
>where ${file} is the derby.jar file from that download.
>
>If that works it's simpler just to upgrade the Derby version. If not,
>can you tell me the version of OSX and JRE so we can document that for
>Derby.
>
>Thanks
>--
>Jeremy
>
>
>
>  
>



Re: build error

Posted by Jeremy Boynes <jb...@apache.org>.
mvn install:install-file -Dpackaging=jar -DgroupId=org.apache.derby
-DartifactId=derby -Dversion=10.1.2.1 -Dfile=derby.jar

--
Jeremy

Re: build error

Posted by Jim Marino <jm...@myroma.net>.
Quick question, I run the following and get an error message:

mvn install:install-file -Dpackaging=jar -DgroupId=org.apache.derby - 
Dartifact=derby -Dversion=10.1.2.1 -Dfile=derby.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO]  
------------------------------------------------------------------------ 
----
[INFO] Building Maven Default Project
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO]  
------------------------------------------------------------------------ 
----
[INFO]  
------------------------------------------------------------------------ 
----
[ERROR] BUILD ERROR
[INFO]  
------------------------------------------------------------------------ 
----
[INFO] One or more required plugin parameters are invalid/missing for  
'install:install-file'

[0] on the command line, specify: '-DartifactId=VALUE'


Do you know what artifactId I need to specify?

Jim


On Jan 19, 2006, at 7:43 PM, Jeremy Boynes wrote:

> Jim Marino wrote:
>
>> The problem was the issue Jeremy pointed to (http:// 
>> issues.apache.org/
>> jira/browse/DERBY-1).  I ran into this problem on two separate OS X
>> machines.  A workaround is to set the command line option -
>> Dderby.storage.fileSyncTransactionLog=true when running Maven.   
>> Ideally,
>> we should have some conditional in the build script that  puts  
>> this in
>> for OS X.  I would normally do this myself, but since  it's not my  
>> area
>> and I don't want to break the build, do someone more  familiar  
>> want to
>> do this?
>>
>>
>
> Can you try with Derby 10.1.2.1 available from here:
> http://db.apache.org/derby/releases/release-10.1.2.1.cgi
>
> It's not on ibiblio yet so you will need to install the jar in your
> local maven repo:
> $ mvn install:install-file -Dpackaging=jar - 
> DgroupId=org.apache.derby \
>   -Dartifact=derby -Dversion=10.1.2.1 -Dfile=${file}
>
> where ${file} is the derby.jar file from that download.
>
> If that works it's simpler just to upgrade the Derby version. If not,
> can you tell me the version of OSX and JRE so we can document that for
> Derby.
>
> Thanks
> --
> Jeremy
>


Re: build error

Posted by Jeremy Boynes <jb...@apache.org>.
Jim Marino wrote:
> The problem was the issue Jeremy pointed to (http://issues.apache.org/
> jira/browse/DERBY-1).  I ran into this problem on two separate OS X 
> machines.  A workaround is to set the command line option -
> Dderby.storage.fileSyncTransactionLog=true when running Maven.  Ideally,
> we should have some conditional in the build script that  puts this in
> for OS X.  I would normally do this myself, but since  it's not my area
> and I don't want to break the build, do someone more  familiar want to
> do this?
> 

Can you try with Derby 10.1.2.1 available from here:
http://db.apache.org/derby/releases/release-10.1.2.1.cgi

It's not on ibiblio yet so you will need to install the jar in your
local maven repo:
$ mvn install:install-file -Dpackaging=jar -DgroupId=org.apache.derby \
  -Dartifact=derby -Dversion=10.1.2.1 -Dfile=${file}

where ${file} is the derby.jar file from that download.

If that works it's simpler just to upgrade the Derby version. If not,
can you tell me the version of OSX and JRE so we can document that for
Derby.

Thanks
--
Jeremy

Re: build error

Posted by Jim Marino <jm...@myroma.net>.
The problem was the issue Jeremy pointed to (http://issues.apache.org/ 
jira/browse/DERBY-1).  I ran into this problem on two separate OS X  
machines.  A workaround is to set the command line option - 
Dderby.storage.fileSyncTransactionLog=true when running Maven.  
Ideally, we should have some conditional in the build script that  
puts this in for OS X.  I would normally do this myself, but since  
it's not my area and I don't want to break the build, do someone more  
familiar want to do this?

I should have included the Derby log in the original.  Here is the  
culprit:

----------------------------------------------------------------
2006-01-19 22:25:56.499 GMT:
Booting Derby version The Apache Software Foundation - Apache Derby -  
10.1.1.0 - (208786): instance c013800d-0108-e4c6-2217-ffffcb7e7191
on database directory /Users/jmarino/workspace/tuscany/tuscany/ 
tuscany/java/target/dastest


2006-01-19 22:25:56.632 GMT:
Shutting down instance c013800d-0108-e4c6-2217-ffffcb7e7191
----------------------------------------------------------------
2006-01-19 22:25:56.675 GMT Thread[main,5,main] Cleanup action starting
ERROR XBM01: Startup failed due to an exception. See next exception  
for details.
     at org.apache.derby.iapi.error.StandardException.newException 
(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule 
(Unknown Source)
     at org.apache.derby.impl.store.raw.log.LogToFile.boot(Unknown  
Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
     at  
org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory( 
Unknown Source)
     at  
org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFact 
ory(Unknown Source)
     at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
     at org.apache.derby.impl.store.access.RAMAccessManager.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
     at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
     at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService 
(Unknown Source)
     at  
org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentServi 
ce(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.createPersistentService 
(Unknown Source)
     at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase 
(Unknown Source)
     at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown  
Source)
     at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown  
Source)
     at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown  
Source)
     at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
     at java.sql.DriverManager.getConnection(DriverManager.java:525)
     at java.sql.DriverManager.getConnection(DriverManager.java:193)
     at  
org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnection 
(DatabaseSetup.java:55)
     at org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.<init> 
(DatabaseSetup.java:42)
     at org.apache.tuscany.das.rdb.test.framework.DerbySetup.<init> 
(DerbySetup.java:26)
     at org.apache.tuscany.das.rdb.test.suites.AllTestsDerby.suite 
(AllTestsDerby.java:30)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at  
org.apache.maven.surefire.battery.JUnitBattery.processTestClass 
(JUnitBattery.java:130)
     at org.apache.maven.surefire.battery.JUnitBattery.<init> 
(JUnitBattery.java:81)
     at org.apache.maven.surefire.SurefireUtils.instantiateBattery 
(SurefireUtils.java:63)
     at org.apache.maven.surefire.Surefire.instantiateBatteries 
(Surefire.java:262)
     at org.apache.maven.surefire.Surefire.run(Surefire.java:140)
     at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.maven.surefire.SurefireBooter.runTestsInProcess 
(SurefireBooter.java:285)
     at org.apache.maven.surefire.SurefireBooter.run 
(SurefireBooter.java:201)
     at org.apache.maven.test.SurefirePlugin.execute 
(SurefirePlugin.java:366)
     at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:432)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:530)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
ycle(DefaultLifecycleExecutor.java:472)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:451)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
Failures(DefaultLifecycleExecutor.java:303)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
DefaultLifecycleExecutor.java:270)
     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java:139)
     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
     at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
     at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)
     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
============= begin nested exception, level (1) ===========
java.io.FileNotFoundException: /Users/jmarino/workspace/tuscany/ 
tuscany/tuscany/java/target/dastest/log/log1.dat (File exists)
     at java.io.RandomAccessFile.open(Native Method)
     at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
     at org.apache.derby.impl.io.DirRandomAccessFile.<init>(Unknown  
Source)
     at org.apache.derby.impl.io.DirRandomAccessFile4.<init>(Unknown  
Source)
     at org.apache.derby.impl.io.DirFile4.getRandomAccessFile(Unknown  
Source)
     at org.apache.derby.impl.store.raw.log.LogToFile.run(Unknown  
Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at  
org.apache.derby.impl.store.raw.log.LogToFile.privRandomAccessFile 
(Unknown Source)
     at org.apache.derby.impl.store.raw.log.LogToFile.boot(Unknown  
Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
     at  
org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory( 
Unknown Source)
     at  
org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFact 
ory(Unknown Source)
     at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
     at org.apache.derby.impl.store.access.RAMAccessManager.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
(Unknown Source)
     at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
     at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule 
(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService 
(Unknown Source)
     at  
org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentServi 
ce(Unknown Source)
     at  
org.apache.derby.iapi.services.monitor.Monitor.createPersistentService 
(Unknown Source)
     at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase 
(Unknown Source)
     at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown  
Source)
     at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown  
Source)
     at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown  
Source)
     at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
     at java.sql.DriverManager.getConnection(DriverManager.java:525)
     at java.sql.DriverManager.getConnection(DriverManager.java:193)
     at  
org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnection 
(DatabaseSetup.java:55)
     at org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.<init> 
(DatabaseSetup.java:42)
     at org.apache.tuscany.das.rdb.test.framework.DerbySetup.<init> 
(DerbySetup.java:26)
     at org.apache.tuscany.das.rdb.test.suites.AllTestsDerby.suite 
(AllTestsDerby.java:30)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at  
org.apache.maven.surefire.battery.JUnitBattery.processTestClass 
(JUnitBattery.java:130)
     at org.apache.maven.surefire.battery.JUnitBattery.<init> 
(JUnitBattery.java:81)
     at org.apache.maven.surefire.SurefireUtils.instantiateBattery 
(SurefireUtils.java:63)
     at org.apache.maven.surefire.Surefire.instantiateBatteries 
(Surefire.java:262)
     at org.apache.maven.surefire.Surefire.run(Surefire.java:140)
     at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.maven.surefire.SurefireBooter.runTestsInProcess 
(SurefireBooter.java:285)
     at org.apache.maven.surefire.SurefireBooter.run 
(SurefireBooter.java:201)
     at org.apache.maven.test.SurefirePlugin.execute 
(SurefirePlugin.java:366)
     at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:432)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:530)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
ycle(DefaultLifecycleExecutor.java:472)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:451)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
Failures(DefaultLifecycleExecutor.java:303)
     at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
DefaultLifecycleExecutor.java:270)
     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java:139)
     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
     at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
     at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)
     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
============= end nested exception, level (1) ===========
Cleanup action completed


On Jan 19, 2006, at 12:44 PM, Kevin Williams wrote:

> I built and ran the unit tests successfully on OS X about a month  
> ago with no problems; not recently though.  Can you provide the  
> last 38 lines of the stack trace?  Is there any chance that a  
> previous execution of the build had not completed?
> --Kevin
>
> Jim Marino wrote:
>
>
>> When I run maven from 'java', I get the following failure on OS  
>> X.   Is this something people know about?
>>
>> [INFO]   
>> --------------------------------------------------------------------- 
>> --- ----
>> [INFO] Building Tuscany DAS for Relational Databases
>> [INFO]    task-segment: [install]
>> [INFO]   
>> --------------------------------------------------------------------- 
>> --- ----
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO] [resources:testResources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:testCompile]
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO] [surefire:test]
>> [INFO] Setting reports dir: /Users/jmarino/workspace/tuscany/ 
>> tuscany/ tuscany/java/das/rdb/target/surefire-reports
>>
>> -------------------------------------------------------
>> T E S T S
>> -------------------------------------------------------
>> ERROR XBM01: Startup failed due to an exception. See next  
>> exception  for details.
>>         at  
>> org.apache.derby.iapi.error.StandardException.newException  
>> (Unknown Source)
>>         at   
>> org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModul 
>> e (Unknown Source)
>>         at org.apache.derby.impl.store.raw.log.LogToFile.boot  
>> (Unknown Source)
>>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot  
>> (Unknown Source)
>>         at   
>> org.apache.derby.impl.services.monitor.TopService.bootModule 
>> (Unknown  Source)
>>         at   
>> org.apache.derby.impl.services.monitor.BaseMonitor.startModule  
>> (Unknown Source)
>>         at   
>> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule  
>> (Unknown Source)
>>         at   
>> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFacto 
>> ry( Unknown Source)
>>         at   
>> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreF 
>> act ory(Unknown Source)
>>         at org.apache.derby.impl.store.raw.RawStore.boot(Unknown   
>> Source)
>>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot  
>> (Unknown Source)
>>         at   
>> org.apache.derby.impl.services.monitor.TopService.bootModule 
>> (Unknown  Source)
>>         at   
>> org.apache.derby.impl.services.monitor.BaseMonitor.startModule  
>> (Unknown Source)
>>         at   
>> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule  
>> (Unknown Source)
>>         at  
>> org.apache.derby.impl.store.access.RAMAccessManager.boot (Unknown  
>> Source)
>>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot  
>> (Unknown Source)
>>         at   
>> org.apache.derby.impl.services.monitor.TopService.bootModule 
>> (Unknown  Source)
>>         at   
>> org.apache.derby.impl.services.monitor.BaseMonitor.startModule  
>> (Unknown Source)
>>         at   
>> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule  
>> (Unknown Source)
>>         at org.apache.derby.impl.db.BasicDatabase.bootStore 
>> (Unknown  Source)
>>         at org.apache.derby.impl.db.BasicDatabase.boot(Unknown  
>> Source)
>>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot  
>> (Unknown Source)
>>         at   
>> org.apache.derby.impl.services.monitor.TopService.bootModule 
>> (Unknown  Source)
>>         at   
>> org.apache.derby.impl.services.monitor.BaseMonitor.bootService  
>> (Unknown Source)
>>         at   
>> org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentSe 
>> rvi ce(Unknown Source)
>>         at   
>> org.apache.derby.iapi.services.monitor.Monitor.createPersistentServic 
>> e (Unknown Source)
>>         at  
>> org.apache.derby.impl.jdbc.EmbedConnection.createDatabase (Unknown  
>> Source)
>>         at org.apache.derby.impl.jdbc.EmbedConnection.<init> 
>> (Unknown  Source)
>>         at org.apache.derby.impl.jdbc.EmbedConnection30.<init>  
>> (Unknown Source)
>>         at org.apache.derby.jdbc.Driver30.getNewEmbedConnection  
>> (Unknown Source)
>>         at org.apache.derby.jdbc.InternalDriver.connect(Unknown  
>> Source)
>>         at java.sql.DriverManager.getConnection(DriverManager.java: 
>> 525)
>>         at java.sql.DriverManager.getConnection(DriverManager.java: 
>> 193)
>>         at   
>> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnectio 
>> n (DatabaseSetup.java:55)
>>         at   
>> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.<init>  
>> (DatabaseSetup.java:42)
>>         at   
>> org.apache.tuscany.das.rdb.test.framework.DerbySetup.<init>  
>> (DerbySetup.java:26)
>>         at  
>> org.apache.tuscany.das.rdb.test.suites.AllTestsDerby.suite  
>> (AllTestsDerby.java:30)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke  
>> (NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke  
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at   
>> org.apache.maven.surefire.battery.JUnitBattery.processTestClass  
>> (JUnitBattery.java:130)
>>         at org.apache.maven.surefire.battery.JUnitBattery.<init>  
>> (JUnitBattery.java:81)
>>         at  
>> org.apache.maven.surefire.SurefireUtils.instantiateBattery  
>> (SurefireUtils.java:63)
>>         at org.apache.maven.surefire.Surefire.instantiateBatteries  
>> (Surefire.java:262)
>>         at org.apache.maven.surefire.Surefire.run(Surefire.java:140)
>>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke  
>> (NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke  
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at  
>> org.apache.maven.surefire.SurefireBooter.runTestsInProcess  
>> (SurefireBooter.java:285)
>>         at org.apache.maven.surefire.SurefireBooter.run  
>> (SurefireBooter.java:201)
>>         at org.apache.maven.test.SurefirePlugin.execute  
>> (SurefirePlugin.java:366)
>>         at  
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo  
>> (DefaultPluginManager.java:432)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals  
>> (DefaultLifecycleExecutor.java:530)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi 
>> fec ycle(DefaultLifecycleExecutor.java:472)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal  
>> (DefaultLifecycleExecutor.java:451)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan 
>> dle Failures(DefaultLifecycleExecutor.java:303)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen 
>> ts( DefaultLifecycleExecutor.java:270)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute  
>> (DefaultLifecycleExecutor.java:139)
>>         at org.apache.maven.DefaultMaven.doExecute 
>> (DefaultMaven.java: 322)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
>> 115)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke  
>> (NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke  
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at org.codehaus.classworlds.Launcher.launchEnhanced  
>> (Launcher.java:315)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java: 
>> 255)
>>         at org.codehaus.classworlds.Launcher.mainWithExitCode  
>> (Launcher.java:430)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> java.lang.reflect.InvocationTargetException
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke  
>> (NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke  
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at   
>> org.apache.maven.surefire.battery.JUnitBattery.processTestClass  
>> (JUnitBattery.java:130)
>>         at org.apache.maven.surefire.battery.JUnitBattery.<init>  
>> (JUnitBattery.java:81)
>>         at  
>> org.apache.maven.surefire.SurefireUtils.instantiateBattery  
>> (SurefireUtils.java:63)
>>         at org.apache.maven.surefire.Surefire.instantiateBatteries  
>> (Surefire.java:262)
>>         at org.apache.maven.surefire.Surefire.run(Surefire.java:140)
>>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke  
>> (NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke  
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at  
>> org.apache.maven.surefire.SurefireBooter.runTestsInProcess  
>> (SurefireBooter.java:285)
>>         at org.apache.maven.surefire.SurefireBooter.run  
>> (SurefireBooter.java:201)
>>         at org.apache.maven.test.SurefirePlugin.execute  
>> (SurefirePlugin.java:366)
>>         at  
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo  
>> (DefaultPluginManager.java:432)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals  
>> (DefaultLifecycleExecutor.java:530)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi 
>> fec ycle(DefaultLifecycleExecutor.java:472)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal  
>> (DefaultLifecycleExecutor.java:451)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan 
>> dle Failures(DefaultLifecycleExecutor.java:303)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen 
>> ts( DefaultLifecycleExecutor.java:270)
>>         at   
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute  
>> (DefaultLifecycleExecutor.java:139)
>>         at org.apache.maven.DefaultMaven.doExecute 
>> (DefaultMaven.java: 322)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
>> 115)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke  
>> (NativeMethodAccessorImpl.java:39)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke  
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at org.codehaus.classworlds.Launcher.launchEnhanced  
>> (Launcher.java:315)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java: 
>> 255)
>>         at org.codehaus.classworlds.Launcher.mainWithExitCode  
>> (Launcher.java:430)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: java.lang.RuntimeException: SQL Exception: Failed to   
>> create database 'dastest', see the next exception for details.
>>         at   
>> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnectio 
>> n (DatabaseSetup.java:61)
>>         at   
>> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.<init>  
>> (DatabaseSetup.java:42)
>>         at   
>> org.apache.tuscany.das.rdb.test.framework.DerbySetup.<init>  
>> (DerbySetup.java:26)
>>         at  
>> org.apache.tuscany.das.rdb.test.suites.AllTestsDerby.suite  
>> (AllTestsDerby.java:30)
>>         ... 35 more
>> Caused by: SQL Exception: Failed to create database 'dastest',  
>> see  the next exception for details.
>>         at org.apache.derby.impl.jdbc.Util.newEmbedSQLException  
>> (Unknown Source)
>>         at org.apache.derby.impl.jdbc.Util.newEmbedSQLException  
>> (Unknown Source)
>>         at org.apache.derby.impl.jdbc.Util.generateCsSQLException  
>> (Unknown Source)
>>         at  
>> org.apache.derby.impl.jdbc.EmbedConnection.newSQLException  
>> (Unknown Source)
>>         at  
>> org.apache.derby.impl.jdbc.EmbedConnection.createDatabase (Unknown  
>> Source)
>>         at org.apache.derby.impl.jdbc.EmbedConnection.<init> 
>> (Unknown  Source)
>>         at org.apache.derby.impl.jdbc.EmbedConnection30.<init>  
>> (Unknown Source)
>>         at org.apache.derby.jdbc.Driver30.getNewEmbedConnection  
>> (Unknown Source)
>>         at org.apache.derby.jdbc.InternalDriver.connect(Unknown  
>> Source)
>>         at java.sql.DriverManager.getConnection(DriverManager.java: 
>> 525)
>>         at java.sql.DriverManager.getConnection(DriverManager.java: 
>> 193)
>>         at   
>> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnectio 
>> n (DatabaseSetup.java:55)
>>         ... 38 more
>>
>>
>>
>
>


Re: build error

Posted by Kevin Williams <ke...@qwest.net>.
I built and ran the unit tests successfully on OS X about a month ago 
with no problems; not recently though.  Can you provide the last 38 
lines of the stack trace?  Is there any chance that a previous execution 
of the build had not completed?
--Kevin

Jim Marino wrote:

> When I run maven from 'java', I get the following failure on OS X.   
> Is this something people know about?
>
> [INFO]  
> ------------------------------------------------------------------------ 
> ----
> [INFO] Building Tuscany DAS for Relational Databases
> [INFO]    task-segment: [install]
> [INFO]  
> ------------------------------------------------------------------------ 
> ----
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Setting reports dir: /Users/jmarino/workspace/tuscany/tuscany/ 
> tuscany/java/das/rdb/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> ERROR XBM01: Startup failed due to an exception. See next exception  
> for details.
>         at org.apache.derby.iapi.error.StandardException.newException 
> (Unknown Source)
>         at  
> org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule 
> (Unknown Source)
>         at org.apache.derby.impl.store.raw.log.LogToFile.boot (Unknown 
> Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
> (Unknown Source)
>         at  
> org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown  
> Source)
>         at  
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
> (Unknown Source)
>         at  
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
> (Unknown Source)
>         at  
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory( 
> Unknown Source)
>         at  
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFact 
> ory(Unknown Source)
>         at org.apache.derby.impl.store.raw.RawStore.boot(Unknown  Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
> (Unknown Source)
>         at  
> org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown  
> Source)
>         at  
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
> (Unknown Source)
>         at  
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
> (Unknown Source)
>         at org.apache.derby.impl.store.access.RAMAccessManager.boot 
> (Unknown Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
> (Unknown Source)
>         at  
> org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown  
> Source)
>         at  
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule 
> (Unknown Source)
>         at  
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule 
> (Unknown Source)
>         at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown  
> Source)
>         at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.boot 
> (Unknown Source)
>         at  
> org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown  
> Source)
>         at  
> org.apache.derby.impl.services.monitor.BaseMonitor.bootService 
> (Unknown Source)
>         at  
> org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentServi 
> ce(Unknown Source)
>         at  
> org.apache.derby.iapi.services.monitor.Monitor.createPersistentService 
> (Unknown Source)
>         at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase 
> (Unknown Source)
>         at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown  
> Source)
>         at org.apache.derby.impl.jdbc.EmbedConnection30.<init> 
> (Unknown Source)
>         at org.apache.derby.jdbc.Driver30.getNewEmbedConnection 
> (Unknown Source)
>         at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
>         at java.sql.DriverManager.getConnection(DriverManager.java:525)
>         at java.sql.DriverManager.getConnection(DriverManager.java:193)
>         at  
> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnection 
> (DatabaseSetup.java:55)
>         at  
> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.<init> 
> (DatabaseSetup.java:42)
>         at  
> org.apache.tuscany.das.rdb.test.framework.DerbySetup.<init> 
> (DerbySetup.java:26)
>         at org.apache.tuscany.das.rdb.test.suites.AllTestsDerby.suite 
> (AllTestsDerby.java:30)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at  
> org.apache.maven.surefire.battery.JUnitBattery.processTestClass 
> (JUnitBattery.java:130)
>         at org.apache.maven.surefire.battery.JUnitBattery.<init> 
> (JUnitBattery.java:81)
>         at org.apache.maven.surefire.SurefireUtils.instantiateBattery 
> (SurefireUtils.java:63)
>         at org.apache.maven.surefire.Surefire.instantiateBatteries 
> (Surefire.java:262)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:140)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.SurefireBooter.runTestsInProcess 
> (SurefireBooter.java:285)
>         at org.apache.maven.surefire.SurefireBooter.run 
> (SurefireBooter.java:201)
>         at org.apache.maven.test.SurefirePlugin.execute 
> (SurefirePlugin.java:366)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
> (DefaultPluginManager.java:432)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:530)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
> ycle(DefaultLifecycleExecutor.java:472)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
> (DefaultLifecycleExecutor.java:451)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
> Failures(DefaultLifecycleExecutor.java:303)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
> DefaultLifecycleExecutor.java:270)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
> (DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced 
> (Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode 
> (Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at  
> org.apache.maven.surefire.battery.JUnitBattery.processTestClass 
> (JUnitBattery.java:130)
>         at org.apache.maven.surefire.battery.JUnitBattery.<init> 
> (JUnitBattery.java:81)
>         at org.apache.maven.surefire.SurefireUtils.instantiateBattery 
> (SurefireUtils.java:63)
>         at org.apache.maven.surefire.Surefire.instantiateBatteries 
> (Surefire.java:262)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:140)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.SurefireBooter.runTestsInProcess 
> (SurefireBooter.java:285)
>         at org.apache.maven.surefire.SurefireBooter.run 
> (SurefireBooter.java:201)
>         at org.apache.maven.test.SurefirePlugin.execute 
> (SurefirePlugin.java:366)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
> (DefaultPluginManager.java:432)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:530)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
> ycle(DefaultLifecycleExecutor.java:472)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
> (DefaultLifecycleExecutor.java:451)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
> Failures(DefaultLifecycleExecutor.java:303)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
> DefaultLifecycleExecutor.java:270)
>         at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
> (DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced 
> (Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode 
> (Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.RuntimeException: SQL Exception: Failed to  
> create database 'dastest', see the next exception for details.
>         at  
> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnection 
> (DatabaseSetup.java:61)
>         at  
> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.<init> 
> (DatabaseSetup.java:42)
>         at  
> org.apache.tuscany.das.rdb.test.framework.DerbySetup.<init> 
> (DerbySetup.java:26)
>         at org.apache.tuscany.das.rdb.test.suites.AllTestsDerby.suite 
> (AllTestsDerby.java:30)
>         ... 35 more
> Caused by: SQL Exception: Failed to create database 'dastest', see  
> the next exception for details.
>         at org.apache.derby.impl.jdbc.Util.newEmbedSQLException 
> (Unknown Source)
>         at org.apache.derby.impl.jdbc.Util.newEmbedSQLException 
> (Unknown Source)
>         at org.apache.derby.impl.jdbc.Util.generateCsSQLException 
> (Unknown Source)
>         at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException 
> (Unknown Source)
>         at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase 
> (Unknown Source)
>         at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown  
> Source)
>         at org.apache.derby.impl.jdbc.EmbedConnection30.<init> 
> (Unknown Source)
>         at org.apache.derby.jdbc.Driver30.getNewEmbedConnection 
> (Unknown Source)
>         at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
>         at java.sql.DriverManager.getConnection(DriverManager.java:525)
>         at java.sql.DriverManager.getConnection(DriverManager.java:193)
>         at  
> org.apache.tuscany.das.rdb.test.framework.DatabaseSetup.initConnection 
> (DatabaseSetup.java:55)
>         ... 38 more
>
>



Re: build error

Posted by Jeremy Boynes <jb...@apache.org>.
On 1/19/06, Jim Marino <jm...@myroma.net> wrote:
> When I run maven from 'java', I get the following failure on OS X.
> Is this something people know about?
>

No. I built this morning on WinXP for the first time in a while and
did not have any issues.
Derby used to have problems on OSX. There was a workaround that
required setting a system property and I thought it was fixed in newer
versions of Derby/Mac JRE

See: http://issues.apache.org/jira/browse/DERBY-1

--
Jeremy