Jaikiran Pai wrote:Arend, welcome to CodeRanch!
I thought I would reply to Lozza's question but then I noticed that the configurations in the startup script seem to have too many changes and also there wasn't the exact error message/log in the post.
Can one of you try it against a clean installation and explain how exactly you are trying to connect JConsole and what exactly fails? Also please tell us the exact WildFly/AS7 version in use.
Hi Jaikiran,
meanwhile i have had a bit of luck, getting at least a local connection to JBoss, although not as eöegant as i would like to.
My scenario is that i have a JBoss running as windows service, and as i understood a bunch of differend descriptions in the web, there is the first problem.
To establish a loval connection, the service and the monitoring tool have to be run by the same user. Sounds pretty easy, but runas just didn't work. That might be because of the fact, that the JBoss seems to be not manageable, if started as a service. The dirty workaround was to stop the service and start it inside the console by hand. Well at least i get a pretty glimpse of what i would get, if the whole connection issue is solved :-)
btw. i use JBoss EAP 6.2, which is a part of a bundled installation in one of our products.
Now for the remote connection...
despite of having the often proposed parameters set, the named tools constantly fail to configure/establish jmx connections.
as i understood it, the first step would be just to establish a unsecured connection without authentication, as it is the simplest startingpoint.
i guess there could be a problem with this, as JBoss wants it's management to be accessed by known users.
in later scenarios i surely would want to have secure connections and authenticated users, to have a basis to provide proper monitoring and analysis capabilities to our customers.
so far my trial'n'error knowledge, I'll have to set up a fresh environment in a bit, and will then be more detailed about what exactly i configure and in which way it fails.
thanks anyhow and a good day to all of you,
arend