openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter" <kwsut...@gmail.com>
Subject Re: Problems with latest repository updates?
Date Mon, 28 Aug 2006 14:40:59 GMT
Interesting.  If I do the "mvn clean install", followed by another "mvn
install", then it all works as expected.  The first "mvn clean install"
fails as originally posted with a missing product derivations.  And, then
the subsequent "mvn install' seems to work okay with all tests
succeeding....

On 8/28/06, Kevin Sutter <kwsutter@gmail.com> wrote:
>
> Hi,
> With the latest SVN updates over the weekend, I am now experiencing a
> failure with a "missing product derivations"...  I did a "mvn clean" first,
> followed by a "mvn install".  I'll start to take a look, but in case
> somebody already knows the problem...
>
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building OpenJPA JPA JDBC
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> Your system is missing product derivations.  Product derivations provide
> configu
> ration options for supported data stores and specifications.  You must
> have a ME
> TA-INF/services/org.apache.openjpa.conf.ProductDerivation file in your
> classpath
>  listing the available derivation classes, and some listed class must be
> instant
> iable.  Typically this file is bundled as part of the distribution.  Have
> you un
> bundled it, or unbundled its listed classes? If you are using ant, a
> common solu
> tion to this problem is to place the jar libraries of the OpenJPA
> distribution i
> n the ${user.home}/.ant/lib directory. Another common cause of this
> problem is a
> n overly-restrictive security manager.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.ExceptionInInitializerError
>         at java.lang.J9VMInternals.initialize(J9VMInternals.java:154)
>         at org.apache.openjpa.conf.OpenJPAConfigurationImpl
> .<init>(OpenJPAConfig
> urationImpl.java:510)
>         at org.apache.openjpa.conf.OpenJPAConfigurationImpl
> .<init>(OpenJPAConfig
> urationImpl.java:160)
>         at org.apache.openjpa.conf.OpenJPAConfigurationImpl
> .<init>(OpenJPAConfig
> urationImpl.java:151)
>         at org.apache.openjpa.ant.PCEnhancerTask.newConfiguration
> (PCEnhancerTask
> .java:77)
>         at org.apache.openjpa.lib.ant.AbstractTask.execute(
> AbstractTask.java:156
> )
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
> :275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks
> (AbstractA
> ntMojo.java:108)
>         at org.apache.maven.plugin.antrun.AntRunMojo.execute(
> AntRunMojo.java:83)
>
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> (DefaultPlugi
> nManager.java:412)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:534)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:475)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecy
> cle(DefaultLifecycleExecutor.java:891)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Def
> aultLifecycleExecutor.java:729)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:505)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> (Defau
> ltLifecycleExecutor.java:454)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:306)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (DefaultLi
> fecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.
> java:64)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAcces
> sorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:615)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> :315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(
> Launcher.java:430)
>
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.util.MissingResourceException: Your system is missing
> product de
> rivations.  Product derivations provide configuration options for
> supported data
>  stores and specifications.  You must have a
> META-INF/services/org.apache.openjp
> a.conf.ProductDerivation file in your classpath listing the available
> derivation
>  classes, and some listed class must be instantiable.  Typically this file
> is bu
> ndled as part of the distribution.  Have you unbundled it, or unbundled
> its list
> ed classes? If you are using ant, a common solution to this problem is to
> place
> the jar libraries of the OpenJPA distribution in the ${user.home}/.ant/lib
> direc
> tory. Another common cause of this problem is an overly-restrictive
> security man
> ager.
>         at org.apache.openjpa.conf.ProductDerivations
> .<clinit>(ProductDerivation
> s.java:55)
>         at java.lang.J9VMInternals.initializeImpl(Native Method)
>         at java.lang.J9VMInternals.initialize(J9VMInternals.java:148)
>         ... 32 more
> [INFO]
> ------------------------------------------------------------------------
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message