tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu, Xiaoyan" <x...@CapitalThinking.com>
Subject Access Denied from mx4j when deploying webapp
Date Fri, 23 May 2003 20:08:09 GMT
Hi, all,

I'm trying to deploy a web app (named 'test') under tomcat 5.0.2 release,
and when I start up tomcat, it shows the following access denied exception
basically for each web app under webapps dir (even for sample applications).
If I remove 'test' app, everything works fine. But there is no jmx stuff 
at all in 'test'. What went wrong? Is there any flag to set jmx security?

Thanks.


May 23, 2003 3:54:12 PM org.apache.commons.modeler.Registry
registerComponent
SEVERE: Error registering
Catalina:j2eeType=WebModule,name=//localhost/test,J2EEApplication=none,J2EES
erver=none
java.security.AccessControlException: Access denied
(mx4j.server.MBeanTrustPermission register): MBean class
org.apache.commons.modeler.BaseModelMBean is not trusted for registration
        at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.checkTrustRegistratio
n(SecurityMBeanServerInterceptor.java:156)
        at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.registration(Security
MBeanServerInterceptor.java:116)
        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.registration(DefaultMB
eanServerInterceptor.java:113)
        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.registration(DefaultMB
eanServerInterceptor.java:113)
        at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.registratio
n(ContextClassLoaderMBeanServerInterceptor.java:108)
        at
mx4j.server.MBeanServerImpl.registerImpl(MBeanServerImpl.java:1051)
       at
mx4j.server.MBeanServerImpl.registerMBeanImpl(MBeanServerImpl.java:1002)
        at
mx4j.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:978)
        at
org.apache.commons.modeler.Registry.registerComponent(Registry.java:869)
        at
org.apache.catalina.core.StandardContext.registerJMX(StandardContext.java:50
08)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4146)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
43)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:827)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:623)
        at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:315)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:837)
        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:630
)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:835)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:429)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1241)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:804)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1233)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:532)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2314)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
        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:324)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:394)
May 23, 2003 3:54:12 PM org.apache.catalina.core.StandardContext registerJMX
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message