1 Reply Latest reply on Oct 5, 2005 12:25 PM by mstacey

    Setting JCA attributes through jmx-console

    mstacey

      Hi,

      Through the jmx-console, I can click on the following link under jboss.jca:

      name=someJcaRar,service=ManagedConnectionFactory

      I can then use the getManagedConnectionFactoryAttribute operation to examine some of the properties that I've defined in the ra.xml file.

      However, when I try to change any of the attributes using setManagedConnectionFactoryAttribute, I run in to problems. For instance, trying to set the DebugOutput attribute, using the following args:

      arg0: DebugOutput
      arg1: java.lang.String
      arg2: newOutputFile.log

      Clicking invoke tells me that the operation completed successfully without any return value, but if I use getManagedConnectionFactoryAttribute to query this attribute, I get a message again telling me that the operation completed successfully without any return value.

      Is it possible to change the attributes of the connectionFactory in this way? I also have a boolean value that I'd like to try changing dynamically.

      thanks!

      Mark