java.security.AccessControlException: access denied (java.net.SocketPermission ipaddress of the database server :43164 accept,resolve)

Oracle Community | user592596 | 8 years ago
  1. 0

    Application Message

    Oracle Community | 8 years ago | user592596
    java.security.AccessControlException: access denied (java.net.SocketPermission ipaddress of the database server :43164 accept,resolve)
  2. 0

    Steps to reproduce: # Deploy the pacl dependencies (chat, flash, and sample-service-builder) and test-pacl-portlet. # There is a stacktrace. # Sign in. # Click Add > More... None of the applications are available. Expected behavior: PACL is deployed successfully and the user is able to add applications Actual behavior: stacktrace & the user is unable to deploy any applications {code} H:\portal-trunk\bundles\tomcat-7.0.34\bin>catalina run Using CATALINA_BASE: "H:\portal-trunk\bundles\tomcat-7.0.34" Using CATALINA_HOME: "H:\portal-trunk\bundles\tomcat-7.0.34" Using CATALINA_TMPDIR: "H:\portal-trunk\bundles\tomcat-7.0.34\temp" Using JRE_HOME: "C:\Program Files\Java\jre7" Using CLASSPATH: "H:\portal-trunk\bundles\tomcat-7.0.34\bin\bootstrap.jar;H:\portal-trunk\bundles\tomcat-7.0.34\bin\tomcat-juli.jar" Feb 26, 2013 6:55:29 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\ImageMagick-6.8.3-Q16;C:\Program Files (x86)\Xuggle\bin;C:\Program Files (x86)\ImageMagick-6.7.8-Q16;C:\Program Files\ImageMagick-6.7.7-Q16;C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files\Java\jdk1.7.0_11\bin;C:\Program Files\Java\jre7\bin;C:\apache-ant-1.8.2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files (x86)\Git\cmd;C:\Python27;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;. Feb 26, 2013 6:55:30 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-9080"] Feb 26, 2013 6:55:30 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-9009"] Feb 26, 2013 6:55:30 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 479 ms Feb 26, 2013 6:55:30 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Feb 26, 2013 6:55:30 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.34 Feb 26, 2013 6:55:30 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor H:\portal-trunk\bundles\tomcat-7.0.34\conf\Catalina\localhost\ROOT.xml Loading jar:file:/H:/portal-trunk/bundles/tomcat-7.0.34/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties Loading jar:file:/H:/portal-trunk/bundles/tomcat-7.0.34/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties Loading file:/H:/portal-trunk/bundles/tomcat-7.0.34/webapps/ROOT/WEB-INF/classes/portal-ext.properties Feb 26, 2013 6:55:39 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext 18:55:43,157 INFO [localhost-startStop-1][DialectDetector:71] Determine dialect for MySQL 5 18:55:43,186 INFO [localhost-startStop-1][DialectDetector:136] Found dialect org.hibernate.dialect.MySQLDialect Starting Liferay Portal Community Edition 6.2.0 CE M4 (Newton / Build 6200 / February 19, 2013) 18:56:02,814 ERROR [localhost-startStop-1][JDBCExceptionReporter:76] Table 'lportaltrunk.lock_' doesn't exist 18:56:03,146 WARN [localhost-startStop-1][ReleaseLocalServiceImpl:173] Table 'lportaltrunk.release_' doesn't exist 18:56:03,147 INFO [localhost-startStop-1][ReleaseLocalServiceImpl:83] Create tables and populate with default data 18:56:12,389 INFO [localhost-startStop-1][BaseDB:456] Database does not support case sensitive queries 18:56:12,858 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyProcessSuite 18:56:12,859 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyProperties 18:56:12,868 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyDB2 18:56:12,868 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyMySQL 18:56:12,900 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyOracle 18:56:12,901 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifySQLServer 18:56:12,901 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyUUID 18:56:12,905 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyPermission 18:56:13,419 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyRole 18:56:13,420 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyAsset 18:56:13,424 INFO [localhost-startStop-1][UpgradeProcess:175] Upgrading com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries 18:56:13,425 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyBlogs 18:56:13,446 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyBookmarks 18:56:13,451 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyCalendar 18:56:13,456 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyDocumentLibrary 18:56:13,479 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyGroup 18:56:13,488 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyJournal 18:56:13,498 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyLayout 18:56:13,503 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyMessageBoards 18:56:13,511 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyOrganization 18:56:13,512 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyResourcePermissions 18:56:13,513 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifySocial 18:56:13,513 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyUser 18:56:13,518 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyWiki 18:56:13,521 INFO [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyWorkflow 18:56:13,546 INFO [localhost-startStop-1][ServerDetector:166] Server supports hot deploy 18:56:13,551 INFO [localhost-startStop-1][PluginPackageUtil:1033] Reading plugin package for the root context 18:56:24,492 INFO [localhost-startStop-1][AutoDeployDir:78] Creating missing directory H:\portal-trunk\home\deploy 18:56:24,494 INFO [localhost-startStop-1][AutoDeployDir:99] Auto deploy scanner started for H:\portal-trunk\home\deploy Feb 26, 2013 6:56:30 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'Remoting Servlet' Feb 26, 2013 6:56:32 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-9080"] Feb 26, 2013 6:56:32 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-9009"] Feb 26, 2013 6:56:32 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 61778 ms 18:56:44,649 ERROR [http-bio-9080-exec-6][AutoLoginFilter:240] Current URL / generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.BadPaddingException: Given final block not properly padded 18:57:29,968 ERROR [http-bio-9080-exec-5][PollerRequestHandlerImpl:349] Invalid credentials for company id 10153 and user id nyclLNTyZCA= 18:57:37,498 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:164] Processing test-pacl-portlet-6.2.0.1.war 18:57:37,502 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:77] Copying portlets for H:\portal-trunk\home\deploy\test-pacl-portlet-6.2.0.1.war 18:57:37,539 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:834] Deploying test-pacl-portlet-6.2.0.1.war Expanding: H:\portal-trunk\home\deploy\test-pacl-portlet-6.2.0.1.war into H:\portal-trunk\bundles\tomcat-7.0.34\temp\20130226185737541 Copying 1 file to H:\portal-trunk\bundles\tomcat-7.0.34\temp\20130226185737541\WEB-INF Copying 1 file to H:\portal-trunk\bundles\tomcat-7.0.34\temp\20130226185737541\WEB-INF\classes Copying 1 file to H:\portal-trunk\bundles\tomcat-7.0.34\temp\20130226185737541\WEB-INF\classes Copying 1 file to H:\portal-trunk\bundles\tomcat-7.0.34\temp\20130226185737541\WEB-INF\jsp 18:57:38,103 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2284] Modifying Servlet 2.4 H:\portal-trunk\bundles\tomcat-7.0.34\temp\20130226185737541\WEB-INF\web.xml Copying 154 files to H:\portal-trunk\bundles\tomcat-7.0.34\webapps\test-pacl-portlet Copying 1 file to H:\portal-trunk\bundles\tomcat-7.0.34\webapps\test-pacl-portlet Deleting directory H:\portal-trunk\bundles\tomcat-7.0.34\temp\20130226185737541 18:57:38,585 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:89] Portlets for H:\portal-trunk\home\deploy\test-pacl-portlet-6.2.0.1.war copied successfully. Deployment will start in a few seconds. Feb 26, 2013 6:57:42 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory H:\portal-trunk\bundles\tomcat-7.0.34\webapps\test-pacl-portlet 18:57:43,609 INFO [localhost-startStop-2][HotDeployEvent:97] Plugin test-pacl-portlet requires chat-portlet, flash-portlet, sample-service-builder-portlet 18:57:43,724 INFO [localhost-startStop-2][PACLPolicyManager:92] Activating PACL policy manager 18:57:43,725 INFO [localhost-startStop-2][PACLPolicyManager:145] Overriding the current security manager to enable plugin security management 18:57:43,733 INFO [localhost-startStop-2][HotDeployImpl:232] Queueing test-pacl-portlet for deploy because it is missing chat-portlet, flash-portlet, sample-service-builder-portlet Feb 26, 2013 6:57:43 PM org.apache.catalina.loader.WebappClassLoader findClass WARNING: WebappClassLoader.findClassInternal(org.apache.log4j.spi.ThrowableInformation) security exception: access denied ("java.io.FilePermission" "H:\portal-trunk\bundles\tomcat-7.0.34\webapps\ROOT\WEB-INF\classes\org\apache\log4j\spi\ThrowableInformation.class" "read") java.security.AccessControlException: access denied ("java.io.FilePermission" "H:\portal-trunk\bundles\tomcat-7.0.34\webapps\ROOT\WEB-INF\classes\org\apache\log4j\spi\ThrowableInformation.class" "read") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.File.exists(Unknown Source) at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:768) at org.apache.naming.resources.FileDirContext.doLookup(FileDirContext.java:198) at org.apache.naming.resources.BaseDirContext.lookup(BaseDirContext.java:483) at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:308) at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2979) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2839) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:165) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:49) at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:64) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:45) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:111) at com.liferay.portal.kernel.servlet.SecurePluginContextListener.contextInitialized(SecurePluginContextListener.java:145) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Feb 26, 2013 6:57:43 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.kernel.servlet.SecurePluginContextListener java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:165) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:49) at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:64) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:45) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:111) at com.liferay.portal.kernel.servlet.SecurePluginContextListener.contextInitialized(SecurePluginContextListener.java:145) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.spi.ThrowableInformation at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) ... 25 more Feb 26, 2013 6:57:43 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Feb 26, 2013 6:57:43 PM org.apache.tomcat.util.modeler.Registry registerComponent SEVERE: Error registering Catalina:type=Manager,context=/test-pacl-portlet,host=localhost java.security.AccessControlException: access denied ("javax.management.MBeanPermission" "org.apache.tomcat.util.modeler.BaseModelMBean#-[Catalina:context=/test-pacl-portlet,host=localhost,type=Manager]" "registerMBean") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:742) at org.apache.catalina.util.LifecycleMBeanBase.register(LifecycleMBeanBase.java:158) at org.apache.catalina.util.LifecycleMBeanBase.initInternal(LifecycleMBeanBase.java:61) at org.apache.catalina.session.ManagerBase.initInternal(ManagerBase.java:548) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Feb 26, 2013 6:57:43 PM org.apache.catalina.util.LifecycleMBeanBase register WARNING: Failed to register object [org.apache.catalina.session.StandardManager[/test-pacl-portlet]] with name [org.apache.catalina.session.StandardManager[/test-pacl-portlet]] during component initialisation java.security.AccessControlException: access denied ("javax.management.MBeanPermission" "org.apache.tomcat.util.modeler.BaseModelMBean#-[Catalina:context=/test-pacl-portlet,host=localhost,type=Manager]" "registerMBean") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:742) at org.apache.catalina.util.LifecycleMBeanBase.register(LifecycleMBeanBase.java:158) at org.apache.catalina.util.LifecycleMBeanBase.initInternal(LifecycleMBeanBase.java:61) at org.apache.catalina.session.ManagerBase.initInternal(ManagerBase.java:548) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Feb 26, 2013 6:57:43 PM org.apache.catalina.core.ContainerBase addChildInternal SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test-pacl-portlet]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setContextClassLoader") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.Thread.setContextClassLoader(Unknown Source) at org.apache.catalina.core.StandardContext.unbindThread(StandardContext.java:5812) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5319) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 11 more Feb 26, 2013 6:57:43 PM org.apache.catalina.startup.HostConfig deployDirectory SEVERE: Error deploying web application directory H:\portal-trunk\bundles\tomcat-7.0.34\webapps\test-pacl-portlet java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test-pacl-portlet]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Feb 26, 2013 6:57:43 PM org.apache.catalina.startup.HostConfig deployDirectories SEVERE: Error waiting for multi-thread deployment of directories to completehostConfig.deployWar=Deploying web application archive {0} java.util.concurrent.ExecutionException: java.security.AccessControlException: access denied ("java.io.FilePermission" "H:\portal-trunk\bundles\tomcat-7.0.34\webapps\test-pacl-portlet" "read") at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1037) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:479) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1449) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:301) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519) at java.lang.Thread.run(Unknown Source) Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "H:\portal-trunk\bundles\tomcat-7.0.34\webapps\test-pacl-portlet" "read") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.File.lastModified(Unknown Source) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ... 1 more Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setContextClassLoader") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.Thread.setContextClassLoader(Unknown Source) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1535) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519) at java.lang.Thread.run(Unknown Source) Exception in thread "com.liferay.portal.kernel.deploy.auto.AutoDeployScanner" java.security.AccessControlException: access denied ("java.io.FilePermission" "H:\portal-trunk\home\deploy" "read") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.File.list(Unknown Source) at java.io.File.listFiles(Unknown Source) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:193) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:54) Exception in thread "PersistedQuartzSchedulerEngineInstance_QuartzSchedulerThread" java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:165) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:49) at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:64) at com.liferay.util.sl4fj.LiferayLoggerAdapter.error(LiferayLoggerAdapter.java:110) at org.quartz.core.ErrorLogger.schedulerError(QuartzScheduler.java:2361) at org.quartz.core.QuartzScheduler.notifySchedulerListenersError(QuartzScheduler.java:1954) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:271) Feb 26, 2013 6:57:59 PM org.apache.coyote.http11.AbstractHttp11Processor process SEVERE: Error processing request java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setContextClassLoader") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.Thread.setContextClassLoader(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:152) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "MemoryQuartzSchedulerEngineInstance_Worker-2" java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:165) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:49) at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:64) at com.liferay.util.sl4fj.LiferayLoggerAdapter.error(LiferayLoggerAdapter.java:110) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:569) Exception in thread "QuartzScheduler_PersistedQuartzSchedulerEngineInstance-NON_CLUSTERED_MisfireHandler" java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:165) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:49) at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:64) at com.liferay.util.sl4fj.LiferayLoggerAdapter.error(LiferayLoggerAdapter.java:110) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3952) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:3968) Feb 26, 2013 6:58:29 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run SEVERE: Socket accept failed java.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:61197" "accept,resolve") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkAccept(Unknown Source) at java.net.ServerSocket.implAccept(Unknown Source) at java.net.ServerSocket.accept(Unknown Source) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:216) at java.lang.Thread.run(Unknown Source) {code}

    Liferay Issues | 4 years ago | Justin Choi
    java.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:61197" "accept,resolve")
  3. 0

    Java SocketPermission policy question

    Stack Overflow | 6 years ago | Vivin Paliath
    java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:45944 accept,resolve)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SocketPermission grant

    Oracle Community | 1 decade ago | 807581
    java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:3299 accept,resolve)
  6. 0

    java.net.SocketPermission&nbsp; accept

    Oracle Community | 1 decade ago | 807581
    java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:3299 accept,resolve)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied (java.net.SocketPermission ipaddress of the database server :43164 accept,resolve)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      ServerSocket.accept
      1. java.security.AccessControlContext.checkPermission(Unknown Source)
      2. java.security.AccessController.checkPermission(Unknown Source)
      3. java.lang.SecurityManager.checkPermission(Unknown Source)
      4. java.lang.SecurityManager.checkAccept(Unknown Source)
      5. java.net.ServerSocket.implAccept(Unknown Source)
      6. java.net.ServerSocket.accept(Unknown Source)
      6 frames
    3. oracle.forms.fd
      Server.run
      1. oracle.forms.fd.Server.run(Server.java:38)
      1 frame