Kevin Sutter wrote > Hi Heiko, > More questions than answers at this point... Thanks for digging into the > existing issues related to these Java Verify Issues. > > o Does this occur when running with straight WAS 8.0.0.4 with the OpenJPA > 2.1.x deliverable?
Yes it does occur with that. I only used OpenJPA 2.3.0-SNAPSHOT together with the OpenJPA 2.3.0-SNAPSHOT maven plugin at compile/build time to do the enhancement. At runtime, OpenJPA is not included in the package (EAR/WAR), and the version delivered with IBM throws the error. I will possibly open a PMR with IBM support if you think that this would be a good idea too. I just wanted to figure out why this happens at all. Interestingly, I have another application on the very same WAS using absolutely the same tools and this one does not have the issue. No errors.... Weird! In the example posted in my previous message, it seems the entity DbDocument is responsible for the cause, so I removed it, but afterwards another entity with the same problem came up. I can dig more into that, but currently it seems the problem only affects complex entities included as attributes in other entities, not attributes with primitive types or simple classes like Integer, BigDecimal or Date. Kevin Sutter wrote > o Are you, by chance, building and/or executing in a Java 7 environment? > As you have seen by the other JIRA Issues, Java 7 automatically verifies > all Class files now. Before Java 7, many of these Verify errors were > eaten > and never output to the user. Yeah I saw that almost everything seemed to be related to Java 7. The execution environment of WAS is however, IBM JDK 1.6 and we cannot and did not change that. At first I had a IBM JDK 1.7 based Eclipse + WDT Tools, but after reading the issues with Java 7 and enhancements, I've completely removed Java 7 SDKs/JREs from Eclipse and run Eclipse with the JDK shipped with IBM WAS (which is IBM SDK 1.6 SP2). I'm stuck to IBM SDKs here, as the WDT Tools only allow deployment to secured WebSphere Servers when Eclipse is setup with an IBM SDK :-( Kevin Sutter wrote > o How are you doing the enhancement processing? Are you doing > enhancement > at build time, or dynamically at runtime via the Container hook? Both, by default we use the org.apache.openjpa/openjpa-maven-plugin version 2.2.0 for build time enhancement in maven phase 'process-classes'. I changed to use the 2.3.0-SNAPSHOT version (which definitely used Serp 1.14.1 - we checked that too) when I saw the related issues, but: => the error occurs in both cases. Then, I completely disabled runtime enhancement by commenting out the plugin in the maven pom file, verified, that the class-files do not include any enhancements in the built EAR and deployed the application to WAS. => The error occurs too. So to answer your question. It happens in both ways, when enhancing at build time and at runtime. Thank you for your rapid response Kevin, looking forward to hearing your thoughts on this. Best regards, Heiko -- View this message in context: http://openjpa.208410.n2.nabble.com/JPA-Enhancement-throws-java-lang-VerifyError-JVMVRFY012-for-method-pcClearFields-even-with-version-2-tp7581258p7581267.html Sent from the OpenJPA Users mailing list archive at Nabble.com.