This is due to schema validation failed. So you can remove the "maxoccurs"
attribute from  "table" element OR changed the RXT schema  to support that
attribute.

-Ajith


On Tue, Oct 7, 2014 at 9:36 PM, Buddhima Wijeweera <[email protected]>
wrote:

> Hi All,
>
> Recently I found there's an error with deploying RXTs with "maxoccurs"
> attribute. This error is getting only in tenant-mode (except for
> super-tenant).
>
> I'm using ES version 1.2.0-M3 (
> https://svn.wso2.org/repos/wso2/people/sameeram/es/ES1.2.0-M3/) and I
> have put RXTs in "/repository/resources/rxts" location.
>
> Error I'm getting is:
>
> [2014-10-07 21:24:08,914] ERROR
> {org.wso2.carbon.governance.list.util.CommonUtil} -  RXT validation fails
> due to: cvc-complex-type.3.2.2: Attribute 'maxoccurs' is not allowed to
> appear in element 'table'.
> [2014-10-07 21:24:08,915] ERROR
> {org.wso2.carbon.governance.registry.extensions.listeners.RxtLoader} -
>  Failed to add rxt files to registry
> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add
> rxt to registry
> at
> org.wso2.carbon.governance.registry.extensions.utils.CommonUtil.addRxtConfigs(CommonUtil.java:217)
> at
> org.wso2.carbon.governance.registry.extensions.listeners.RxtLoader.onLogin(RxtLoader.java:25)
> at
> org.wso2.carbon.core.services.callback.LoginSubscriptionManagerServiceImpl.triggerEvent(LoginSubscriptionManagerServiceImpl.java:42)
> at
> org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:121)
> at
> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:118)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> ........
>
> I would appreciate if someone can have a look on this issue.
>
> Thank You!
>
> --
> Buddhima Wijeweera
> Software Engineer; WSO2 Inc.; http://wso2.com ,
>
> Email: [email protected]
> Blog:   https://buddhimawijeweera.wordpress.com
> GitHub Profile: https://github.com/Buddhima
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  [email protected]
Mobile : +94772217350
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to