4 Replies Latest reply on Nov 13, 2007 9:22 AM by Frank

    Problem changing an MBean attribute

    Frank Newbie

      Hi all,
      I'm trying to change some MBean attributes of my connection pool (named OracleDS)

      Unfortunately when I try to change a property f.e. BlockingTimeoutMillis I get an error:

      server.invoke(new ObjectName("jboss.jca:name=OracleDS,service=ManagedConnectionPool"), "BlockingTimeoutMillis", new String[] { "10000" },new String[] { Integer.TYPE.getName() });


      Caused by: java.lang.IllegalArgumentException: Unable to find operation BlockingTimeoutMillis(int)

      What's wrong ? the signature of the method ? or what else ?
      Thanks
      Francesco