4 Replies Latest reply on Jul 23, 2002 12:23 AM by davidjencks

    Unable to find PropertyEditor

    neil

      I have an RA that has about five config properties. One of them is a java.lang.Integer, another is a java.lang.Boolean, and when JBoss starts I see the following warning:

      10:27:30,142 WARN [RARDeployment] Unable to find a PropertyEditor for class 'class java.lang.Integer' of property 'HostPort' - skipping property
      10:27:30,703 WARN [RARDeployment] Unable to find a PropertyEditor for class 'class java.lang.Boolean' of property 'ShowMonitor' - skipping property

      Does this mean JBoss doesn't allow me to set integer or boolean config properties??

      Thanks
      - Neil

        • 1. Re: Unable to find PropertyEditor
          davidjencks

          What jboss version? In jboss 3 versions I have been using Integer config properties successfully. I think only string properties are available in 2.4 versions. Does your ra.xml and mbean config identify them as java.lang.Integer etc w/fully qualified names?

          • 2. Re: Unable to find PropertyEditor
            neil

            I'm using JBoss 3.0.0 and yes the fully qualify names are in both ra.xml and the mbean config.

            Thanks,
            Neil

            • 3. Re: Unable to find PropertyEditor
              dezzio

              I'm seeing exactly the same behavior.

              • 4. Re: Unable to find PropertyEditor
                davidjencks

                There's a test for this in 3.1 cvs now. Could you check with 3.0.1, Branch_3_0 and/or 3.1 cvs? If there are problems, compare with the org.jboss.test.jca.adapter test adapter used in the test case. (UserTxUnitTestCase I believe)

                Warning: config in 3.1 has just changed slightly, the JndiName attribute is now for ConnectionManager not RARDeployment.