geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4668) Parse XML error after deploying a EJB security jar
Date Tue, 02 Jun 2009 10:01:07 GMT

    [ 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.


Mime
View raw message