This discussion is archived
4 Replies Latest reply: Apr 2, 2012 6:13 AM by 925340 RSS

TopLink Grid: Create EntityManager fails when running on WebLogic

925340 Newbie
Currently Being Moderated
Hi,
I'm trying to create WebService which usus TopLink grid for data access. First I've created simple standalone application with TopLink Grid and all work fine. Then I've created WebService based on previously created app.
When I try execute WebService deployed to WebLogic I got error:
class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer" file="GridCacheCustomizer.java" line="30" method="customize"
java.lang.NoSuchMethodError org.eclipse.persistence.descriptors.ClassDescriptor.setFullyMergeEntity(Z)V
It fails in entityManagerFactory.createEntityManager() method.
If customizer declaration removed from eclipse-link.xml configuration file then webservice works. Maybe for server application needed some additional configuration or initialization?


Thanks,
Alex

Edited by: user9360947 on Mar 29, 2012 6:09 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points