[Seasar-user:4326] Sun Java Application Serverでエラーが発生。

Shinsuke Akabane [E-MAIL ADDRESS DELETED]
2006年 8月 11日 (金) 20:35:10 JST


赤羽と申します。


Tomcatで稼働していたwarファイルを
Sun Java Application Server 8.1に載せると
以下のエラーが発生しました。

どなたか原因が分かる方、いらっしゃいましたら
教えてください。

よろしくお願いします。



------------------------------------------------------------------------------------------------
java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader)
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
	at java.security.AccessController.checkPermission(AccessController.java:427)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
	at java.lang.Thread.setContextClassLoader(Thread.java:1306)
	at org.seasar.framework.container.impl.ComponentDefImpl.getConcreteClass(ComponentDefImpl.java:149)
	at org.seasar.framework.container.assembler.AutoConstructorAssembler.getSuitableConstructor(AutoConstructorAssembler.java:50)
	at org.seasar.framework.container.assembler.AutoConstructorAssembler.doAssemble(AutoConstructorAssembler.java:39)
	at org.seasar.framework.container.assembler.AbstractConstructorAssembler.assemble(AbstractConstructorAssembler.java:50)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:67)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.deploy(SingletonComponentDeployer.java:51)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.init(SingletonComponentDeployer.java:96)
	at org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:283)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:361)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:358)
	at org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:51)
	at org.seasar.framework.container.servlet.S2ContainerServlet.init(S2ContainerServlet.java:63)
	at javax.servlet.GenericServlet.init(GenericServlet.java:261)
	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:585)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4536)
	at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
	at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
	at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
	at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
	at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
	at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
	at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
	at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
	at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
	at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
	at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
	at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
	at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
	at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
	at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
	at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
	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:585)
	at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
	at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
	at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
	at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
	at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
	at $Proxy1.invoke(Unknown Source)
	at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
	at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:504)
	at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
	at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:433)
	at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:426)
	at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:246)
	at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:342)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)
|#]
------------------------------------------------------------------------------------------------



-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
(株)インテック 第三システム開発部
      赤羽 進亮 (Shinsuke Akabane)

      Mail :[E-MAIL ADDRESS DELETED]
      Tel  :03-5665-5150
      Fax  :03-5665-5179
      H.P. :http://www.intec.co.jp
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



Seasar-user メーリングリストの案内