You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Joep Simons <jo...@me.com> on 2011/04/11 21:20:53 UTC

Can't get hellopjpa from examples working.

Hello,

I downloaded apache-openjpa-2.1.0 in order to try it out, starting with a
simple example. Unfortunately I cannot get the simple hellojpa example from
the examples working. I use apple snow-leopard (java 1.6.0_24)
 

I am not sure if I am posting in the right forum since I am totally new to
openjpa. On the other hand, I get the same error when trying my own 'demo'
project, so I am quite stuck right now. 

Thanks in advance

best regards,
Joep

hellojpa simons$ ant
Buildfile:
/Users/simons/Downloads/apache-openjpa-2.1.0/examples/simple/hellojpa/build.xml

pre-compile:

compile:
    [javac]
/Users/simons/Downloads/apache-openjpa-2.1.0/examples/simple/build.xml:104:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds

run:
     [java] Exception in thread "main" 
org.apache.openjpa.persistence.PersistenceException: Already closed.
     [java] 	at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:558)
     [java] 	at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:456)
     [java] 	at
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
     [java] 	at
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
     [java] 	at
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
     [java] 	at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:210)
     [java] 	at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
     [java] 	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
     [java] 	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
     [java] 	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
     [java] 	at hellojpa.Main.main(Main.java:43)
     [java] Caused by: java.sql.SQLException: Already closed.
     [java] 	at
org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:114)
     [java] 	at
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:191)
     [java] 	at
org.apache.openjpa.lib.jdbc.DelegatingConnection.close(DelegatingConnection.java:205)
     [java] 	at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.close(LoggingConnectionDecorator.java:431)
     [java] 	at
org.apache.openjpa.lib.jdbc.DelegatingConnection.close(DelegatingConnection.java:205)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaGenerator.closeConn(SchemaGenerator.java:1072)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaGenerator.generateSchemas(SchemaGenerator.java:327)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaTool.getDBSchemaGroup(SchemaTool.java:1163)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:363)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:340)
     [java] 	at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505)
     [java] 	... 10 more

BUILD FAILED
/Users/simons/Downloads/apache-openjpa-2.1.0/examples/simple/build.xml:115:
Java returned: 1

Total time: 5 seconds
:hellojpa simons$ 


--
View this message in context: http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6262603.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Can't get hellopjpa from examples working.

Posted by Michael Dick <mi...@gmail.com>.
Hi again,

I'm glad you're making progress, but I'm stumped as to why you're seeing
version 2.1.0 in the error. I was expecting to see something obvious on the
classpath but if it's there I've missed it.

Maybe someone on the list who also has a mac can chime in?
-mike

On Thu, Apr 21, 2011 at 2:52 AM, Joep Simons <jo...@me.com> wrote:

> Hi,
>
> I got the following output:
>
> On another note: The exception disappeared in my 'test-code' when I added a
> second @entity object with a relation to the first. Not sure if that means
> something, but at least I can continue.
>
> buildfile:
>
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/build.xml
>
> pre-compile:
>
> compile:
>    [javac]
>
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/build.xml:104:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>
> run:
>      [echo]  =============================================
>     [echo]  javaagent:
>
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/openjpa-2.2.0-20110415.075847-49.jar
>     [echo]  parent   :
>
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/..
>     [echo]  root     :
>
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/../../..
>     [echo]  myCp     :
>
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple:/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/lib/derby-10.5.3.0_1.jar:/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/openjpa-all-2.2.0-SNAPSHOT.jar
>     [echo]  =============================================
>      [java] Exception in thread "main" <openjpa-2.1.0-r422266:1071316
> nonfatal general error>
> org.apache.openjpa.persistence.PersistenceException:
> Already closed.
>     [java]     at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:558)
>     [java]     at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6293513.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

Re: Can't get hellopjpa from examples working.

Posted by J Grassel <fy...@gmail.com>.
It looks like Apple's implementation of sun.security.pkcs11.SunPKCS11 is different from the version that the accompanying build of Derby has been built against, resulting in an incompatibility.  I downloaded a copy of the build and ran it on my mac, and instantly reproduced the problem.  Looking in the derby log, I spotted this LinkageError:

Database Class Loader started - derby.database.classpath=''
2011-05-10 15:56:30.053 GMT Thread[main,5,main] (XID = 146), (SESSIONID = 3), (DATABASE = /Users/jgrassel/Downloads/apache-openjpa-2.1.0/examples/simple/hellojpa/hellojpa-database), (DRDAID = null), Cleanup action starting
2011-05-10 15:56:30.053 GMT Thread[main,5,main] (XID = 146), (SESSIONID = 3), (DATABASE = /Users/jgrassel/Downloads/apache-openjpa-2.1.0/examples/simple/hellojpa/hellojpa-database), (DRDAID = null), Failed Statement is: EXECUTE STATEMENT SYS."getColumns"
java.lang.LinkageError: loader (instance of  sun/misc/Launcher$ExtClassLoader): attempted  duplicate class definition for name: "sun/security/pkcs11/SunPKCS11"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[big snip]

Now, Apple ships a copy of derby with Snow Leopard, it's in /usr/share/derby.  I modified the build.xml to use that version of derby instead of the version that comes with the openjpa zip file:

[starting at line 79 in examples/simple/build.xml:]
        <fileset dir="${root}">
            <include name="openjpa-all-*.jar"/>
            <!-- <include name="lib/derby*.jar"/> -->
        </fileset>
        <fileset dir="/usr/share/derby">
            <include name="lib/derby*.jar"/>
        </fileset>

With that classpath modification, the sample started to work.

On Apr 21, 2011, at 2:52 AM, Joep Simons wrote:

> Hi,
> 
> I got the following output:
> 
> On another note: The exception disappeared in my 'test-code' when I added a
> second @entity object with a relation to the first. Not sure if that means
> something, but at least I can continue. 
> 
> buildfile:
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/build.xml
> 
> pre-compile:
> 
> compile:
>    [javac]
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/build.xml:104:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> 
> run:
>     [echo]  ============================================= 
>     [echo]  javaagent:
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/openjpa-2.2.0-20110415.075847-49.jar 
>     [echo]  parent   :
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/.. 
>     [echo]  root     :
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/../../.. 
>     [echo]  myCp     :
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple:/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/lib/derby-10.5.3.0_1.jar:/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/openjpa-all-2.2.0-SNAPSHOT.jar 
>     [echo]  ============================================= 
>     [java] Exception in thread "main" <openjpa-2.1.0-r422266:1071316
> nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
> Already closed.
>     [java] 	at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:558)
>     [java] 	at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:
> 
> --
> View this message in context: http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6293513.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.


Re: Can't get hellopjpa from examples working.

Posted by Joep Simons <jo...@me.com>.
Hi,

I got the following output:

On another note: The exception disappeared in my 'test-code' when I added a
second @entity object with a relation to the first. Not sure if that means
something, but at least I can continue. 

buildfile:
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/build.xml

pre-compile:

compile:
    [javac]
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/build.xml:104:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds

run:
     [echo]  ============================================= 
     [echo]  javaagent:
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/openjpa-2.2.0-20110415.075847-49.jar 
     [echo]  parent   :
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/.. 
     [echo]  root     :
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/../../.. 
     [echo]  myCp     :
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple:/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/lib/derby-10.5.3.0_1.jar:/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/openjpa-all-2.2.0-SNAPSHOT.jar 
     [echo]  ============================================= 
     [java] Exception in thread "main" <openjpa-2.1.0-r422266:1071316
nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
Already closed.
     [java] 	at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:558)
     [java] 	at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:

--
View this message in context: http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6293513.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Can't get hellopjpa from examples working.

Posted by Michael Dick <mi...@gmail.com>.
Hi Joep,

Can you modify the build.xml file in the simple directory with this (it
should go right after the tag for <target name="run"...>. It's line 113 in
my copy.

        <property name="myClasspath" refid="classpath"/>
        <echo> ============================================= </echo>
        <echo> javaagent: ${javaagent} </echo>
        <echo> parent   : ${parent} </echo>
        <echo> root     : ${root} </echo>
        <echo> myCp     : ${myClasspath} </echo>
        <echo> ============================================= </echo>

The output should look something like this
run:
     [echo]
 ===============================================================================
     [echo]  javaagent:
/home/mikedd/apache-openjpa-2.2.0-SNAPSHOT/openjpa-2.2.0-SNAPSHOT.jar
     [echo]  parent   :
/home/mikedd/apache-openjpa-2.2.0-SNAPSHOT/examples/simple
     [echo]  root     : /home/mikedd/apache-openjpa-2.2.0-SNAPSHOT
     [echo]  myCp     :
/home/mikedd/apache-openjpa-2.2.0-SNAPSHOT/examples/simple:/home/mikedd/apache-openjpa-2.2.0-SNAPSHOT/lib/derby-10.5.3.0_1.jar:/home/mikedd/apache-openjpa-2.2.0-SNAPSHOT/openjpa-all-2.2.0-SNAPSHOT.jar
     [echo]
 ===============================================================================

It looks like you're loading a different version. Running ant -v might also
help but there'll be a lot of data to parse through.

-mike

On Mon, Apr 18, 2011 at 1:42 PM, Joep Simons <jo...@me.com> wrote:

> hi,
>
> I tried it and it still gives the same error. What I find strange is that
> the 'relations' demo does work, although it looks quite the same as the
> hellojpa demo. Another thing is that it gives the build from the 2.1
> version
> in the exception description.
>
> best regards,
>
>   Joep
>
> ant
> Buildfile:
>
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/build.xml
>
> pre-compile:
>
> compile:
>    [javac]
>
> /Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/build.xml:104:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>
> run:
>      [java] Exception in thread "main" <openjpa-2.1.0-r422266:1071316
> nonfatal general error>
> org.apache.openjpa.persistence.PersistenceException:
> Already closed.
>     [java]     at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:558)
>     [java]     at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:456)
>     [java]     at
>
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>     [java]     at
>
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>     [java]     at
>
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>     [java]     at
>
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:210)
>     [java]     at
>
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
>     [java]     at
>
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
>     [java]     at
>
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
>     [java]     at
>
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
>     [java]     at hellojpa.Main.main(Main.java:43)
>     [java] Caused by: java.sql.SQLException: Already closed.
>     [java]     at
>
> org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:114)
>     [java]     at
>
> org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:191)
>     [java]     at
>
> org.apache.openjpa.lib.jdbc.DelegatingConnection.close(DelegatingConnection.java:205)
>     [java]     at
>
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.close(LoggingConnectionDecorator.java:431)
>     [java]     at
>
> org.apache.openjpa.lib.jdbc.DelegatingConnection.close(DelegatingConnection.java:205)
>     [java]     at
>
> org.apache.openjpa.jdbc.schema.SchemaGenerator.closeConn(SchemaGenerator.java:1072)
>     [java]     at
>
> org.apache.openjpa.jdbc.schema.SchemaGenerator.generateSchemas(SchemaGenerator.java:327)
>     [java]     at
>
> org.apache.openjpa.jdbc.schema.SchemaTool.getDBSchemaGroup(SchemaTool.java:1163)
>     [java]     at
> org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:363)
>     [java]     at
> org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:340)
>     [java]     at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505)
>     [java]     ... 10 more
>
> BUILD FAILED
>
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6284708.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

Re: Can't get hellopjpa from examples working.

Posted by Joep Simons <jo...@me.com>.
hi,

I tried it and it still gives the same error. What I find strange is that
the 'relations' demo does work, although it looks quite the same as the
hellojpa demo. Another thing is that it gives the build from the 2.1 version
in the exception description.

best regards,

   Joep

ant
Buildfile:
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/build.xml

pre-compile:

compile:
    [javac]
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/build.xml:104:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds

run:
     [java] Exception in thread "main" <openjpa-2.1.0-r422266:1071316
nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
Already closed.
     [java] 	at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:558)
     [java] 	at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:456)
     [java] 	at
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
     [java] 	at
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
     [java] 	at
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
     [java] 	at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:210)
     [java] 	at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
     [java] 	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
     [java] 	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
     [java] 	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
     [java] 	at hellojpa.Main.main(Main.java:43)
     [java] Caused by: java.sql.SQLException: Already closed.
     [java] 	at
org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:114)
     [java] 	at
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:191)
     [java] 	at
org.apache.openjpa.lib.jdbc.DelegatingConnection.close(DelegatingConnection.java:205)
     [java] 	at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.close(LoggingConnectionDecorator.java:431)
     [java] 	at
org.apache.openjpa.lib.jdbc.DelegatingConnection.close(DelegatingConnection.java:205)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaGenerator.closeConn(SchemaGenerator.java:1072)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaGenerator.generateSchemas(SchemaGenerator.java:327)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaTool.getDBSchemaGroup(SchemaTool.java:1163)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:363)
     [java] 	at
org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:340)
     [java] 	at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505)
     [java] 	... 10 more

BUILD FAILED


--
View this message in context: http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6284708.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Can't get hellopjpa from examples working.

Posted by Michael Dick <mi...@gmail.com>.
Bad choice of words and a rushed email on my part.

I was thinking of the pre-compiled binaries from the snapshot
repository<https://repository.apache.org/content/groups/snapshots/org/apache/openjpa/apache-openjpa/2.2.0-SNAPSHOT/apache-openjpa-2.2.0-20110415.075847-49-binary.zip>.
The link is near the middle of the downloads
page<http://openjpa.apache.org/downloads.html>,
and I forgot to include it.

I'm not sure what to make of the IllegalAccessError though. Sorry for
unintentionally sending you down a rathole - can you try with the link
above?

-mike

On Fri, Apr 15, 2011 at 3:09 PM, Joep Simons <jo...@me.com> wrote:

> Hi,
>
> It was the first time that I used maven, so I am not sure if I did
> everything ok. When I checked out and tries to build the openjpa I got an
> error that some of the tests were failing. Because this might be caused by
> my ignorance, I'll post a abbreviated log here. The error is at the end.
> Sorry that I cannot be of more help
>
> regards,
>   Joep
>
>
> d:openjpa simons$ svn checkout
> http://svn.apache.org/repos/asf/openjpa/trunk
> openjpa
> A    openjpa/NOTICE
> A
>
> openjpa/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/LockTimeoutException.java
> A
>
> openjpa/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/validation/localizer.properties
> A    openjpa/openjpa-persistence/pom.xml
>  U   openjpa
> Checked out revision 1092489.
> o:openjpa simons$ ls
> openjpa
> o:openjpa simons$ cd openjpa/
>
> ……..
>
>
> o:openjpa simons$ cd openjpa/
> o:openjpa simons$ ls
> LICENSE                         openjpa-persistence
> NOTICE                          openjpa-persistence-jdbc
> README.txt                      openjpa-persistence-locking
> openjpa                         openjpa-project
> openjpa-all                     openjpa-slice
> openjpa-examples                openjpa-tools
> openjpa-integration             openjpa-xmlstore
> openjpa-jdbc                    pom.xml
> openjpa-jest                    scripts
> openjpa-kernel                  src
> openjpa-lib
> o:openjpa simons$ svn update
> At revision 1092787.
> o:openjpa simons$ mvn
> [INFO] Scanning for projects...
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
> Downloaded: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
> -testing-harness-1.0-beta-1.jar (18 KB at 8.1 KB/sec)
> [INFO] Exclude: **/.*/**
> [INFO] Exclude: **/target/**/*
> [INFO]
> [INFO] --- maven-install-plugin:2.3:install (default-install) @
> openjpa-parent ---
> Downloading:
>
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
> Downloaded:
>
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
> (2 KB at 1.1 KB/sec)
> Downloading:
>
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
> Downloaded:
>
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
> (12 KB at 25.3 KB/sec)
> [INFO] Installing /Users/simons/openjpa/openjpa/pom.xml to
>
> /Users/simons/.m2/repository/org/apache/openjpa/openjpa-parent/2.2.0-SNAPSHOT/openjpa-parent-2.2.0-SNAPSHOT.pom
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building OpenJPA Utilities Library 2.2.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.pom
> Downloaded:
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.pom
> (6 KB at 6.6 KB/sec)
> Downloading:
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
> Downloaded:
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
> (13 KB at 15.6 KB/sec)
> Downloading:
>
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
>
> …..
> Downloaded:
> http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
> (25 KB at 5.4 KB/sec)
> Downloaded:
>
> http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
> (562 KB at 102.4 KB/sec)
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.0-beta-4:create (default) @
> openjpa-lib ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (default) @ openjpa-lib
> ---
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.2:checkstyle (default) @ openjpa-lib
> ---
> [INFO] Starting audit...
> Audit done.
>
> [WARNING] Unable to locate Source XRef to link to - DISABLED
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @
> openjpa-lib
> ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
> openjpa-lib ---
> Downloading:
>
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
> Downloaded:
>
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
> (223 KB at 166.0 KB/sec)
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 9 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> openjpa-lib ---
> Downloading:
>
> http://repo1.maven.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.pom
> Downloaded:
>
> http://repo1.maven.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.pom
> (4 KB at 4.1 KB/sec)
> ……..
> Downloaded:
>
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.8.1/plexus-compiler-javac-1.8.1.jar
> (13 KB at 3.8 KB/sec)
> [INFO] Compiling 160 source files to
> /Users/simons/openjpa/openjpa/openjpa-lib/target/classes
> [INFO]
> [INFO] --- maven-antrun-plugin:1.3:run (set subversion revision) @
> openjpa-lib ---
> Downloading:
>
> http://repo1.maven.org/maven2/org/apache/ant/ant-jsch/1.7.1/ant-jsch-1.7.1.pom
> Downloaded:
>
> http://repo1.maven.org/maven2/org/apache/ant/ant-jsch/1.7.1/ant-jsch-1.7.1.pom
> (3 KB at 3.1 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.29/jsch-0.1.29.pom
> ……
> [INFO] Executing tasks
>   [delete] Deleting:
> /Users/simons/openjpa/openjpa/openjpa-lib/pcenhancer.revision.file
>     [echo] Revision: 422266:1092309
>     [echo] OpenJPA version: 2.2.0-SNAPSHOT
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources)
> @ openjpa-lib ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 8 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
> openjpa-lib ---
> [INFO] Compiling 42 source files to
> /Users/simons/openjpa/openjpa/openjpa-lib/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ openjpa-lib ---
> Downloading:
>
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.5/surefire-booter-2.5.pom
> Downloaded:
>
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.5/surefire-booter-2.5.pom
> (2 KB at 2.5 KB/sec)
> …..
> Downloaded:
>
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.5/surefire-junit-2.5.jar
> (16 KB at 19.3 KB/sec)
> [INFO] Surefire report directory:
> /Users/simons/openjpa/openjpa/openjpa-lib/target/surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.openjpa.lib.conf.TestValue
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec
> Running org.apache.openjpa.lib.graph.TestGraph
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec
> Running org.apache.openjpa.lib.util.concurrent.TestConcurrentMap
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.553 sec
> Running org.apache.openjpa.lib.util.TestLocalizer
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
> Running org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
> Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.144 sec
> <<< FAILURE!
>
> testPrefixContents(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
> Time elapsed: 0.137 sec  <<< ERROR!
> java.lang.IllegalAccessError: tried to access method
>
> org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
> from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
>        at
>
> org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
>        at junit.framework.TestCase.runBare(TestCase.java:125)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        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:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
>
> testPartialKeyAndNullMap(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
> Time elapsed: 0.001 sec  <<< ERROR!
> java.lang.IllegalAccessError: tried to access method
>
> org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
> from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
>        at
>
> org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
>        at junit.framework.TestCase.runBare(TestCase.java:125)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        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:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
>
> testPartialKeyWithInvalidPrefix(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
> Time elapsed: 0 sec  <<< ERROR!
> java.lang.IllegalAccessError: tried to access method
>
> org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
> from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
>        at
>
> org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
>        at junit.framework.TestCase.runBare(TestCase.java:125)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        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:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
>
> testPartialKeyWithoutMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
> Time elapsed: 0.001 sec  <<< ERROR!
> java.lang.IllegalAccessError: tried to access method
>
> org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
> from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
>        at
>
> org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
>        at junit.framework.TestCase.runBare(TestCase.java:125)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        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:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
>
> testPartialKeyWithOpenJPAMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
> Time elapsed: 0 sec  <<< ERROR!
> java.lang.IllegalAccessError: tried to access method
>
> org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
> from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
>        at
>
> org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
>        at junit.framework.TestCase.runBare(TestCase.java:125)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        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:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
>
> testPartialKeyWithCustomMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
> Time elapsed: 0.001 sec  <<< ERROR!
> java.lang.IllegalAccessError: tried to access method
>
> org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
> from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
>        at
>
> org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
>        at junit.framework.TestCase.runBare(TestCase.java:125)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        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:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
>
> testPartialKeyDuplicateFullKeys(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
> Time elapsed: 0 sec  <<< ERROR!
> java.lang.IllegalAccessError: tried to access method
>
> org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
> from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
>        at
>
> org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
>        at junit.framework.TestCase.runBare(TestCase.java:125)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        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:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
> Running org.apache.openjpa.lib.conf.TestConfigurations
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
> Running org.apache.openjpa.lib.rop.TestRandomAccessResultList
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec
> Running org.apache.openjpa.lib.rop.TestLazyForwardResultList
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.apache.openjpa.lib.rop.TestEagerResultList
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
> Running org.apache.openjpa.lib.conf.TestXMLCaseConversions
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
> Running org.apache.openjpa.lib.util.TestTypedProperties
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
> Running org.apache.openjpa.lib.conf.test.TestPluginValue
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
> Running org.apache.openjpa.lib.graph.TestDepthFirstAnalysis
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
> Running org.apache.openjpa.lib.xml.TestDocTypeReader
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
> Running org.apache.openjpa.lib.rop.TestListResultList
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.openjpa.lib.rop.TestMergedResultObjectProvider
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
> Running org.apache.openjpa.lib.conf.test.TestConfigurationImpl
> 6  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionProperties" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.slice.testKey".
> 8  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionURL" was not recognized and will be ignored, although
> the
> name closely matches a valid property called "openjpa.objectKey".
> 11  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionUserName" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 13  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionDriverName" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 18  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionPassword" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 20  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.DynamicEnhancementAgent" was not recognized and will be ignored.
> 0  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionProperties" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.slice.testKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionURL" was not recognized and will be ignored, although
> the
> name closely matches a valid property called "openjpa.objectKey".
> 3  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionUserName" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 3  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionDriverName" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 3  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionPassword" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 4  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.DynamicEnhancementAgent" was not recognized and will be ignored.
> 0  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionProperties" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.slice.testKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionURL" was not recognized and will be ignored, although
> the
> name closely matches a valid property called "openjpa.objectKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionUserName" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionDriverName" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 2  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionPassword" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 2  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.DynamicEnhancementAgent" was not recognized and will be ignored.
> 0  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionProperties" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.slice.testKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionURL" was not recognized and will be ignored, although
> the
> name closely matches a valid property called "openjpa.objectKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionUserName" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionDriverName" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.ConnectionPassword" was not recognized and will be ignored,
> although the name closely matches a valid property called
> "openjpa.objectKey".
> 1  WARN   [main] openjpa.Runtime - The configuration property named
> "openjpa.DynamicEnhancementAgent" was not recognized and will be ignored.
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.409 sec
> Running org.apache.openjpa.lib.rop.TestOrderedMergedResultObjectProvider
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
> Running org.apache.openjpa.lib.identifier.TestIdentifiers
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
> Running org.apache.openjpa.lib.util.TestPropertiesParser
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.apache.openjpa.lib.util.TestMultiClassLoader
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
> <<< FAILURE!
> testBasic(org.apache.openjpa.lib.util.TestMultiClassLoader)  Time elapsed:
> 0.001 sec  <<< FAILURE!
> junit.framework.AssertionFailedError
>        at junit.framework.Assert.fail(Assert.java:47)
>        at junit.framework.Assert.assertTrue(Assert.java:20)
>        at junit.framework.Assert.assertTrue(Assert.java:27)
>        at
>
> org.apache.openjpa.lib.util.TestMultiClassLoader.testBasic(TestMultiClassLoader.java:54)
>        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:597)
>        at junit.framework.TestCase.runTest(TestCase.java:154)
>        at junit.framework.TestCase.runBare(TestCase.java:127)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
> Running org.apache.openjpa.lib.util.TestTemporaryClassLoader
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
> Running org.apache.openjpa.lib.util.TestReferenceSet
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.apache.openjpa.lib.rop.TestSimpleResultList
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
> Running org.apache.openjpa.lib.rop.TestSoftRandomAccessResultList
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
> Running org.apache.openjpa.lib.util.TestSimpleRegex
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> Running org.apache.openjpa.lib.util.TestOptions
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.047 sec
> <<< FAILURE!
> testSetObject(org.apache.openjpa.lib.util.TestOptions)  Time elapsed: 0.044
> sec  <<< ERROR!
> org.apache.openjpa.lib.util.ParseException:
> org.apache.openjpa.lib.util.TestOptions$Inner@4ceafb71.inner =
> org.apache.openjpa.lib.util.TestOptions$Inner2
>        at org.apache.openjpa.lib.util.Options.setInto(Options.java:238)
>        at org.apache.openjpa.lib.util.Options.setInto(Options.java:191)
>        at
> org.apache.openjpa.lib.util.TestOptions.testSetObject(TestOptions.java:101)
>        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:597)
>        at junit.framework.TestCase.runTest(TestCase.java:154)
>        at junit.framework.TestCase.runBare(TestCase.java:127)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> Caused by: java.lang.NoSuchMethodException:
> org.apache.openjpa.lib.util.TestOptions$Inner.(java.lang.String)
>        at java.lang.Class.getConstructor0(Class.java:2706)
>        at java.lang.Class.getConstructor(Class.java:1657)
>        at
> org.apache.openjpa.lib.util.Options.stringToObject(Options.java:437)
>        at org.apache.openjpa.lib.util.Options.setInto(Options.java:230)
>        ... 27 more
>
> Running org.apache.openjpa.lib.util.TestAbstractEventManager
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
> Running org.apache.openjpa.lib.util.TestUUIDGenerator
> Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.551 sec
> <<< FAILURE!
> testGetTime(org.apache.openjpa.lib.util.TestUUIDGenerator)  Time elapsed: 0
> sec  <<< ERROR!
> java.lang.IllegalAccessError: tried to access method
> org.apache.openjpa.lib.util.UUIDGenerator.getTime()J from class
> org.apache.openjpa.lib.util.TestUUIDGenerator
>        at
>
> org.apache.openjpa.lib.util.TestUUIDGenerator.testGetTime(TestUUIDGenerator.java:78)
>        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:597)
>        at junit.framework.TestCase.runTest(TestCase.java:154)
>        at junit.framework.TestCase.runBare(TestCase.java:127)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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:597)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
> Running org.apache.openjpa.lib.util.TestParameterTemplate
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> Running org.apache.openjpa.lib.xml.TestXMLWriter
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec
> Running org.apache.openjpa.lib.rop.TestWindowResultList
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
> Running org.apache.openjpa.lib.util.svn.TestSVNUtils
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
> Running org.apache.openjpa.lib.rop.TestRangeResultObjectProvider
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> Running
> org.apache.openjpa.lib.util.concurrent.TestNullSafeConcurrentHashMap
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 sec
>
> Results :
>
> Failed tests:
>  testBasic(org.apache.openjpa.lib.util.TestMultiClassLoader)
>
> Tests in error:
>
>
> testPrefixContents(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
>
>
> testPartialKeyAndNullMap(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
>
>
> testPartialKeyWithInvalidPrefix(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
>
>
> testPartialKeyWithoutMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
>
>
> testPartialKeyWithOpenJPAMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
>
>
> testPartialKeyWithCustomMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
>
>
> testPartialKeyDuplicateFullKeys(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
>  testSetObject(org.apache.openjpa.lib.util.TestOptions)
>  testGetTime(org.apache.openjpa.lib.util.TestUUIDGenerator)
>
> Tests run: 266, Failures: 1, Errors: 9, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] OpenJPA Parent POM ................................ SUCCESS
> [5:02.115s]
> [INFO] OpenJPA Utilities Library ......................... FAILURE
> [1:23.060s]
> [INFO] OpenJPA Kernel .................................... SKIPPED
> [INFO] OpenJPA JDBC ...................................... SKIPPED
> [INFO] OpenJPA Persistence ............................... SKIPPED
> [INFO] OpenJPA Persistence JDBC .......................... SKIPPED
> [INFO] OpenJPA Persistence Locking Tests ................. SKIPPED
> [INFO] OpenJPA XML Store ................................. SKIPPED
> [INFO] OpenJPA Slice ..................................... SKIPPED
> [INFO] OpenJPA JEST ...................................... SKIPPED
> [INFO] OpenJPA Aggregate Jar ............................. SKIPPED
> [INFO] OpenJPA Aggregate Jar with Dependencies ........... SKIPPED
> [INFO] OpenJPA Project Docs and Assemblies ............... SKIPPED
> [INFO] OpenJPA Examples .................................. SKIPPED
> [INFO] OpenJPA Examples - Simple ......................... SKIPPED
> [INFO] OpenJPA Examples - image-gallery .................. SKIPPED
> [INFO] OpenJPA Examples - OpenBooks ...................... SKIPPED
> [INFO] OpenJPA Integration Tests ......................... SKIPPED
> [INFO] OpenJPA Integration Tests - Daytrader ............. SKIPPED
> [INFO] OpenJPA Integration Tests - Examples .............. SKIPPED
> [INFO] OpenJPA Integration Tests - SLF4JLogFactory ....... SKIPPED
> [INFO] OpenJPA Integration Tests - JPA TCK ............... SKIPPED
> [INFO] OpenJPA Integration Tests - Bean Validation ....... SKIPPED
> [INFO] OpenJPA Integration Tests - JMX Platform MBeans ... SKIPPED
> [INFO] OpenJPA tools ..................................... SKIPPED
> [INFO] OpenJPA Maven Plugin .............................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7:28.324s
> [INFO] Finished at: Fri Apr 15 21:14:13 CEST 2011
> [INFO] Final Memory: 26M/81M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on
> project openjpa-lib: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /Users/simons/openjpa/openjpa/openjpa-lib/target/surefire-reports for the
> individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :openjpa-lib
>
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6277540.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

Re: Can't get hellopjpa from examples working.

Posted by Joep Simons <jo...@me.com>.
Hi, 

It was the first time that I used maven, so I am not sure if I did
everything ok. When I checked out and tries to build the openjpa I got an
error that some of the tests were failing. Because this might be caused by
my ignorance, I'll post a abbreviated log here. The error is at the end.
Sorry that I cannot be of more help

regards,
   Joep


d:openjpa simons$ svn checkout http://svn.apache.org/repos/asf/openjpa/trunk
openjpa
A    openjpa/NOTICE
A   
openjpa/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/LockTimeoutException.java
A   
openjpa/openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/validation/localizer.properties
A    openjpa/openjpa-persistence/pom.xml
 U   openjpa
Checked out revision 1092489.
o:openjpa simons$ ls
openjpa
o:openjpa simons$ cd openjpa/

……..


o:openjpa simons$ cd openjpa/
o:openjpa simons$ ls
LICENSE				openjpa-persistence
NOTICE				openjpa-persistence-jdbc
README.txt			openjpa-persistence-locking
openjpa				openjpa-project
openjpa-all			openjpa-slice
openjpa-examples		openjpa-tools
openjpa-integration		openjpa-xmlstore
openjpa-jdbc			pom.xml
openjpa-jest			scripts
openjpa-kernel			src
openjpa-lib
o:openjpa simons$ svn update
At revision 1092787.
o:openjpa simons$ mvn
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
-testing-harness-1.0-beta-1.jar (18 KB at 8.1 KB/sec)
[INFO] Exclude: **/.*/**
[INFO] Exclude: **/target/**/*
[INFO] 
[INFO] --- maven-install-plugin:2.3:install (default-install) @
openjpa-parent ---
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
Downloaded:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
(2 KB at 1.1 KB/sec)
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
Downloaded:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
(12 KB at 25.3 KB/sec)
[INFO] Installing /Users/simons/openjpa/openjpa/pom.xml to
/Users/simons/.m2/repository/org/apache/openjpa/openjpa-parent/2.2.0-SNAPSHOT/openjpa-parent-2.2.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building OpenJPA Utilities Library 2.2.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.pom
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.pom
(6 KB at 6.6 KB/sec)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
(13 KB at 15.6 KB/sec)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom

…..
Downloaded:
http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
(25 KB at 5.4 KB/sec)
Downloaded:
http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
(562 KB at 102.4 KB/sec)
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.0-beta-4:create (default) @
openjpa-lib ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (default) @ openjpa-lib
---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.2:checkstyle (default) @ openjpa-lib
---
[INFO] Starting audit...
Audit done.

[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ openjpa-lib
---
[INFO] 
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
openjpa-lib ---
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
Downloaded:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
(223 KB at 166.0 KB/sec)
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
openjpa-lib ---
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.pom
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.pom
(4 KB at 4.1 KB/sec)
……..
Downloaded:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.8.1/plexus-compiler-javac-1.8.1.jar
(13 KB at 3.8 KB/sec)
[INFO] Compiling 160 source files to
/Users/simons/openjpa/openjpa/openjpa-lib/target/classes
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (set subversion revision) @
openjpa-lib ---
Downloading:
http://repo1.maven.org/maven2/org/apache/ant/ant-jsch/1.7.1/ant-jsch-1.7.1.pom
Downloaded:
http://repo1.maven.org/maven2/org/apache/ant/ant-jsch/1.7.1/ant-jsch-1.7.1.pom
(3 KB at 3.1 KB/sec)
Downloading:
http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.29/jsch-0.1.29.pom
……
[INFO] Executing tasks
   [delete] Deleting:
/Users/simons/openjpa/openjpa/openjpa-lib/pcenhancer.revision.file
     [echo] Revision: 422266:1092309
     [echo] OpenJPA version: 2.2.0-SNAPSHOT
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.4:testResources (default-testResources)
@ openjpa-lib ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
openjpa-lib ---
[INFO] Compiling 42 source files to
/Users/simons/openjpa/openjpa/openjpa-lib/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ openjpa-lib ---
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.5/surefire-booter-2.5.pom
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.5/surefire-booter-2.5.pom
(2 KB at 2.5 KB/sec)
…..
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.5/surefire-junit-2.5.jar
(16 KB at 19.3 KB/sec)
[INFO] Surefire report directory:
/Users/simons/openjpa/openjpa/openjpa-lib/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.openjpa.lib.conf.TestValue
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec
Running org.apache.openjpa.lib.graph.TestGraph
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec
Running org.apache.openjpa.lib.util.concurrent.TestConcurrentMap
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.553 sec
Running org.apache.openjpa.lib.util.TestLocalizer
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
Running org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.144 sec
<<< FAILURE!
testPrefixContents(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes) 
Time elapsed: 0.137 sec  <<< ERROR!
java.lang.IllegalAccessError: tried to access method
org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
	at
org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

testPartialKeyAndNullMap(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes) 
Time elapsed: 0.001 sec  <<< ERROR!
java.lang.IllegalAccessError: tried to access method
org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
	at
org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

testPartialKeyWithInvalidPrefix(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes) 
Time elapsed: 0 sec  <<< ERROR!
java.lang.IllegalAccessError: tried to access method
org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
	at
org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

testPartialKeyWithoutMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes) 
Time elapsed: 0.001 sec  <<< ERROR!
java.lang.IllegalAccessError: tried to access method
org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
	at
org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

testPartialKeyWithOpenJPAMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes) 
Time elapsed: 0 sec  <<< ERROR!
java.lang.IllegalAccessError: tried to access method
org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
	at
org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

testPartialKeyWithCustomMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes) 
Time elapsed: 0.001 sec  <<< ERROR!
java.lang.IllegalAccessError: tried to access method
org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
	at
org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

testPartialKeyDuplicateFullKeys(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes) 
Time elapsed: 0 sec  <<< ERROR!
java.lang.IllegalAccessError: tried to access method
org.apache.openjpa.lib.conf.ProductDerivations.setConfigurationPrefixes([Ljava/lang/String;)V
from class org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes
	at
org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes.setUp(TestConfigurationProviderPrefixes.java:42)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Running org.apache.openjpa.lib.conf.TestConfigurations
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running org.apache.openjpa.lib.rop.TestRandomAccessResultList
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec
Running org.apache.openjpa.lib.rop.TestLazyForwardResultList
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.apache.openjpa.lib.rop.TestEagerResultList
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.openjpa.lib.conf.TestXMLCaseConversions
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.openjpa.lib.util.TestTypedProperties
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.openjpa.lib.conf.test.TestPluginValue
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.openjpa.lib.graph.TestDepthFirstAnalysis
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.openjpa.lib.xml.TestDocTypeReader
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
Running org.apache.openjpa.lib.rop.TestListResultList
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.apache.openjpa.lib.rop.TestMergedResultObjectProvider
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
Running org.apache.openjpa.lib.conf.test.TestConfigurationImpl
6  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionProperties" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.slice.testKey".
8  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionURL" was not recognized and will be ignored, although the
name closely matches a valid property called "openjpa.objectKey".
11  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionUserName" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
13  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionDriverName" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
18  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionPassword" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
20  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.DynamicEnhancementAgent" was not recognized and will be ignored.
0  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionProperties" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.slice.testKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionURL" was not recognized and will be ignored, although the
name closely matches a valid property called "openjpa.objectKey".
3  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionUserName" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
3  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionDriverName" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
3  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionPassword" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
4  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.DynamicEnhancementAgent" was not recognized and will be ignored.
0  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionProperties" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.slice.testKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionURL" was not recognized and will be ignored, although the
name closely matches a valid property called "openjpa.objectKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionUserName" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionDriverName" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
2  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionPassword" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
2  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.DynamicEnhancementAgent" was not recognized and will be ignored.
0  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionProperties" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.slice.testKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionURL" was not recognized and will be ignored, although the
name closely matches a valid property called "openjpa.objectKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionUserName" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionDriverName" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.ConnectionPassword" was not recognized and will be ignored,
although the name closely matches a valid property called
"openjpa.objectKey".
1  WARN   [main] openjpa.Runtime - The configuration property named
"openjpa.DynamicEnhancementAgent" was not recognized and will be ignored.
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.409 sec
Running org.apache.openjpa.lib.rop.TestOrderedMergedResultObjectProvider
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
Running org.apache.openjpa.lib.identifier.TestIdentifiers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.apache.openjpa.lib.util.TestPropertiesParser
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
Running org.apache.openjpa.lib.util.TestMultiClassLoader
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
<<< FAILURE!
testBasic(org.apache.openjpa.lib.util.TestMultiClassLoader)  Time elapsed:
0.001 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at
org.apache.openjpa.lib.util.TestMultiClassLoader.testBasic(TestMultiClassLoader.java:54)
	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:597)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Running org.apache.openjpa.lib.util.TestTemporaryClassLoader
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.openjpa.lib.util.TestReferenceSet
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.apache.openjpa.lib.rop.TestSimpleResultList
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.openjpa.lib.rop.TestSoftRandomAccessResultList
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.openjpa.lib.util.TestSimpleRegex
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.openjpa.lib.util.TestOptions
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.047 sec
<<< FAILURE!
testSetObject(org.apache.openjpa.lib.util.TestOptions)  Time elapsed: 0.044
sec  <<< ERROR!
org.apache.openjpa.lib.util.ParseException:
org.apache.openjpa.lib.util.TestOptions$Inner@4ceafb71.inner =
org.apache.openjpa.lib.util.TestOptions$Inner2
	at org.apache.openjpa.lib.util.Options.setInto(Options.java:238)
	at org.apache.openjpa.lib.util.Options.setInto(Options.java:191)
	at
org.apache.openjpa.lib.util.TestOptions.testSetObject(TestOptions.java:101)
	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:597)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: java.lang.NoSuchMethodException:
org.apache.openjpa.lib.util.TestOptions$Inner.(java.lang.String)
	at java.lang.Class.getConstructor0(Class.java:2706)
	at java.lang.Class.getConstructor(Class.java:1657)
	at org.apache.openjpa.lib.util.Options.stringToObject(Options.java:437)
	at org.apache.openjpa.lib.util.Options.setInto(Options.java:230)
	... 27 more

Running org.apache.openjpa.lib.util.TestAbstractEventManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.openjpa.lib.util.TestUUIDGenerator
Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.551 sec
<<< FAILURE!
testGetTime(org.apache.openjpa.lib.util.TestUUIDGenerator)  Time elapsed: 0
sec  <<< ERROR!
java.lang.IllegalAccessError: tried to access method
org.apache.openjpa.lib.util.UUIDGenerator.getTime()J from class
org.apache.openjpa.lib.util.TestUUIDGenerator
	at
org.apache.openjpa.lib.util.TestUUIDGenerator.testGetTime(TestUUIDGenerator.java:78)
	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:597)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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:597)
	at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Running org.apache.openjpa.lib.util.TestParameterTemplate
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.openjpa.lib.xml.TestXMLWriter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec
Running org.apache.openjpa.lib.rop.TestWindowResultList
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.openjpa.lib.util.svn.TestSVNUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.openjpa.lib.rop.TestRangeResultObjectProvider
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.apache.openjpa.lib.util.concurrent.TestNullSafeConcurrentHashMap
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 sec

Results :

Failed tests: 
  testBasic(org.apache.openjpa.lib.util.TestMultiClassLoader)

Tests in error: 
 
testPrefixContents(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
 
testPartialKeyAndNullMap(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
 
testPartialKeyWithInvalidPrefix(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
 
testPartialKeyWithoutMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
 
testPartialKeyWithOpenJPAMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
 
testPartialKeyWithCustomMatch(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
 
testPartialKeyDuplicateFullKeys(org.apache.openjpa.lib.conf.TestConfigurationProviderPrefixes)
  testSetObject(org.apache.openjpa.lib.util.TestOptions)
  testGetTime(org.apache.openjpa.lib.util.TestUUIDGenerator)

Tests run: 266, Failures: 1, Errors: 9, Skipped: 0

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] OpenJPA Parent POM ................................ SUCCESS
[5:02.115s]
[INFO] OpenJPA Utilities Library ......................... FAILURE
[1:23.060s]
[INFO] OpenJPA Kernel .................................... SKIPPED
[INFO] OpenJPA JDBC ...................................... SKIPPED
[INFO] OpenJPA Persistence ............................... SKIPPED
[INFO] OpenJPA Persistence JDBC .......................... SKIPPED
[INFO] OpenJPA Persistence Locking Tests ................. SKIPPED
[INFO] OpenJPA XML Store ................................. SKIPPED
[INFO] OpenJPA Slice ..................................... SKIPPED
[INFO] OpenJPA JEST ...................................... SKIPPED
[INFO] OpenJPA Aggregate Jar ............................. SKIPPED
[INFO] OpenJPA Aggregate Jar with Dependencies ........... SKIPPED
[INFO] OpenJPA Project Docs and Assemblies ............... SKIPPED
[INFO] OpenJPA Examples .................................. SKIPPED
[INFO] OpenJPA Examples - Simple ......................... SKIPPED
[INFO] OpenJPA Examples - image-gallery .................. SKIPPED
[INFO] OpenJPA Examples - OpenBooks ...................... SKIPPED
[INFO] OpenJPA Integration Tests ......................... SKIPPED
[INFO] OpenJPA Integration Tests - Daytrader ............. SKIPPED
[INFO] OpenJPA Integration Tests - Examples .............. SKIPPED
[INFO] OpenJPA Integration Tests - SLF4JLogFactory ....... SKIPPED
[INFO] OpenJPA Integration Tests - JPA TCK ............... SKIPPED
[INFO] OpenJPA Integration Tests - Bean Validation ....... SKIPPED
[INFO] OpenJPA Integration Tests - JMX Platform MBeans ... SKIPPED
[INFO] OpenJPA tools ..................................... SKIPPED
[INFO] OpenJPA Maven Plugin .............................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7:28.324s
[INFO] Finished at: Fri Apr 15 21:14:13 CEST 2011
[INFO] Final Memory: 26M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on
project openjpa-lib: There are test failures.
[ERROR] 
[ERROR] Please refer to
/Users/simons/openjpa/openjpa/openjpa-lib/target/surefire-reports for the
individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :openjpa-lib


--
View this message in context: http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6277540.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Can't get hellopjpa from examples working.

Posted by Michael Dick <mi...@gmail.com>.
Hi Joep,

I think there's a problem obtaining a connection - maybe a security setting
that's different for macs? I don't have access to one to try, and
unfortunately the exception closing a connection appears to be hiding the
root cause.

I'll fix the problem with closing a connection and that will get picked up
in the next nightly snapshot. Can you try again with a trunk build?

-mike

On Tue, Apr 12, 2011 at 10:20 AM, Joep Simons <jo...@me.com> wrote:

> Hi Mike,
>
> Thank you for your reply. I just downloaded and checked it on another apple
> and it gave the same result. However, when I tried to run it on a linux
> machine, it worked out of the box.
>
> I am not sure if anyone can reproduce my problem on Mac osX. Maybe I should
> file a bug report. But at least I can reasonably suspect that it is related
> to the java implementation on osx.
>
> regards,
>   Joep
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6265558.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

Re: Can't get hellopjpa from examples working.

Posted by Joep Simons <jo...@me.com>.
Hi Mike,

Thank you for your reply. I just downloaded and checked it on another apple
and it gave the same result. However, when I tried to run it on a linux
machine, it worked out of the box.

I am not sure if anyone can reproduce my problem on Mac osX. Maybe I should
file a bug report. But at least I can reasonably suspect that it is related
to the java implementation on osx. 

regards,
   Joep

--
View this message in context: http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6265558.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Can't get hellopjpa from examples working.

Posted by Michael Dick <mi...@gmail.com>.
Hi Joep,

You're posting to the right forum. The stack indicates that there's a
problem with a connection. Have you changed anything in the sample related
to the database?

I just downloaded a fresh copy and I wasn't able to reproduce the problem
(Oracle Java 1.6.0_24 on Linux).

-mike

On Mon, Apr 11, 2011 at 2:20 PM, Joep Simons <jo...@me.com> wrote:

> Hello,
>
> I downloaded apache-openjpa-2.1.0 in order to try it out, starting with a
> simple example. Unfortunately I cannot get the simple hellojpa example from
> the examples working. I use apple snow-leopard (java 1.6.0_24)
>
>
> I am not sure if I am posting in the right forum since I am totally new to
> openjpa. On the other hand, I get the same error when trying my own 'demo'
> project, so I am quite stuck right now.
>
> Thanks in advance
>
> best regards,
> Joep
>
> hellojpa simons$ ant
> Buildfile:
>
> /Users/simons/Downloads/apache-openjpa-2.1.0/examples/simple/hellojpa/build.xml
>
> pre-compile:
>
> compile:
>    [javac]
> /Users/simons/Downloads/apache-openjpa-2.1.0/examples/simple/build.xml:104:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>
> run:
>     [java] Exception in thread "main"
> org.apache.openjpa.persistence.PersistenceException: Already closed.
>     [java]     at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:558)
>     [java]     at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:456)
>     [java]     at
>
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:160)
>     [java]     at
>
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
>     [java]     at
>
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
>     [java]     at
>
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:210)
>     [java]     at
>
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
>     [java]     at
>
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
>     [java]     at
>
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
>     [java]     at
>
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
>     [java]     at hellojpa.Main.main(Main.java:43)
>     [java] Caused by: java.sql.SQLException: Already closed.
>     [java]     at
>
> org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:114)
>     [java]     at
>
> org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:191)
>     [java]     at
>
> org.apache.openjpa.lib.jdbc.DelegatingConnection.close(DelegatingConnection.java:205)
>     [java]     at
>
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.close(LoggingConnectionDecorator.java:431)
>     [java]     at
>
> org.apache.openjpa.lib.jdbc.DelegatingConnection.close(DelegatingConnection.java:205)
>     [java]     at
>
> org.apache.openjpa.jdbc.schema.SchemaGenerator.closeConn(SchemaGenerator.java:1072)
>     [java]     at
>
> org.apache.openjpa.jdbc.schema.SchemaGenerator.generateSchemas(SchemaGenerator.java:327)
>     [java]     at
>
> org.apache.openjpa.jdbc.schema.SchemaTool.getDBSchemaGroup(SchemaTool.java:1163)
>     [java]     at
> org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:363)
>     [java]     at
> org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:340)
>     [java]     at
> org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:505)
>     [java]     ... 10 more
>
> BUILD FAILED
> /Users/simons/Downloads/apache-openjpa-2.1.0/examples/simple/build.xml:115:
> Java returned: 1
>
> Total time: 5 seconds
> :hellojpa simons$
>
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6262603.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>