当前位置: 代码迷 >> Java Web开发 >> javax.management.MalformedObjectNameException: Invalid character
  详细解决方案

javax.management.MalformedObjectNameException: Invalid character

热度:1113   发布时间:2016-04-17 00:07:15.0
将项目部署到linux服务器上,报一大堆异常导致无法访问,求解!
Java code
严重: processContainerRemoveChild: Throwablejavax.management.MalformedObjectNameException: Invalid character ':' in value part of property    at javax.management.ObjectName.construct(ObjectName.java:602)    at javax.management.ObjectName.<init>(ObjectName.java:1403)    at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.java:1091)    at org.apache.catalina.mbeans.MBeanUtils.destroyMBean(MBeanUtils.java:1689)    at org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:938)    at org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:720)    at org.apache.catalina.mbeans.ServerLifecycleListener.processContainerRemoveChild(ServerLifecycleListener.java:1246)    at org.apache.catalina.mbeans.ServerLifecycleListener.containerEvent(ServerLifecycleListener.java:105)    at org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1362)    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:934)    at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)    at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)    at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:450)    at org.apache.catalina.core.StandardService.stop(StandardService.java:587)    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)    at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)    at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)javax.management.RuntimeOperationsException: Object name cannot be null    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:582)    at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:598)    at org.apache.catalina.core.StandardContext.registerJMX(StandardContext.java:5482)    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4579)    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)    at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)    at org.apache.catalina.core.StandardService.start(StandardService.java:519)    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)    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:597)    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: java.lang.IllegalArgumentException: Object name cannot be null    ... 26 more2011-1-11 18:21:46 org.apache.catalina.core.StandardContext start
  相关解决方案