provider « Glassfish « JPA Q&A





2. using toplink as JPA provider on Glassfish v3    java.net

Exception while preparing the app org.glassfish.deployment.common.DeploymentException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: predeploy for PersistenceUnit [em] failed. Internal Exception: Exception [TOPLINK-28007] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: Failed to instantiate ServerPlatform of type [oracle.toplink.essentials.platform.server.sunas.SunAS9ServerPlatform] specified in [toplink.target-server] property. Internal Exception: java.lang.NoSuchMethodException: oracle.toplink.essentials.platform.server.sunas.SunAS9ServerPlatform.(oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl) at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:148) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:296) at ...