SecurityRealms portlet is broken
--------------------------------
Key: GERONIMO-2546
URL: http://issues.apache.org/jira/browse/GERONIMO-2546
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: console
Affects Versions: 1.2
Reporter: Vamsavardhana Reddy
Fix For: 1.2
Security Realm portlet is broken. Add a new security realm does not work since
the plan generation is failing. Clicking on "Deploy" button outputs the
following to the console, but, no errors are logged to geronimo.log!!!
Deployer operation failed: Could not parse xml in plan
org.apache.geronimo.common.DeploymentException: Could not parse xml in plan
at org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDeploy
mentPlan(ServiceConfigBuilder.java:157)
at org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClas
sByCGLIB$$9f173be6.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:820)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$
$c104e3ae.getDeploymentPlan(<generated>)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:232)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
nvoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:855)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
239)
at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
eploy(AbstractDeployCommand.java:106)
at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
tributeCommand.java:60)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: [C:\
DOCUME~1\ADMINI~1.ALE\LOCALS~1\Temp\console-deployment62878.xml:17: error: cvc-c
omplex-type.4: Expected attribute: name in element [EMAIL
PROTECTED]://geronimo.apach
e.org/xml/ns/deployment-1.2, C:\DOCUME~1\ADMINI~1.ALE\LOCALS~1\Temp\console-depl
oyment62878.xml:17: error: cvc-complex-type.4: Expected attribute: class in elem
ent [EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.2]
Descriptor: <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
<environment>
<moduleId>
<groupId>console</groupId>
<artifactId>realm-ok</artifactId>
<version>1.0</version>
<type>car</type>
</moduleId>
<dependencies>
<dependency>
<groupId>geronimo</groupId>
<artifactId>j2ee-security</artifactId>
<type>car</type>
</dependency>
</dependencies>
</environment>
<service xsi:type="dep:gbeanType" xmlns:dep="http://geronimo.apache.org/xml/ns
/deployment-1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</module>
at org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBe
ansUtil.java:207)
at org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDeploy
mentPlan(ServiceConfigBuilder.java:137)
... 20 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira