I have something going on here that I don't understand. I am running Jboss 3.2.2RC2 and have a method that returns a Vector of account names. The method takes no parameters but when I try to call invoke on that method I get a ReflectionExcpetion caused by a NoSuchMethodError. If I add a parameter to the method, even though I do nothing with it, and call invoke the method and pass in a dummy parameter it works just fine.
I call the invoke method when there is no parameters as such:
Vector vAliases = (Vector) jboss.invoke(name, "getAcctAliases", null, null);
Is there something I am doing wrong here.
AcctAliases is an attribute, you can only read the value with the getAttribute() call.