Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

  2. ,
    Expert tip

    The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

Solutions on the web

via openejb-users by Martin Vysny, 11 months ago
This exception has no message.
org.apache.openejb.core.security.JaccProvider$Factory at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:558) at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:299) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:207) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149) at org.apache.openejb.OpenEJB.init(OpenEJB.java:293) at org.apache.openejb.OpenEJB.init(OpenEJB.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36) at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:59) at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:45) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at com.whitestein.fe.embedded.launcher.OpenEjbAndJettyLauncher.initOpenEJB(OpenEjbAndJettyLauncher.java:223) at com.whitestein.fe.embedded.launcher.OpenEjbAndJettyLauncher.launch(OpenEjbAndJettyLauncher.java:146) at com.whitestein.fe.embedded.launcher.Launcher.launch(Launcher.java:107) at com.whitestein.fe.it.cal.CalUtils.newComm(CalUtils.java:45) at com.whitestein.fe.it.cal.AbstractCalTest.setUp(AbstractCalTest.java:35) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) at org.apache.maven.surefire.Surefire.run(Surefire.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)Caused by: org.apache.openejb.OpenEJBException: PolicyConfigurationFactory class not found: JACC:ErrorPolicyConfigurationFactory : cannot find class :org.apache.openejb.core.security.JaccProvider$Factory at org.apache.openejb.assembler.classic.JaccPermissionsBuilder.install(JaccPermissionsBuilder.java:62) at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:436) ... 42 moreCaused by: java.lang.ClassNotFoundException: JACC:ErrorPolicyConfigurationFactory : cannot find class :org.apache.openejb.core.security.JaccProvider$Factory at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:143) at org.apache.openejb.assembler.classic.JaccPermissionsBuilder.install(JaccPermissionsBuilder.java:48) ... 43 moreCaused by: java.lang.ClassNotFoundException: org.apache.openejb.core.security.JaccProvider$Factory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:131) ... 44 more