Invalid character ':' in property value in Tomcat 7.0.50 startup

We started getting a weird exception when deploying tomcat, which prevents the server from starting. Installation was carried out for several months without any problems.

  • Project maven
  • Eclipse Kepler 4.3.0
  • Tomcat 7.0.50 (as an Eclipse plugin)

Has anyone had this exception? Any idea on where to look for the problem?

javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
    at javax.management.ObjectName.construct(ObjectName.java:618)
    at javax.management.ObjectName.<init>(ObjectName.java:1382)
    at org.apache.catalina.util.LifecycleMBeanBase.register(LifecycleMBeanBase.java:156)
    at org.apache.catalina.util.LifecycleMBeanBase.initInternal(LifecycleMBeanBase.java:61)
    at org.apache.catalina.core.ContainerBase.initInternal(ContainerBase.java:1084)
    at org.apache.catalina.core.StandardContext.initInternal(StandardContext.java:6462)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
+4
source share
3 answers

You should clear the tomccat directory, maybe some dependencies floating aroung, please check this answer

+3
source

Well, that worked, I had to:

  • " ...", "..." .
  • Maven > ( ) .

enter image description here

+2

It seems that the properties file has this symbol as part of the value. You must avoid this. Note: altougt is the usual syntax key=value, key:valuealso valid

0
source

Source: https://habr.com/ru/post/1535350/


All Articles