Hi,

I too ran into the same issue once I was trying to build dss stratos
services profile.
To share my experience on this, I managed to get it fixed without adding the
property
suggested by Sameera to build.properties file and of course with
the presence of
featureArtifactDef entry corresponds to tenant.mgt.core feature. The only
thing I had
to do was changing the svn repo url to svn.wso2.org/repos from
wso2.org/repos since
I was using the latter. In my case, the cloud-desc.xml was not located
properly during
the build time of the aforementioned feature and thus it threw a
filenotfound exception
while installing the feature. I wonder it's the same with this instance as
well.

anywys, I believe, we could have delved further into this matter if Harshana
could attach
both of the log files generated while installing the features.



Regards,

On Wed, Apr 6, 2011 at 11:12 PM, Hasini Gunasinghe <has...@wso2.com> wrote:

> Hi,
>
> Though this occurs randomly, since this has been reported couple of times,
> it will be good to figure out a proper fix for this and apply on trunk,
> since this may occur in builder machine too.
>
> Seems like there are two solutions, which Harshana has found and which
> Sameera has suggested in the other thread and verified by Fazlan.
>
> Is it possible for us to figure out which is the proper fix? either of the
> above or both?
>
> Thanks,
> Hasini.
>
>
> On Wed, Apr 6, 2011 at 9:42 PM, Fazlan Sabar <faz...@wso2.com> wrote:
>
>> Hi, I encountered the same problem when building GReg, and I followed the
>> set of instructions mentioned by Dimuthu and Sameera. It worked like a
>> charm. To summarize, following is what I did,
>>
>> 1. Added the following line to build.properties(both files) found
>> at 
>> carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
>>     s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
>> 2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
>>     carbon/features/stratos/tenant-mgt/
>> org.wso2.carbon.tenant.mgt.core.feature/resources/conf
>> 3. Built the relevant feature and product
>>
>> Thanks Dimuthu and Sameera!
>>
>> On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin <harsh...@wso2.com>wrote:
>>
>>> Hi Dimuthu,
>>>
>>> On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne 
>>> <dimut...@wso2.com>wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> As we have discussed in a previous thread  (Error while installing
>>>> tenant.mgt feature!) we can fix this by taking the svn checkout from
>>>> svn.wso2.org completely root to bottom.
>>>>
>>>> And as a precausion we can also do the following.
>>>>
>>>>  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
>>>> inside tenant-mgt core feature
>>>>
>>>> I cannot commit the above however.
>>>>
>>>
>>> I was able to fix the problem by uncommenting  *
>>> "<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}</featureArtifactDef>"
>>> *. After that the build was successful.
>>>
>>> Is there any specific reason to comment it out while leaving the 
>>> *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
>>> *? Is it wrong to uncomment that featureDef?
>>>
>>> Thanks and Regards,
>>> Harshana
>>>
>>>>
>>>> tx,
>>>> dimuthu
>>>>
>>>> On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin <harsh...@wso2.com>wrote:
>>>>
>>>>> Log file attached.
>>>>>
>>>>>
>>>>> On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin <harsh...@wso2.com>wrote:
>>>>>
>>>>>> svn up was taken around 6.30 pm. It was successful this morning.
>>>>>> Please have a look.
>>>>>>
>>>>>>
>>>>>>
>>>>>> [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
>>>>>> [INFO]    task-segment: [install]
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] [incremental-build:incremental-build {execution: default}]
>>>>>> [INFO] Verifying module descriptor ...
>>>>>> [INFO] Pom descriptor modification detected.
>>>>>> [INFO] Deleting
>>>>>> /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
>>>>>> [INFO] [clean:clean {execution: auto-clean}]
>>>>>> [INFO] Deleting
>>>>>> /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
>>>>>> [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
>>>>>> [INFO] Configured Artifact:
>>>>>> org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
>>>>>> [INFO] Configured Artifact:
>>>>>> org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
>>>>>> [INFO] Expanding:
>>>>>> /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
>>>>>> into
>>>>>> /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
>>>>>> [INFO] Expanding:
>>>>>> /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
>>>>>> into 
>>>>>> /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
>>>>>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>>>>>> [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.system.statistics.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.security.mgt.feature
>>>>>> [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
>>>>>> [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
>>>>>> [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.registry.core.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.identity.core.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.identity.provider.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.identity:org.wso2.stratos.identity.styles.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.identity:org.wso2.stratos.identity.utils.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.common.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.identity:org.wso2.stratos.identity.ui.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
>>>>>> [INFO] Extracting feature
>>>>>> org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
>>>>>> [INFO] Copying resources
>>>>>> [INFO] Running Equinox P2 Publisher Application for Repository
>>>>>> Generation
>>>>>> [INFO] Generating metadata for ..
>>>>>> [INFO] Generation completed with success [3 seconds].
>>>>>> [INFO] Running Equinox P2 Category Publisher Application for the
>>>>>> Generated Repository
>>>>>> [INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
>>>>>> [INFO] Running Equinox P2 Director Application
>>>>>> [ERROR] The installable unit
>>>>>> org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been
>>>>>> found.
>>>>>> [ERROR] Application failed, log file location:
>>>>>> /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302097985020.log
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] BUILD ERROR
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO]
>>>>>>
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Harshana Martin
>>>>>> Software Engineer
>>>>>> WSO2 Inc.
>>>>>> Web:http://wso2.com
>>>>>>           http://wso2.org
>>>>>>
>>>>>> Mobile: +94 716062650
>>>>>> Blog: http://harshana05.blogspot.com
>>>>>> Profile: https://www.google.com/profiles/harshana05
>>>>>> Twitter: http://twitter.com/harshana05
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Harshana Martin
>>>>> Software Engineer
>>>>> WSO2 Inc.
>>>>> Web:http://wso2.com
>>>>>           http://wso2.org
>>>>>
>>>>> Mobile: +94 716062650
>>>>> Blog: http://harshana05.blogspot.com
>>>>> Profile: https://www.google.com/profiles/harshana05
>>>>> Twitter: http://twitter.com/harshana05
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Harshana Martin
>>> Software Engineer
>>> WSO2 Inc.
>>> Web:http://wso2.com
>>>           http://wso2.org
>>>
>>> Mobile: +94 716062650
>>> Blog: http://harshana05.blogspot.com
>>> Profile: https://www.google.com/profiles/harshana05
>>> Twitter: http://twitter.com/harshana05
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Fazlan
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc.
Email: praba...@wso2.com <harsha...@wso2.com>
Mobile: +94774171471

<http://harshana05.blogspot.com/>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to