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 7062647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:37:09+00:00 2026-05-28T04:37:09+00:00

I have a default Glassfish 3 installation and I am trying to create a

  • 0

I have a default Glassfish 3 installation and I am trying to create a secured JMX connection to this server.

I am familiar with adding JVM arguments like:

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8686
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote. authenticate=true
-Dcom.sun.management.jmxremote.password.file=/usr/SYNCH/PACKT/3166/Chapters_Code/resources/jmxremote.password
-Dcom.sun.management.jmxremote.access.file=/usr/SYNCH/PACKT/3166/Chapters_Code/resources/jmxremote.access

But I am confused by some blogs I see talking about using

asadmin set configs.config.server-config.admin-service.jmx-connector.system.security-enabled=true

to alter the to remove the security-enabled=”false” property.

So I want to know:

Does removing security-enabled=”false” entry on the make Glassfish use the built-in admin authentication provider? If so, how do I turn that security on so I can access JMX securely?
I am just confused as to what the is suppose to secure against and how to configure more advanced usages.

If the previous question is not correct and/or not possible, then is adding the JVM arguments above the only way to add login security for JMX on glassfish?

  • 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-05-28T04:37:10+00:00Added an answer on May 28, 2026 at 4:37 am

    Out of the box, when you set a password for the admin user, jmx will require credentials.

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

Sidebar

Related Questions

I have a glassfish server built with company default script. Then I have Liferay
My server have default php version of 4, so when I run some script
I have this managed bean: package com.DX_57.SR_57; /** include default packages for Beans */
Is it possible to have default arguments in MATLAB? For instance, here: function wave(a,
i have default.aspx and index.html. I uploaded both to the server, but i want
I want to be able to have default text like Enter content here... appear
here's a tricky question... I have default styled input fields (no css added, just
I have a default concrete type defined in a registry: ForRequestedType<IXRepository>() .TheDefaultIsConcreteType<CacheXRepository>(); The ChaceXRepository
I have used default mail() function to send email it sends emails to yahoo
I have a little app that have by default youtube as homepage. You can

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.