Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8495441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:34:31+00:00 2026-06-10T23:34:31+00:00

In my spring + tomcat solution I have a problem, with jmxmp connection. I

  • 0

In my spring + tomcat solution I have a problem, with jmxmp connection.

I have enabled jmx in tomcat + added jmxremote_optional.jar

This is manager.log

INFO: JMXProxy: Error getting attribute java.lang:type=MemoryPool,name=Code Cache CollectionUsageThreshold

javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: CollectionUsage threshold is
not supported

05.09.2012 16:33:13 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=Code Cache
CollectionUsageThresholdCount javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: CollectionUsage threshold is
not supported

05.09.2012 16:33:13 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=Code Cache
CollectionUsageThresholdExceeded
javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: CollectionUsage threshold is
not supported

05.09.2012 16:33:13 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
Catalina:type=Resource,resourcetype=Global,class=org.apache.catalina.UserDatabase,name=”UserDatabase”
modelerType javax.management.AttributeNotFoundException: Cannot find
attribute modelerType

05.09.2012 16:33:13 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=PS Eden Space UsageThreshold
javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: Usage threshold is not
supported

05.09.2012 16:33:14 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=PS Eden Space UsageThresholdCount
javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: Usage threshold is not
supported

05.09.2012 16:33:14 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=PS Eden Space UsageThresholdExceeded
javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: Usage threshold is not
supported

05.09.2012 16:33:14 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=PS Survivor Space UsageThreshold
javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: Usage threshold is not
supported

05.09.2012 16:33:14 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=PS Survivor Space UsageThresholdCount
javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: Usage threshold is not
supported

05.09.2012 16:33:14 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=PS Survivor Space
UsageThresholdExceeded javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: Usage threshold is not
supported

05.09.2012 16:33:50 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=Code Cache CollectionUsageThreshold
javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: CollectionUsage threshold is
not supported
05.09.2012 16:33:50 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=Code Cache
CollectionUsageThresholdCount javax.management.RuntimeMBeanException:
java.lang.UnsupportedOperationException: CollectionUsage threshold is
not supported
05.09.2012 16:33:50 org.apache.catalina.core.ApplicationContext log INFO: JMXProxy: Error getting attribute
java.lang:type=MemoryPool,name=Code Cache Collecti

This is spring con.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans
    xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd"
    default-lazy-init="true">
    <bean id="test" class="test.Test" />
    <!-- <bean class="org.springframework.jmx.support.MBeanServerFactoryBean">
        <property name="locateExistingServerIfPossible" value="true" />
    </bean> -->
    <bean id="serverConnector" class="org.springframework.jmx.support.ConnectorServerFactoryBean"/>
    <bean class="org.springframework.jmx.export.MBeanExporter" lazy-init="false">
        <property name="assembler">
            <bean class="org.springframework.jmx.export.assembler.MethodNameBasedMBeanInfoAssembler"            >
                <property name="managedMethods">
                    <list>
                        <value>getVal</value>
                        <value>setVal</value>
                    </list>
                </property>
            </bean>
        </property>
        <property name="beans">
            <map>
                <entry key="bean:name=Test" value-ref="test"/>
            </map>
        </property>
    </bean>
</beans>

This is java bean

public class Test {
    private String val = "";
    public String getVal() {
        return val;
    }
    public void setVal(String v) {
        val = v;
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:34:33+00:00Added an answer on June 10, 2026 at 11:34 pm

    I will response to my own question :).

    Problem was, port 9875 (default port of jmxmp) was used by another service.
    Hope it helps anybody else and save his time

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have spent three days trying to find the solution to this problem to
I have an JPA/Hibernate/Spring/Tomcat web application with second level data cache enabled for performance
I have an extremely simple web application running in Tomcat using Spring 3.0.2, Hibernate
When Tomcat starts I get this messages: INFO: Initializing Spring FrameworkServlet 'spring' 2012-06-20 17:02:55,209
We have a Tapestry-Spring-Hibernate webapp running on Tomcat 6, handing about a few 1000
I have a Hessian service on Spring + iBatis working on Tomcat. I'm wondering
I have a web application made with Spring that runs on Tomcat. On the
On my Tomcat-Spring-Java project I want to have the following URLS /index - to
I'm building a Route Planner Webapp using Spring/Hibernate/Tomcat and a mysql database, I have
I'm having this issue with Spring MVC on Tomcat that I think was the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.