Geronimo-Devtools
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-453

JAXB Classes support for schema geronimo-login-config-2.0.xsd

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2, 2.1.3
    • Fix Version/s: 2.1.5, 2.2.0
    • Component/s: eclipse-plugin
    • Labels:
      None

      Description

      There is no JAXB class support for schema geronimo-login-config-2.0.xsd. Login Configuration settings must be specified as a element of xml-reference while generating security realm plan.

        Issue Links

          Activity

          Gavin made changes -
          Link This issue is depended upon by GERONIMODEVTOOLS-456 [ GERONIMODEVTOOLS-456 ]
          Gavin made changes -
          Link This issue blocks GERONIMODEVTOOLS-456 [ GERONIMODEVTOOLS-456 ]
          Delos Dai made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.1.5 [ 12314061 ]
          Resolution Fixed [ 1 ]
          Hide
          Delos Dai added a comment -

          Thanks Rodger!

          I pick up the patch from 455 and just commit part of it for this JIRA.

          #815171 for trunk and #815176 for 2.1.5 branch.

          Show
          Delos Dai added a comment - Thanks Rodger! I pick up the patch from 455 and just commit part of it for this JIRA. #815171 for trunk and #815176 for 2.1.5 branch.
          Hide
          Rodger Zhang added a comment -

          Thanks. This patch jaxb-loginconfig.patch has been merged into GERONIMODEVTOOLS-455's wizard_for_adding_dbpool_to_application_plan.patch.
          Only need to apply 2 patches wizard_for_adding_dbpool_to_application_plan.patch(455) and wizard_for_add_security_realm_to_plan.patch(456).

          Show
          Rodger Zhang added a comment - Thanks. This patch jaxb-loginconfig.patch has been merged into GERONIMODEVTOOLS-455 's wizard_for_adding_dbpool_to_application_plan.patch. Only need to apply 2 patches wizard_for_adding_dbpool_to_application_plan.patch(455) and wizard_for_add_security_realm_to_plan.patch(456).
          Ted Kirby made changes -
          Fix Version/s 2.2.0 [ 12313331 ]
          Fix Version/s 2.1.3 [ 12312705 ]
          Tim McConnell made changes -
          Fix Version/s 2.1.2 [ 12313277 ]
          Saurabh Sharma made changes -
          Attachment jaxb-loginconfig.patch [ 12387263 ]
          Hide
          Saurabh Sharma added a comment -

          This patch includes JAXB classes for geronimo-login-config-2.0.xsd as it was required to create Security Realm plan in GEP.It was required while i was creating wizard for generation of Security Realm in GEP same as in admin console.

          I created these JAXB classes and while running newly created Security Realm wizard I was getting follwing error:
          com.sun.istack.SAXException2: unable to marshal type "org.apache.geronimo.jee.loginconfig.LoginConfig" as an element because it is missing an @XmlRootElement annotation

          So I added @XmlRootElement before class name in LoginConfig.java and it starts working fine now, but I'm not sure that approach is right or not.
          Someone please look into this and if there is some problem with this patch please include JAXB support to geronimo-login-config-2.0.xsd schema as its required in GERONIMODEVTOOLS-455-456-consolidated.patch(https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-456)

          Show
          Saurabh Sharma added a comment - This patch includes JAXB classes for geronimo-login-config-2.0.xsd as it was required to create Security Realm plan in GEP.It was required while i was creating wizard for generation of Security Realm in GEP same as in admin console. I created these JAXB classes and while running newly created Security Realm wizard I was getting follwing error: com.sun.istack.SAXException2: unable to marshal type "org.apache.geronimo.jee.loginconfig.LoginConfig" as an element because it is missing an @XmlRootElement annotation So I added @XmlRootElement before class name in LoginConfig.java and it starts working fine now, but I'm not sure that approach is right or not. Someone please look into this and if there is some problem with this patch please include JAXB support to geronimo-login-config-2.0.xsd schema as its required in GERONIMODEVTOOLS-455 -456-consolidated.patch( https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-456 )
          Saurabh Sharma made changes -
          Field Original Value New Value
          Link This issue blocks GERONIMODEVTOOLS-456 [ GERONIMODEVTOOLS-456 ]
          Saurabh Sharma created issue -

            People

            • Assignee:
              Saurabh Sharma
              Reporter:
              Saurabh Sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development