geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Sharma (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMODEVTOOLS-453) JAXB Classes support for schema geronimo-login-config-2.0.xsd
Date Thu, 31 Jul 2008 08:24:31 GMT

     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Saurabh Sharma updated GERONIMODEVTOOLS-453:
--------------------------------------------

    Attachment: jaxb-loginconfig.patch

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)



> JAXB Classes support for schema geronimo-login-config-2.0.xsd
> -------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-453
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-453
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>          Components: eclipse-plugin
>    Affects Versions: 2.1.2, 2.1.x
>            Reporter: Saurabh Sharma
>            Assignee: Saurabh Sharma
>             Fix For: 2.1.2, 2.1.x
>
>         Attachments: jaxb-loginconfig.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message