Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Mbean's name contain spaces leads to a bug #55

Open
skiof007 opened this issue Aug 23, 2018 · 1 comment
Open

The Mbean's name contain spaces leads to a bug #55

skiof007 opened this issue Aug 23, 2018 · 1 comment

Comments

@skiof007
Copy link

skiof007 commented Aug 23, 2018

example:
error:
$>bean -d java.lang java.lang:name=Perm Gen
#IllegalArgumentException: Bean name java.lang:name=Perm isn't valid
$>bean java.lang:name=Perm Gen,type=MemoryPool
#IllegalArgumentException: Please specify domain using either -d option or domain command

normal:
$>bean java.lang:name=CodeCacheManager,type=MemoryManager
#bean is set to java.lang:name=CodeCacheManager,type=MemoryManager

@toughkrua
Copy link

toughkrua commented Jun 3, 2019

I have find at random what correct syntax with two backslashes.
For example: bean -d java.lang java.lang:name=Perm\\ Gen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants