-
1. Re: Twiddle feature in Wildfly AS 8.2.0
ctomc Jun 18, 2015 6:06 AM (in response to sridharthiyagarajan)1 of 1 people found this helpful1) yes we have jboss-cli which is much more powerful command line tool than twiddle ever was
2) jboss-cli
3) i wouldn't go with twiddle standalone as it is just a emulator of old one. just go with jboss-cli.
you can start it by running jboss-cli.bat|.sh in bin folder of wildfly.
-
2. Re: Twiddle feature in Wildfly AS 8.2.0
sridharthiyagarajan Jun 18, 2015 6:29 AM (in response to ctomc)Many thanks for the response .. Tomar Cerar. So, remote JMX server instance can be connected and MBeans operations can be managed using jboss-cli.bat. Could you please provide any tutorial related to jboss-cli feature if possible. Many thanks again.
-
3. Re: Twiddle feature in Wildfly AS 8.2.0
sridharthiyagarajan Jun 22, 2015 7:17 AM (in response to ctomc)Hello.. I opened jboss-cli.bat in gui mode and could not see any MBeans that application uses but could see them in JConsole. Could you please share any idea on how to invoke an MBean from command prompt using JBoss-cli.
-
4. Re: Twiddle feature in Wildfly AS 8.2.0
jameslivingston Jun 22, 2015 6:59 PM (in response to sridharthiyagarajan)I don't believe you can use arbitrary application MBeans from the CLI, only the JBoss and JVM related ones
-
5. Re: Twiddle feature in Wildfly AS 8.2.0
mayerw01 Jun 23, 2015 11:56 AM (in response to sridharthiyagarajan)Just for my understanding. Why do you need the MBeans feature in jboss-cli if you can do the same via jconsole?
-
6. Re: Twiddle feature in Wildfly AS 8.2.0
sridharthiyagarajan Jun 24, 2015 6:32 AM (in response to mayerw01)Hello.. I have an application running on JBoss 6 AS and am migrating to Wildfly 8.2.0 AS. It is an EAR application packed with MBeans and twiddle feature was used in JBoss 6 AS for managing MBeans in batch mode. So, am interested to implement the same in Wildfly 8 AS and trying to find a similar feature within Wildfly 8 AS.
-
7. Re: Twiddle feature in Wildfly AS 8.2.0
mayerw01 Jun 25, 2015 6:58 AM (in response to sridharthiyagarajan)1 of 1 people found this helpfulIt looks like this issue had been raised also in other forums (java - Can jconsole data be retrieved from the command line? - Stack Overflow). There are mentioned some tools which you may find useful. Another option might also be to program such a wrapper by yourself. This should not be to complicate. A working example is also explained in JMX subsystem configuration - WildFly 9 - Project Documentation Editor
-
8. Re: Twiddle feature in Wildfly AS 8.2.0
sridharthiyagarajan Jun 25, 2015 7:17 AM (in response to mayerw01)Many thanks for the response.. Mayer. So, I understand that in JBoss 6 AS, twiddle feature supported MBeans management from the command line but in Wildfly 8.2.0 AS, there is no such feature available.
The options you mentioned for MBeans management should be used.
1. Using JConsole
2. Using programmatic way
I saw one more option in the JBoss Developer site which is TWIDDLE STANDALONE - https://developer.jboss.org/people/arnoldjohansson/blog/2012/04/14/twiddle-standalone but not sure whether this is reliable solution.
Many thanks for your response.
-
9. Re: Twiddle feature in Wildfly AS 8.2.0
mayerw01 Jun 26, 2015 4:49 AM (in response to sridharthiyagarajan)1 of 1 people found this helpfulYes, you are right. I saw this blog. Obviously Arnold Johansson created a minimal standalone distribution of twiddle.
I am not sure about the argument from Tomaz Cerar.
But I've done some tests and so far it worked fine with wildfly-9.0.0.CR2. So I think this could be an option as well.
-
10. Re: Twiddle feature in Wildfly AS 8.2.0
sridharthiyagarajan Jun 26, 2015 5:02 AM (in response to mayerw01)Many thanks for the response... Mayer.