2 Replies Latest reply: May 10, 2012 4:16 AM by mcatalin23 RSS

How to remove jmx console on Jboss 6

mcatalin23 Newbie

I found following link for Jboss 6 slimming:

https://community.jboss.org/wiki/JBoss6xTuningSlimming

but there is no information related to jmx console.

 

I presume that following folder needs to be removed:

<Jboss-6.0.0.Final>\common\deploy\jmx-console.war

but it should be something more because when I access the link http://localhost:8080/jmx-console/

a get following error on Jboss log file:

 

2012-05-10 10:18:17,008 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (http-0.0.0.0-8080-1) Error installing to Create: name=cdb2b81b aliases=[ProfileKey@147d7a3[domain=default, server=default, name=jmx-console.war]] state=Configured mode=Manual requiredState=Installed: java.io.FileNotFoundException: failed to find artifact FileArtifactId[path=jmx-console.war]
    at org.jboss.profileservice.repository.artifact.DefaultNotFoundHandler.handleArtifactNotFound(DefaultNotFoundHandler.java:51) [:0.2.2]
    at org.jboss.profileservice.repository.artifact.file.LocalFileArtifactRepository.getOriginalFile(LocalFileArtifactRepository.java:262) [:0.2.2]
    at org.jboss.profileservice.repository.artifact.file.LocalFileArtifactRepository.getOriginalFile(LocalFileArtifactRepository.java:48) [:0.2.2]
    at org.jboss.profileservice.repository.virtual.AbstractVirtualDeploymentRepository.getOriginalVirtualFile(AbstractVirtualDeploymentRepository.java:91) [:0.2.2]
    at org.jboss.profileservice.virtual.assembly.AbstractVirtualDeploymentAssembly.createNonAssembledContext(AbstractVirtualDeploymentAssembly.java:203) [:0.2.2]
    at org.jboss.profileservice.virtual.assembly.AbstractVirtualDeploymentAssembly.createAssemblyContext(AbstractVirtualDeploymentAssembly.java:133) [:0.2.2]
    at org.jboss.profileservice.virtual.assembly.AbstractVirtualDeploymentAssembly.assemble(AbstractVirtualDeploymentAssembly.java:81) [:0.2.2]
    at org.jboss.profileservice.repository.virtual.AbstractVirtualDeploymentRepository.createDeployment(AbstractVirtualDeploymentRepository.java:70) [:0.2.2]
    at org.jboss.profileservice.repository.virtual.VirtualDeploymentProfile.createDeployment(VirtualDeploymentProfile.java:218) [:0.2.2]
    at org.jboss.profileservice.repository.virtual.VirtualDeploymentProfile.create(VirtualDeploymentProfile.java:107) [:0.2.2]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_23]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_23]
    at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
    at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.GA]
    at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.GA]
    at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.0.GA]
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
    at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:154) [:0.2.2]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager.activateProfile(OnDemandContextProfileManager.java:540) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager.activateProfile(OnDemandContextProfileManager.java:501) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager$Listener$1.run(OnDemandContextProfileManager.java:592) [:6.0.0.Final]
    at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_23]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager$Listener.contextDemanded(OnDemandContextProfileManager.java:586) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.DefaultOnDemandContextIntegrator$ContextDemandAdapter.onDemandContextMapped(DefaultOnDemandContextIntegrator.java:138) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.notifyLazyLoadContextMappingListeners(Mapper.java:733) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:699) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:611) [:6.0.0.Final]
    at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:524) [:6.0.0.Final]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) [:6.0.0.Final]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
    at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]

2012-05-10 10:18:17,211 ERROR [org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager] (http-0.0.0.0-8080-1) Unable to activate profile ProfileKey@147d7a3[domain=default, server=default, name=jmx-console.war]: java.lang.IllegalStateException: Incompletely deployed:

*** PROFILES IN ERROR: Name -> Error
Profile: ProfileKey@147d7a3[domain=default, server=default, name=jmx-console.war] in error due to java.io.FileNotFoundException: failed to find artifact FileArtifactId[path=jmx-console.war]

    at org.jboss.profileservice.dependency.ProfileValidationUtil.logErrors(ProfileValidationUtil.java:186) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileValidationUtil.validate(ProfileValidationUtil.java:61) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.validate(ProfileActivationWrapper.java:220) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationWrapper.validate(ProfileActivationWrapper.java:116) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationService.validate(ProfileActivationService.java:194) [:0.2.2]
    at org.jboss.profileservice.AbstractProfileService.validateProfile(AbstractProfileService.java:190) [:0.2.2]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager.activateProfile(OnDemandContextProfileManager.java:544) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager.activateProfile(OnDemandContextProfileManager.java:501) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager$Listener$1.run(OnDemandContextProfileManager.java:592) [:6.0.0.Final]
    at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_23]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager$Listener.contextDemanded(OnDemandContextProfileManager.java:586) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.DefaultOnDemandContextIntegrator$ContextDemandAdapter.onDemandContextMapped(DefaultOnDemandContextIntegrator.java:138) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.notifyLazyLoadContextMappingListeners(Mapper.java:733) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:699) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:611) [:6.0.0.Final]
    at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:524) [:6.0.0.Final]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) [:6.0.0.Final]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
    at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]

2012-05-10 10:36:19,244 ERROR [org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager] (http-0.0.0.0-8080-1) Unable to activate profile ProfileKey@147d7a3[domain=default, server=default, name=jmx-console.war]: java.lang.IllegalStateException: Incompletely deployed:

*** PROFILES IN ERROR: Name -> Error
Profile: ProfileKey@147d7a3[domain=default, server=default, name=jmx-console.war] in error due to java.io.FileNotFoundException: failed to find artifact FileArtifactId[path=jmx-console.war]

    at org.jboss.profileservice.dependency.ProfileValidationUtil.logErrors(ProfileValidationUtil.java:186) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileValidationUtil.validate(ProfileValidationUtil.java:61) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.validate(ProfileActivationWrapper.java:220) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationWrapper.validate(ProfileActivationWrapper.java:116) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationService.validate(ProfileActivationService.java:194) [:0.2.2]
    at org.jboss.profileservice.AbstractProfileService.validateProfile(AbstractProfileService.java:190) [:0.2.2]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager.activateProfile(OnDemandContextProfileManager.java:544) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager.activateProfile(OnDemandContextProfileManager.java:501) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager$Listener$1.run(OnDemandContextProfileManager.java:592) [:6.0.0.Final]
    at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_23]
    at org.jboss.web.tomcat.service.ondemand.OnDemandContextProfileManager$Listener.contextDemanded(OnDemandContextProfileManager.java:586) [:6.0.0.Final]
    at org.jboss.web.tomcat.service.ondemand.DefaultOnDemandContextIntegrator$ContextDemandAdapter.onDemandContextMapped(DefaultOnDemandContextIntegrator.java:138) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.notifyLazyLoadContextMappingListeners(Mapper.java:733) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:699) [:6.0.0.Final]
    at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:611) [:6.0.0.Final]
    at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:524) [:6.0.0.Final]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) [:6.0.0.Final]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
    at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]

 

What else do I need to remove from Jboss 6 to deactivate correctly the jmx console?