[jboss-user] [Remoting] - turn off options in twiddle

katsteve do-not-reply at jboss.com
Fri May 25 11:51:10 EDT 2007


Hi.  We're trying to run shell scripts to remotely twiddle our server, and some of our MBeans have attributes with hyphens(-) in them.  Twiddle keeps interpreting them as twiddle options, and failing.  We tried using -- (stop processing options), but we don't think it works.

Can anyone tell us what's wrong with this cmd line?:

twiddle.sh -s myserver -- set jboss.MyMBean AttrName "-value myvalue"

We've also tried escaping the "-value" with \, and ', which only results in the escape char being passed and assigned to the AttrName.  We've also tried moving the -- after the 'set' cmd and to the end, also didn't work.

Any ideas?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048723#4048723

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048723



More information about the jboss-user mailing list