How to force an URL scan of the DeploymentScanner in EAP 5?
Issue
We are trying to force an URL scan of the DeploymentScanner in EAP 5 using twiddle, as we have done previously in EAP 4.3, but this command throws an exception. I guess in jboss 5 there is a new mbean. What is the Mbean to invoke in Jboss 5 in order to force an URL scan?
./twiddle.sh -u user -p password invoke jboss.deployment:type=DeploymentScanner,flavor=URL scan
13:56:20,028 ERROR [Twiddle] Command failure
org.jboss.console.twiddle.command.CommandException: MBean has no such operation named 'scan' with signature compatible with: []
at org.jboss.console.twiddle.command.InvokeCommand.invoke(InvokeCommand.java:217)
at org.jboss.console.twiddle.command.InvokeCommand.execute(InvokeCommand.java:291)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:306)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.