Is anyone running the WebSphere 8.5.0.1 Liberty Profile from inside Intellij 12?
I have added a WebSphere Server Run Configuration, but all I get is:
Error running WebSphere 8.5.0.1: JMX administration should be enabled
I can understand the error, but am not sure how to solve this within Intellij. I added server.xml inside WebSphere to say:
<featureManager>
<feature>localConnector-1.0</feature>
</featureManager>
But I am not sure Intellij is even reading this config file.
If anyone has this working, please tell me how. Thanks.
To make it possible for IDEA to administrate WebSphere LP with JMX, you should specify in the server.xml
:
<applicationMonitor updateTrigger="mbean" />
in addition to the fragment you've already specified:
<featureManager>
<feature>localConnector-1.0</feature>
</featureManager>
Actually, IDEA is able to make both changes for you -- you should just press the Fix button next to the JMX administration should be enabled
message in the run configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With