title: How to change EclipseLink in GlashFish 4.0?
body: <p>I want to change EclipseLink from 2.5.0 to 2.5.1 in GlashFish 4.0. I have <a href="http://www.eclipse.org/eclipselink/downloads/" rel="noreferrer">downloaded</a> the <a href="http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/releases/2.5.1/eclipselink-plugins-2.5.1.v20130918-f2b9fc5.zip" rel="noreferrer">OSGi</a> bundle and replaced the following jar files</p>
  
  <ol>
  <li>org.eclipse.persistence.antlr.jar</li>
  <li>org.eclipse.persistence.jpa.jar</li>
  <li>org.eclipse.persistence.asm.jar</li>
  <li>org.eclipse.persistence.jpa.modelgen.jar</li>
  <li>org.eclipse.persistence.core.jar</li>
  <li>org.eclipse.persistence.oracle.jar</li>
  <li>javax.persistence.jar</li>
  </ol>
  
  <p>under <code>$GLASSFISH_HOME/glassfish/modules</code>.</p>
  
  <hr>
  
  <p>After doing this, the version still remains the same. The following code,</p>
  
  <pre><code>String version = org.eclipse.persistence.Version.getVersion();
  System.out.println("EclipseLink version : " + version);
  </code></pre>
  
  <p>still displays the version 2.5.0.</p>
  
  <hr>
  
  <p>The bundle contains no <code>eclipselink-x.x.x.jar</code>.</p>
  
  <p>What else is required to be changed? I'm using NetBeans 7.2.1.</p>