1 Reply Latest reply on Feb 27, 2013 10:15 AM by Jesper Pedersen

    JCA validation report generation

    romanj Newbie

      Hello,

      I would like to strat discussion about this JIRA: https://issues.jboss.org/browse/AS7-528 which has been left to comminity.

      Description of the issue itself is not very descriptive

       

      Validation report regarding to IronJacamar documentation(http://docs.jboss.org/ironjacamar/userguide/1.1/en-US/html/validator.html#validator_reports) is something like this:

      Severity: ERROR

      Section: 19.4.2

      Description: A ResourceAdapter must implement a "public int hashCode()" method.

      Code: com.mycompany.myproject.ResourceAdapterImpl

       

      Severity: ERROR

      Section: 19.4.2

      Description: A ResourceAdapter must implement a "public boolean equals(Object)" method.

      Code: com.mycompany.myproject.ResourceAdapterImpl

       

       

      Report like above is passed to Jboss logs on validation failure.

       

      When validation finished with success there is no message pass to jboss log even though validation contain warnings. This have place when failOnWarn=false and there are warnings. In order to resolve this issue as a first step I provided a patch which pass validation warnings to IronJacamar logger(attached to JIRA). Previously they were just ommited and never printed.

      Any ideas on this?