geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: [ISSUE] WTP server adapter creates wrong security markup
Date Sat, 10 Mar 2007 19:25:11 GMT
I have no idea where the problem lies, but.... is that really all of  
the XmlException you see?  If there's more, I think it would be  
helpful to see it... if not, that's a problem in itself IMO.

thanks
david jencks

On Mar 10, 2007, at 12:17 PM, Daniel S. Haischt wrote:

> Hello,
>
> don't know whether this belongs to Geronimo or
> WASCE ...
>
> Environment:
>
> Rational Software Architect v7
> Eclipse WTP server adapter V1.1
> WASCE V1.1.0.1
>
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build  
> pwi32devifx-20061016 (ifix 110599: SR3 + 109
> 092))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32  
> j9vmwi3223ifx-20061016 (JIT enabled)
> J9VM - 20061012_08722_lHdSMR
> JIT  - 20060908_1811ifx1_r8
> GC   - 20060906_AA)
> JCL  - 20061002
>
> After having added a security role to geronimo-web.xml using the  
> Eclipse deployment plan editor, I am getting the following error:
>
> Caused by:
> org.apache.xmlbeans.XmlException: Invalid deployment descriptor:  
> [error: cvc-complex-type.2.4a: Expected elements ...
>
> Deployment Plan:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"  
> xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"  
> xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"  
> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1">
>   <sys:environment>
>     <sys:moduleId>
>       <sys:groupId>default</sys:groupId>
>       <sys:artifactId>MYARTIFACT</sys:artifactId>
>       <sys:version>1.0</sys:version>
>       <sys:type>car</sys:type>
>     </sys:moduleId>
>   </sys:environment>
>   <context-root>/mymoduleWAR</context-root>
>   <sec:security>
>     <sec:role-mappings>
>       <sec:role role-name="myconfig">
>         <sec:description>myconfig</sec:description>
>       </sec:role>
>     </sec:role-mappings>
>   </sec:security>
> </web-app>
>


Mime
View raw message