[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-java-dev
Subject:    Re: [Dev] 4.1.2 Build Error am-p2-profile
From:       Ravi Undupitiya <ravi () wso2 ! com>
Date:       2013-05-31 14:22:13
Message-ID: CABrNzJxMNDJ1xJH4pVRBY4rWtUCkY0QHG7ZwVX_X97FG-Jm3EQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


For some reason the feature
org.wso2.carbon.stratos.common.server.feature-2.1.2.zip file does not
contain
features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xml - I
manually replaced this and got it working.

The same thing was done for tenant-mgt.xml which was also missing from the
feature zip.


On Fri, May 31, 2013 at 6:42 PM, Ravi Undupitiya <ravi@wso2.com> wrote:

> I'm getting the same error on 4.1.3 now with wso2esb-p2-profile. The error
> is below.
> 
> 
> An error occurred while configuring the installed items
> session context was:(profile=WSO2CarbonProfile,
> phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
> --> [R]org.wso2.carbon.stratos.common.server.feature.group 2.1.2,
> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
> 
> I/O Error while copying
> /home/esb/carbon/platform/4.1.0/products/esb/4.7.0/modules/p2-profile/target/wso2car \
> bon-core-4.1.0/repository/components/features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xml
>                 
> - see details.
> Caused by:  java.io.IOException: Source:
> /home/esb/carbon/platform/4.1.0/products/esb/4.7.0/modules/p2-profile/target/wso2car \
> bon-core-4.1.0/repository/components/features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xmldoes
>  not exists
> 
> 
> 
> 
> On Fri, May 31, 2013 at 2:59 PM, Nuwan Dias <nuwand@wso2.com> wrote:
> 
> > On Fri, May 31, 2013 at 2:07 PM, Kasun Indrasiri <kasun@wso2.com> wrote:
> > 
> > > Hi Ravi,
> > > 
> > > Seems there are successful builds on the same patch release version on
> > > clean repo. Refer '[Dev] BAM 2.3.0 RC pack for testing'.
> > > @AM team : Are we building 4.1.2 based packs on clean repo?
> > > 
> > 
> > Yes, we moved to a clean repo about 3/4 days back.
> > 
> > > 
> > > 
> > > On Fri, May 31, 2013 at 1:07 PM, Ravi Undupitiya <ravi@wso2.com> wrote:
> > > 
> > > > I'm getting the following build error while trying to build 4.1.2
> > > > branch:
> > > > 
> > > > 
> > > > [ERROR] Failed to execute goal
> > > > org.wso2.maven:carbon-p2-plugin:1.5.2:p2-profile-gen
> > > > (4-p2-profile-generation) on project am-p2-profile: P2 publisher return
> > > > code was 13 -> [Help 1]
> > > > 
> > > > 
> > > > An error occurred while configuring the installed items
> > > > session context was:(profile=WSO2CarbonProfile,
> > > > phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
> > > > --> [R]org.wso2.carbon.stratos.common.server.feature.group 2.1.2,
> > > > action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
> > > >  I/O Error while copying
> > > > /home/esb/carbon/platform/4.1.0/products/apimgt/1.4.0/modules/p2-profile/produ \
> > > > ct/target/wso2carbon-core-4.1.0/repository/components/features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xml
> > > >                 
> > > > - see details.
> > > > Caused by:  java.io.IOException: Source:
> > > > /home/esb/carbon/platform/4.1.0/products/apimgt/1.4.0/modules/p2-profile/produ \
> > > > ct/target/wso2carbon-core-4.1.0/repository/components/features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xmldoes
> > > >  not exists
> > > > 
> > > > 
> > > > --
> > > > *Ravi Undupitiya*
> > > > Software Engineer; WSO2 Inc.; http://wso2.com
> > > > *
> > > > *
> > > > *E-mail: ravi@wso2.com
> > > > **M: **+94 772 930 712*
> > > > *
> > > > *Lean . Enterprise . Middleware
> > > > 
> > > 
> > > 
> > > 
> > > --
> > > Kasun Indrasiri
> > > Associate Technical Lead
> > > WSO2, Inc.; http://wso2.com
> > > lean.enterprise.middleware
> > > 
> > > cell: +94 71 536 4128
> > > Blog : http://kasunpanorama.blogspot.com/
> > > 
> > 
> > 
> > 
> > --
> > Nuwan Dias
> > 
> > Member, Management Committee - Solutions Technology Group
> > Senior Software Engineer - WSO2, Inc. http://wso2.com
> > email : nuwand@wso2.com
> > Phone : +94 777 775 729
> > 
> 
> 
> 
> --
> *Ravi Undupitiya*
> Software Engineer; WSO2 Inc.; http://wso2.com
> *
> *
> *E-mail: ravi@wso2.com
> **M: **+94 772 930 712*
> *
> *Lean . Enterprise . Middleware
> 



-- 
*Ravi Undupitiya*
Software Engineer; WSO2 Inc.; http://wso2.com
*
*
*E-mail: ravi@wso2.com
**M: **+94 772 930 712*
*
*Lean . Enterprise . Middleware


[Attachment #5 (text/html)]

<div dir="ltr">For some reason the feature \
org.wso2.carbon.stratos.common.server.feature-2.1.2.zip file does not contain \
features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xml - I manually \
replaced this and got it working.  <div><br></div><div>The same thing was done for \
tenant-mgt.xml which was also missing from the feature zip. </div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 31, 2013 at 6:42 PM, \
Ravi Undupitiya <span dir="ltr">&lt;<a href="mailto:ravi@wso2.com" \
target="_blank">ravi@wso2.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">I&#39;m getting the same error on 4.1.3 now \
with wso2esb-p2-profile. The error is below. <br><div class="im"> <br><br><div>An \
error occurred while configuring the installed items<br> session context \
was:(profile=WSO2CarbonProfile, \
phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --&gt; \
[R]org.wso2.carbon.stratos.common.server.feature.group 2.1.2, \
action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).<br>

<br></div></div><div>I/O Error while copying \
/home/esb/carbon/platform/4.1.0/products/esb/4.7.0/modules/p2-profile/target/wso2carbo \
n-core-4.1.0/repository/components/features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xml \
- see details.<br>

Caused by:  java.io.IOException: Source: \
/home/esb/carbon/platform/4.1.0/products/esb/4.7.0/modules/p2-profile/target/wso2carbo \
n-core-4.1.0/repository/components/features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xmldoes \
not exists<div> <div class="h5"><br>
<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 31, 2013 at \
2:59 PM, Nuwan Dias <span dir="ltr">&lt;<a href="mailto:nuwand@wso2.com" \
target="_blank">nuwand@wso2.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>On Fri, May 31, 2013 at 2:07 \
PM, Kasun Indrasiri <span dir="ltr">&lt;<a href="mailto:kasun@wso2.com" \
target="_blank">kasun@wso2.com</a>&gt;</span> wrote:<br>


</div><div class="gmail_extra"><div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ravi,<div><br></div><div>Seems \
there are successful builds on the same patch release version on clean repo. Refer \
&#39;[Dev] BAM 2.3.0 RC pack for testing&#39;.</div>



<div>@AM team : Are we building 4.1.2 based packs on clean repo? \
</div></div></blockquote><div><br></div></div><div>Yes, we moved to a clean repo \
about 3/4 days back. </div><div><blockquote class="gmail_quote" style="margin:0px 0px \
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div dir="ltr">

</div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Fri, May \
31, 2013 at 1:07 PM, Ravi Undupitiya <span dir="ltr">&lt;<a \
href="mailto:ravi@wso2.com" target="_blank">ravi@wso2.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">

<div dir="ltr">I&#39;m getting the following build error while trying to build 4.1.2 \
branch: <br><br><br>[ERROR] Failed to execute goal \
org.wso2.maven:carbon-p2-plugin:1.5.2:p2-profile-gen (4-p2-profile-generation) on \
project am-p2-profile: P2 publisher return code was 13 -&gt; [Help 1]<br>






<br><br>An error occurred while configuring the installed items<br> session context \
was:(profile=WSO2CarbonProfile, \
phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --&gt; \
[R]org.wso2.carbon.stratos.common.server.feature.group 2.1.2, \
action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).<br>






 I/O Error while copying \
/home/esb/carbon/platform/4.1.0/products/apimgt/1.4.0/modules/p2-profile/product/targe \
t/wso2carbon-core-4.1.0/repository/components/features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xml \
- see details.<br>






Caused by:  java.io.IOException: Source: \
/home/esb/carbon/platform/4.1.0/products/apimgt/1.4.0/modules/p2-profile/product/targe \
t/wso2carbon-core-4.1.0/repository/components/features/org.wso2.carbon.stratos.common.server_2.1.2/conf/identity.xmldoes \
not exists<span><font color="#888888"><br>






<br clear="all"><div><br>-- <br><div \
style="font-size:13px;font-family:arial,sans-serif"><span \
style="font-family:garamond,serif"><font color="#222222"><b>Ravi \
Undupitiya</b></font></span></div> <div \
style="font-size:13px;font-family:arial,sans-serif"><span \
style="font-family:garamond,serif;color:rgb(51,51,51)">Software Engineer; \
</span><span style="font-family:garamond,serif;color:rgb(51,51,51)">WSO2 Inc.; <a \
href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a></span></div>






<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><font><i \
style="font-family:garamond,serif"><font \
color="#333333"><br></font></i></font></div><div \
style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">






<font><i style="font-family:garamond,serif"><font color="#333333">E-mail: \
</font><font color="#000000">ravi@<font><a href="http://wso2.com" \
target="_blank">wso2.com</a></font></font><br></i><i \
style="font-family:garamond,serif;color:rgb(51,51,51)">M: </i><i><font \
face="garamond, serif"><a href="tel:%2B94%C2%A0772%20930%20712" value="+94772930712" \
target="_blank">+94 772 930 712</a></font></i><div style="color:rgb(80,0,80)">






<i style="font-family:garamond,serif;color:rgb(51,51,51)"><br></i><span \
style="font-family:garamond,serif;color:rgb(51,51,51)">Lean . Enterprise . \
Middleware</span></div></font></div> </div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font \
color="#888888">-- <br>Kasun Indrasiri<br><span \
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Associate \
Technical Lead</span><br>



WSO2, Inc.; <a href="http://wso2.com" target="_blank">http://wso2.com</a><br>

lean.enterprise.middleware<br><br>cell: <a href="tel:%2B94%2071%20536%204128" \
value="+94715364128" target="_blank">+94 71 536 4128</a><br>Blog : <a \
href="http://kasunpanorama.blogspot.com/" \
target="_blank">http://kasunpanorama.blogspot.com/</a> </font></span></div>
</blockquote></div></div><span><font color="#888888"><br><br \
clear="all"><div><br></div>-- <br><div dir="ltr">Nuwan \
Dias<div><br></div><div>Member, Management Committee - Solutions Technology \
Group<br><div> Senior Software Engineer - WSO2, Inc. <a href="http://wso2.com" \
target="_blank">http://wso2.com</a></div> <div>email : <a \
href="mailto:nuwand@wso2.com" target="_blank">nuwand@wso2.com</a></div><div>Phone : \
<a href="tel:%2B94%20777%20775%20729" value="+94777775729" target="_blank">+94 777 \
775 729</a></div></div></div> </font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
style="font-size:13px;font-family:arial,sans-serif"><span \
style="font-family:garamond,serif"><font color="#222222"><b>Ravi \
Undupitiya</b></font></span></div>


<div style="font-size:13px;font-family:arial,sans-serif"><span \
style="font-family:garamond,serif;color:rgb(51,51,51)">Software Engineer; \
</span><span style="font-family:garamond,serif;color:rgb(51,51,51)">WSO2 Inc.; <a \
href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a></span></div>


<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><font><i \
style="font-family:garamond,serif"><font \
color="#333333"><br></font></i></font></div><div \
style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">


<font><i style="font-family:garamond,serif"><font color="#333333">E-mail: \
</font><font color="#000000">ravi@<font><a href="http://wso2.com" \
target="_blank">wso2.com</a></font></font><br></i><i \
style="font-family:garamond,serif;color:rgb(51,51,51)">M: </i><i><font \
face="garamond, serif"><a href="tel:%2B94%C2%A0772%20930%20712" value="+94772930712" \
target="_blank">+94 772 930 712</a></font></i><div style="color:rgb(80,0,80)">


<i style="font-family:garamond,serif;color:rgb(51,51,51)"><br></i><span \
style="font-family:garamond,serif;color:rgb(51,51,51)">Lean . Enterprise . \
Middleware</span></div></font></div> </div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span \
style="font-family:garamond,serif"><font color="#222222"><b>Ravi \
Undupitiya</b></font></span></div> <div \
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span \
style="font-family:garamond,serif;color:rgb(51,51,51)">Software Engineer; \
</span><span style="font-family:garamond,serif;color:rgb(51,51,51)">WSO2 Inc.; <a \
href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a></span></div> <div \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font><i \
style="font-family:garamond,serif"><font \
color="#333333"><br></font></i></font></div><div \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
 <font><i style="font-family:garamond,serif"><font color="#333333">E-mail: \
</font><font color="#000000">ravi@<font><a href="http://wso2.com" \
target="_blank">wso2.com</a></font></font><br></i><i \
style="font-family:garamond,serif;color:rgb(51,51,51)">M: </i><i><font \
face="garamond, serif">+94 772 930 712</font></i><div style="color:rgb(80,0,80)"> <i \
style="font-family:garamond,serif;color:rgb(51,51,51)"><br></i><span \
style="font-family:garamond,serif;color:rgb(51,51,51)">Lean . Enterprise . \
Middleware</span></div></font></div> </div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic