java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)

Server Fault | Draemon | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Security exception when moving from toplink to eclipselink in glassfish 2.1

    Server Fault | 7 years ago | Draemon
    java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied (java.lang.RuntimePermission createClassLoader)

      at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy()
    2. EclipseLink (non-OSGi)
      PersistenceProvider.createContainerEntityManagerFactory
      1. org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:878)
      2. org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:216)
      2 frames
    3. com.sun.enterprise
      TomcatApplicationLoader.doLoad
      1. com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:149)
      2. com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:84)
      3. com.sun.enterprise.server.AbstractLoader.loadPersistenceUnits(AbstractLoader.java:895)
      4. com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:184)
      5. com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)
      5 frames