I have created a Profile Table and a profile inside that Table (I
looking the stack trace line :
javax.management.MalformedObjectNameException: Unterminated key property part seems you have mispelled the string for the ObjectName creation.
Which MBean are you using to invoke the editProfile operation?
Iâ€™m using JMX-Console, so I just press this link in the web console: profile="DemoBlock",profileTableName="Block",type=profile
After that I press â€œInvokeâ€ in the â€œeditProfileâ€ (Operation Name column).
What do you think?
Check out this thread
it might help you
Using the script created by Stefano it seems to work (good job with the script), but the problem was that the Profile has been created but not committed.
I have solved this bug changing the next line in the .bsh file:
ctx.getLog().info("*** Address " + address + " added to Profile.");
You have to change address -> addresses
Anyway, my problem now is a little bit more complicated because if I use JMX-Console and I use the getProfiles operation, I receive:
JMX MBean Operation Result
However, if I implement in the SBB the next thing:
Collection profilesID = profileFacility.getProfiles(profileTableName);
The method throws the next exception:
NullPointerException if profileTableName is null.
I canâ€™t understand it because of course the profileTableName is the same string that the one I use with the same Operation in the JMX-Console.
Thanks a lot,
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.