Hi Kasun,

There is a schema validation that happens when adding a new lifecycle. In
order for that to happen, the ifecycle-config.xsd should be there in the
given location. IIRC, G-Reg includes this file when building the
distribution. Please check whether AF has such step and if not, please
refer to the G-Reg build to see how it is done.

Thanks,
Janaka


On Thu, Feb 5, 2015 at 1:55 PM, Kasun De Silva <kas...@wso2.com> wrote:

> Hi Janaka,
>
> In the given path (wso2appfactory-2.1.0-SNAPSHOT/repository/resources/)
> all I can find is,
>
> ├── lifecycles
> │   ├── configurations.xml
> │   └── UploadableApplicationLifeCycle.xml
> ├── rxts
> │   ├── application.rxt
> │   ├── appversions.rxt
> │   ├── database.rxt
> │   ├── databasetemplate.rxt
> │   ├── databaseuser.rxt
> │   ├── eta.rxt
> │   └── repouser.rxt
> ├── rxt.xsd
> ├── security
> │   ├── client-truststore.jks
> │   ├── tokenstore
> │   └── wso2carbon.jks
> ├── services-config.xsd
> └── service-ui-config.xsd
>
> Thanks,
> Kasun
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Thu, Feb 5, 2015 at 11:55 AM, Janaka Ranabahu <jan...@wso2.com> wrote:
>
>> Hi Kasun,
>>
>> On Thu, Feb 5, 2015 at 11:49 AM, Kasun De Silva <kas...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> Observed following in the AF log, This happens when login into tenant
>>> admin for the first time right after creating the tenant.
>>>
>>> we are using org.wso2.carbon.governance.lcm_4.2.1.jar in this pack.
>>>
>>>
>>> Any clue why is this happening ?
>>>
>> ​
>> ​This is when adding the LC for the 1st time. Could you check whether the
>> ​given file(
>> ​
>> /ifecycle-config.xsd) is there in the correct location?
>>
>> Thanks,
>> Janaka​
>>
>>
>>>
>>> TID: [0] [AF] [2015-02-05 10:22:21,890] ERROR {
>>> org.wso2.carbon.governance.lcm.util.CommonUtil} -  Unable to get a
>>> schema validator from the given file path : /mnt/
>>> 192.168.16.2/appfactory/wso2appfactory-2.1.0-SNAPSHOT/repository/resources/lifecycle-config.xsd
>>> {org.wso2.carbon.governance.lcm.util.CommonUtil}
>>> TID: [0] [AF] [2015-02-05 10:22:22,499] ERROR {
>>> org.wso2.carbon.governance.lcm.util.CommonUtil} -  Unable to get a
>>> schema validator from the given file path : /mnt/
>>> 192.168.16.2/appfactory/wso2appfactory-2.1.0-SNAPSHOT/repository/resources/lifecycle-config.xsd
>>> {org.wso2.carbon.governance.lcm.util.CommonUtil}
>>>
>>> Thanks,
>>>
>>> *Kasun de Silva*
>>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email   : kas...@wso2.com
>>> mobile : +94 77 794 4260
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Janaka Ranabahu*
>> Senior Software Engineer; WSO2 Inc.; http://wso2.com
>>
>>
>> *E-mail: jan...@wso2.com <http://wso2.com>**M: **+94 718370861
>> <%2B94%20718370861>*
>>
>> Lean . Enterprise . Middleware
>>
>
>


-- 
*Janaka Ranabahu*
Senior Software Engineer; WSO2 Inc.; http://wso2.com


*E-mail: jan...@wso2.com <http://wso2.com>**M: **+94 718370861*

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to