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. ,
    Expert tip

    This might be an issue with the file location in the Spark submit command. Try it with

    spark-submit --master spark://master:7077 \
         hello_world_from_pyspark.py {file location}
    
    
  2. ,

    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

Solutions on the web

via Oracle Community by 807581, 1 year ago
javax.security.jacc.PolicyContextException: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl
java.lang.ClassNotFoundException: com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl	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:268)	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:242)	at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:131)	at com.sun.web.security.WebSecurityManager.getFactory(WebSecurityManager.java:337)	at com.sun.web.security.WebSecurityManager.initialise(WebSecurityManager.java:230)	at com.sun.web.security.WebSecurityManager.(WebSecurityManager.java:156)	at com.sun.web.security.WebSecurityManagerFactory.newWebSecurityManager(WebSecurityManagerFactory.java:83)	at com.sun.enterprise.web.WebContainer.configureSecurity(WebContainer.java:1495)	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1431)	at com.sun.enterprise.web.WebContainer.loadStandaloneWebModule(WebContainer.java:963)	at com.sun.enterprise.web.WebContainer.loadDefaultWebModule(WebContainer.java:929)	at com.sun.enterprise.web.WebContainer.loadWebModules(WebContainer.java:895)	at com.sun.enterprise.web.WebContainer.start(WebContainer.java:765)	at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:722)	at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:72)	at com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(ServiceGroup.java:266)	at com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(WebServiceGroup.java:210)	at com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:60)	at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)	at java.security.AccessController.doPrivileged(Native Method)	at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177)	at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)	at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)	at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)	at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryContext(ServerEntryHelper.java:43)	at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketService.java:279)	at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:525)