I am using JPAContainer with Glassfish 3.1 and Eclipselink with an application that was built with an earlier version on glassfish and now seem to be having issues with the writereplace method in LocalEntityProvider. jboss is throwing a duplicate method exception. Well, technically, javassist is throwing the error. My question is this: What purpose does that method in LocalEntityProvider serve? Why serialize the entitymanager?


Seems to be an issue with Glassfish 3.1. Reverted back to Glassfish 3.0 and everything is fine.


JPAContainer 2.0 and Glassfish 3.1 can be made sing together. Some obstacles are on the but, nothing that couldn’t be overcome. If you still need help on the subject, check out my
blob post