You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2009/06/02 11:55:08 UTC

[jira] Created: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Parse XML error after deploying a EJB security jar
--------------------------------------------------

                 Key: GERONIMO-4668
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: security
    Affects Versions: 2.2
         Environment: OS:suse 10 Sp2 64bit

            Reporter: viola.lu
         Attachments: EJBSecurity.zip

1.Copy attached dw_groups and dw_user files  to $server_home/var/security
2.Deploy attached security realm plan xml to server
3.Deploy attached ejb run as jar to server, parse error popsup.




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


[jira] Closed: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu closed GERONIMO-4668.
------------------------------

    Resolution: Fixed

This problem is fixed in latest build.So close it.

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Updated: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu updated GERONIMO-4668:
-------------------------------

    Comment: was deleted

(was: This problem is fixed in latest build.So close it.)

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Updated: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu updated GERONIMO-4668:
-------------------------------

    Attachment: openejb-jar.xml

This one is parsed xml file that results in error


> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Updated: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu updated GERONIMO-4668:
-------------------------------

    Attachment: EJBSecurity.zip

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Commented: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715469#action_12715469 ] 

viola.lu commented on GERONIMO-4668:
------------------------------------

Server error log:
Error parsing geronimo-openejb.xml with xmlbeans.  For debug purposes, XML content written to: /opt/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/var/temp/openejb-jar-4468502479367059902.xml
org.apache.geronimo.common.DeploymentException: Error parsing geronimo-openejb.xml with xmlbeans.  For debug purposes, XML content written to: /opt/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/var/temp/openejb-jar-4468502479367059902.xml
	at org.apache.geronimo.openejb.deployment.XmlUtil.convertToXmlbeans(XmlUtil.java:148)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:521)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:256)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:135)
	at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:810)
Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors:

error: cvc-complex-type.2.4a: Expected element 'realm@http://geronimo.apache.org/xml/ns/credentialstore-1.0' instead of 'realm' here in element credential-store@http://geronimo.apache.org/xml/ns/credentialstore-1.0

Descriptor:



> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Updated: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang updated GERONIMO-4668:
----------------------------------

    Affects Version/s: 2.1.6
                       2.1.7
                       2.2.1

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.1.6, 2.1.7, 2.2, 2.2.1
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Reopened: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu reopened GERONIMO-4668:
--------------------------------


> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Commented: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715471#action_12715471 ] 

viola.lu commented on GERONIMO-4668:
------------------------------------

Got some hints from http://forums.java.net/jive/message.jspa?messageID=263414, a jaxb 2.1* bug.

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Closed: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "viola.lu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

viola.lu closed GERONIMO-4668.
------------------------------

    Resolution: Fixed

After upgrad jaxb to 2.1.12, this problem doesn't exist. Build 2010.05.17-12:44:47.101-0400. Close it.

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>            Assignee: Shawn Jiang
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Commented: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868118#action_12868118 ] 

Shawn Jiang commented on GERONIMO-4668:
---------------------------------------

I upgraded jaxb impl 2.1.12 that includes a fix to this problem. see:  https://issues.apache.org/jira/browse/GERONIMO-4861

Please very it again.

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>            Assignee: Shawn Jiang
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Commented: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735492#action_12735492 ] 

David Jencks commented on GERONIMO-4668:
----------------------------------------

See also https://jaxb.dev.java.net/issues/show_bug.cgi?id=585

I've encountered similar problems that I could work around by adding explicit named namespaces to every element rather than trying to use a default namespace or redefine the default namespace in an element.

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Reopened: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang reopened GERONIMO-4668:
-----------------------------------

      Assignee:     (was: Shawn Jiang)

jaxb 2.1.12 is causing a tck failure.  reverted to 2.1.7 since we have a workaround for this jira.

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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


[jira] Assigned: (GERONIMO-4668) Parse XML error after deploying a EJB security jar

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang reassigned GERONIMO-4668:
-------------------------------------

    Assignee: Shawn Jiang

> Parse XML error after deploying a EJB security jar
> --------------------------------------------------
>
>                 Key: GERONIMO-4668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4668
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS:suse 10 Sp2 64bit
>            Reporter: viola.lu
>            Assignee: Shawn Jiang
>         Attachments: EJBSecurity.zip, openejb-jar.xml
>
>
> 1.Copy attached dw_groups and dw_user files  to $server_home/var/security
> 2.Deploy attached security realm plan xml to server
> 3.Deploy attached ejb run as jar to server, parse error popsup.

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