axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abramovich, Dan" <dabramov...@sonusnet.com>
Subject problem w/ JMX registration
Date Wed, 29 Mar 2006 15:40:15 GMT

We recently upgraded to Axis 1.2.1 (from 1.1) and are seeing error like the one shown below.
We'll get from 1 to 3 of them (axis:type=server, axis:type=deploy, axis:type=query) for each
of the MBeans that the AxisServlet tries to register on startup. In our configuration we have
two separate webapps (separate .wars ) that each deploys an AxisServlet, so what appears to
be happening is that there is a naming clash when Axis tries register the MBeans. We don't
always see the error, and when we do don't always see it for all three Mbeans, for which I
don't have an good explanations. 

Does anyone understand this issue better? Is there a way of configuring Axis that we can avoid
this problem (and still deploy multiple Axis enabled webapps)?

Thanks,
-Dan



				006-03-24 15:48:34,608 ERROR [org.apache.commons.modeler.Registry] Error registering axis:type=server
				javax.management.InstanceAlreadyExistsException: axis:type=server already registered.
				        at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:704)
				        at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:212)
				        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
				        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
				        at java.lang.reflect.Method.invoke(Unknown Source)
				        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
				        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
				        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
				        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
				        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
				        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
				        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1018)
				        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:326)
				        at org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
				        at org.apache.commons.modeler.Registry.registerComponent(Registry.java:346)
				        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
				        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
				        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
				        at java.lang.reflect.Method.invoke(Unknown Source)
				        at org.apache.axis.management.Registrar$ModelerBinding.register(Registrar.java:131)
				        at org.apache.axis.management.Registrar.register(Registrar.java:52)
				        at org.apache.axis.management.ServiceAdmin.setEngine(ServiceAdmin.java:142)
				        at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:204)
				        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
				        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
				        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
				        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
				        at java.lang.reflect.Method.invoke(Unknown Source)
				        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
				        at java.security.AccessController.doPrivileged(Native Method)
				        at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
				        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
				        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
				        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:110)
				        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1024)
				        at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
				        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
				        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
				        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
				        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
				        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
				        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
				        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
				        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
				        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
				        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
				        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
				        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
				        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
				        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
				        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
				        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
				        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
				        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
				        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
				        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
				        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
				        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
				        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
				        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
				        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
				        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
				        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
				        at java.lang.Thread.run(Unknown Source)


Mime
View raw message