Hi, Based on my read of the OPENJPA-256 notes, it looks like it's resolved in 1.0.0. Is this not the case for you?
Also, I believe that another valid workaround would be to set the QueryCompilaitonCache setting to 'java.util.Map'. If that doesn't work, if you could shed a bit more light on how you configure OpenJPA, that'd be useful. -Patrick On 9/16/07, Luciano Resende <[EMAIL PROTECTED]> wrote: > Let me try to give a little background here. Initially I was having > the same issue as the one described in OPENJPA-256 [1] and to > workaround the issue, we started configuring surefire to use System > Class loader. Looks like this solves the problem building the module > itself, but building the parent module give us some errors as > described in this thread [2]. > > So, this raises couple questions > > - Any workaround or help for this issue, so we can get this BPEL & SCA > integration in our SCA 1.0 release (this needs to happen very soon, as > we are targeting to cut a new RC tomorrow) > > - Have ODE moved to JPA JPA 1.0 on it's latest trunk code ? If not, > any plans ? I tried to use the ODE 1.1 with JPA 1.0 but I was running > into some issues... > > Well, any help is appreciated... > > [1] http://issues.apache.org/jira/browse/OPENJPA-256 > [2] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg23439.html > > On 9/16/07, ant elder <[EMAIL PROTECTED]> wrote: > > I'm get a similar build failure related to surefire in the 1.0 branch: > > > > [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip > > [INFO] Expanding: C:\Documents and > > Settings\Administrator\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1. > > 1.zip into > > C:\Tuscany\SVN\1.0-BRN\modules\implementation-bpel\target\test-classes > > [INFO] [surefire:test] > > [INFO] Surefire report directory: > > C:\Tuscany\SVN\1.0-BRN\modules\implementation-bpel\target\surefire-reports > > [INFO] Building jar: > > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\surefirebooter15021.jar > > java.lang.NoClassDefFoundError: > > org/apache/maven/surefire/booter/SurefireBooter > > Exception in thread "main" > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > > > ...ant > > > > On 9/16/07, Raymond Feng <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I ran into an issue in the implementation-bpel module from the top-down > > > build. The error message is as follows. But if I run the build for the > > > module only, everything works fine. > > > > > > Any clue? > > > > > > Thanks, > > > Raymond > > > > > > [INFO] [compiler:testCompile] > > > [INFO] Compiling 4 source files to > > > C:\Tuscany\java\sca\modules\implementation-bp > > > el\target\test-classes > > > [INFO] [dependency:unpack {execution: unpack}] > > > [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip > > > [INFO] Expanding: C:\Documents and > > > Settings\Administrator\.m2\repository\org\apa > > > che\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into > > > C:\Tuscan > > > y\java\sca\modules\implementation-bpel\target\test-classes > > > [INFO] [surefire:test] > > > [INFO] Surefire report directory: > > > C:\Tuscany\java\sca\modules\implementation-bpe > > > l\target\surefire-reports > > > [INFO] Building jar: > > > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\surefirebooter57948.jar > > > java.net.MalformedURLException: unknown protocol: c > > > at java.net.URL.<init>(URL.java:608) > > > at java.net.URL.<init>(URL.java:498) > > > at > > > sun.misc.URLClassPath$JarLoader.parseClassPath(URLClassPath.java:1118 > > > ) > > > at > > > sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:1091) > > > at sun.misc.URLClassPath.getLoader(URLClassPath.java:476) > > > at sun.misc.URLClassPath.getResource(URLClassPath.java:322) > > > at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java > > > :960) > > > at > > > java.security.AccessController.doPrivileged(AccessController.java:275 > > > ) > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:488) > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:607) > > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:327) > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:573) > > > The java class is not found: > > > org.apache.maven.surefire.booter.SurefireBooter > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > -- > Luciano Resende > Apache Tuscany Committer > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > -- Patrick Linskey 202 669 5907
