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

List:       wsas-java-dev
Subject:    Re: [Dev] Error when running the newest build of MB-4
From:       Niranjan Karunanandham <niranjan () wso2 ! com>
Date:       2017-05-31 5:40:13
Message-ID: CALFCKKZtbdDhGaySE0c2doWP+zepw89Ahqg5M1qf1AsTm7kT7w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Riyafa,

This issue is happening because the deployment folder is not present in the
product. As a workaround you can create it using the product repo bin.xml.
Can you create a git issue for this in the carbon-deployment repo? The fix
is to create the folder when the feature is installed.

Regards,
Nira

On Wed, May 31, 2017 at 10:54 AM, Gihan Anuruddha <gihan@wso2.com> wrote:

> Hi,
>
> This is a know issue. Can you please create an issue in here[1].
>
> [1] - https://github.com/wso2/carbon-deployment
>
> Regards,
> Gihan
>
> On Wed, May 31, 2017 at 9:32 AM, Pamod Sylvester <pamod@wso2.com> wrote:
>
>> (+) KasunG
>>
>> On Wed, May 31, 2017 at 9:27 AM, Riyafa Abdul Hameed <riyafa@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I built MB-4 from the 4.x.x branch of product-mb[1] and ran it by
>>> extracting 'wso2mb-4.0.0-SNAPSHOT.zip' from ''/product-mb/product/target'.
>>> I get the following error during execution of carbon.sh from the bin folder:
>>>
>>>> ERROR {org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent}
>>>> - Could not initialize carbon deployment engine
>>>> org.wso2.carbon.deployment.engine.exception.DeploymentEngineException:
>>>> Cannot find repository : /home/riyafa/Documents/Workspa
>>>> ce/product-mb/product/target/wso2mb-4.0.0-SNAPSHOT/deployment
>>>>     at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.
>>>> start(DeploymentEngine.java:103)
>>>>     at org.wso2.carbon.deployment.engine.internal.DeploymentEngineL
>>>> istenerComponent.onAllRequiredCapabilitiesAvailable(Deployme
>>>> ntEngineListenerComponent.java:212)
>>>>     at org.wso2.carbon.kernel.internal.startupresolver.StartupCompo
>>>> nentManager.lambda$notifySatisfiableComponents$51(StartupCom
>>>> ponentManager.java:238)
>>>>     at java.util.ArrayList.forEach(ArrayList.java:1249)
>>>>     at org.wso2.carbon.kernel.internal.startupresolver.StartupCompo
>>>> nentManager.notifySatisfiableComponents(StartupComponentMana
>>>> ger.java:224)
>>>>     at org.wso2.carbon.kernel.internal.startupresolver.StartupOrder
>>>> Resolver$1.run(StartupOrderResolver.java:204)
>>>>     at java.util.TimerThread.mainLoop(Timer.java:555)
>>>>     at java.util.TimerThread.run(Timer.java:505)
>>>>
>>>
>>> The current product-mb is written over C5 and I am not sure if it's an
>>> issue with C5. When I create a deployment folder in the
>>> wso2mb-4.0.0-SNAPSHOT folder and rerun product-mb the error goes away. Any
>>> highlight on the above issue would be of help.
>>>
>>> Thank you.
>>> Riyafa
>>>
>>>
>>> [1] https://github.com/wso2/product-mb/tree/4.x.x/product
>>>
>>> --
>>> Riyafa Abdul Hameed
>>> Software Engineer, WSO2 Lanka (Pvt) Ltd <http://wso2.com/>
>>>
>>> Email: riyafa@wso2.com <riyafa.12@cse.mrt.ac.lk>
>>> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
>>> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
>>> <http://twitter.com/Riyafa1>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pamod Sylvester *
>>
>> *WSO2 Inc.; http://wso2.com <http://wso2.com>*
>> cell: +94 77 7779495 <077%20777%209495>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> W.G. Gihan Anuruddha
> Associate Technical Lead | WSO2, Inc.
> M: +94772272595
>



-- 


*Niranjan Karunanandham*
Associate Technical Lead - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com

[Attachment #5 (text/html)]

<div dir="ltr">Hi Riyafa,<div><br></div><div>This issue is happening because the \
deployment folder is not present in the product. As a workaround you can create it \
using the product repo bin.xml. Can you create a git issue for this in the \
carbon-deployment repo? The fix is to create the folder when the feature is \
installed.</div><div><br></div><div>Regards,</div><div>Nira</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Wed, May 31, 2017 at 10:54 AM, \
Gihan Anuruddha <span dir="ltr">&lt;<a href="mailto:gihan@wso2.com" \
target="_blank">gihan@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"><div class="gmail_default" \
style="font-size:small">Hi,</div><div class="gmail_default" \
style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">This is a know issue. Can you please create an issue  in \
here<span id="m_-5172741617875071417gmail-70d9eefc-f382-4f31-8d8e-e9deaf1926c1" \
class="m_-5172741617875071417gmail-GINGER_SOFTWARE_mark">[</span>1].</div><div \
class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">[1] -  <a href="https://github.com/wso2/carbon-deployment" \
target="_blank">https://github.com/wso2/<wbr>carbon-deployment</a></div><div \
class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">Regards,</div><div class="gmail_default" \
style="font-size:small">Gihan</div></div><div class="gmail_extra"><div><div \
class="h5"><br><div class="gmail_quote">On Wed, May 31, 2017 at 9:32 AM, Pamod \
Sylvester <span dir="ltr">&lt;<a href="mailto:pamod@wso2.com" \
target="_blank">pamod@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">(+) KasunG</div><div \
class="gmail_extra"><br><div class="gmail_quote"><div><div \
class="m_-5172741617875071417h5">On Wed, May 31, 2017 at 9:27 AM, Riyafa Abdul Hameed \
<span dir="ltr">&lt;<a href="mailto:riyafa@wso2.com" \
target="_blank">riyafa@wso2.com</a>&gt;</span> wrote:<br></div></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div class="m_-5172741617875071417h5"><div \
dir="ltr"><div>Hi, <br><br></div>I built MB-4 from the 4.x.x branch of product-mb[1] \
and ran it by extracting &#39;wso2mb-4.0.0-SNAPSHOT.zip&#39; from \
&#39;&#39;/product-mb/product/target&#39;. I get the following error during execution \
of carbon.sh from the bin folder:<br><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">ERROR \
{org.wso2.carbon.deployment.en<wbr>gine.internal.DeploymentEngine<wbr>ListenerComponent} \
- Could not initialize carbon deployment engine \
org.wso2.carbon.deployment.eng<wbr>ine.exception.DeploymentEngine<wbr>Exception: \
Cannot find repository : \
/home/riyafa/Documents/Workspa<wbr>ce/product-mb/product/target/w<wbr>so2mb-4.0.0-SNAPSHOT/deploymen<wbr>t<br> \
at org.wso2.carbon.deployment.eng<wbr>ine.internal.DeploymentEngine.<wbr>start(DeploymentEngine.java:10<wbr>3)<br> \
at org.wso2.carbon.deployment.eng<wbr>ine.internal.DeploymentEngineL<wbr>istenerCompon \
ent.onAllRequired<wbr>CapabilitiesAvailable(Deployme<wbr>ntEngineListenerComponent.java<wbr>:212)<br> \
at org.wso2.carbon.kernel.interna<wbr>l.startupresolver.StartupCompo<wbr>nentManager.l \
ambda$notifySatis<wbr>fiableComponents$51(StartupCom<wbr>ponentManager.java:238)<br>  \
at java.util.ArrayList.forEach(Ar<wbr>rayList.java:1249)<br>       at \
org.wso2.carbon.kernel.interna<wbr>l.startupresolver.StartupCompo<wbr>nentManager.notifySatisfiableC<wbr>omponents(StartupComponentMana<wbr>ger.java:224)<br> \
at org.wso2.carbon.kernel.interna<wbr>l.startupresolver.StartupOrder<wbr>Resolver$1.run(StartupOrderRes<wbr>olver.java:204)<br> \
at java.util.TimerThread.mainLoop<wbr>(Timer.java:555)<br>       at \
java.util.TimerThread.run(Time<wbr>r.java:505)<br></blockquote><div><br></div><div>The \
current product-mb is written over C5 and I am not sure if it&#39;s an issue with C5. \
When I create a deployment folder in the wso2mb-4.0.0-SNAPSHOT folder and rerun \
product-mb the error goes away. Any highlight on the above issue would be of \
help.<br><br></div><div>Thank you.<br></div><div>Riyafa<br> </div><br><br>[1] <a \
href="https://github.com/wso2/product-mb/tree/4.x.x/product" \
target="_blank">https://github.com/wso2/produc<wbr>t-mb/tree/4.x.x/product</a><span \
class="m_-5172741617875071417m_-4344245823462781701HOEnZb"><font color="#888888"><br \
clear="all"><div><div><div><br>-- <br><div \
class="m_-5172741617875071417m_-4344245823462781701m_103425985357291056gmail_signature"><div \
dir="ltr"><span><div><div dir="ltr"><span \
style="font-weight:bold;font-size:16px;color:rgb(18,18,18);font-family:Helvetica,Arial,sans-serif">Riyafa \
Abdul Hameed</span><br> <span \
style="font-size:13px;color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif">Software \
Engineer,</span> <a href="http://wso2.com/" target="_blank">WSO2 Lanka (Pvt) \
Ltd</a><span style="font-size:13px;color:rgb(51,51,51);font-family:Helvetica,Arial,sans-serif"></span> \
<p style="margin-top:5px"> <span style="font:13px \
Arial;text-transform:none;color:rgb(69,102,142)">Email: </span><a \
href="mailto:riyafa.12@cse.mrt.ac.lk" style="font:13px \
Arial;text-transform:none;color:rgb(130,130,130);text-decoration:none" \
target="_blank"> riyafa@wso2.com</a><br> <span style="font:13px \
Arial;text-transform:none;color:rgb(69,102,142)">Website: </span><a \
href="http://riyafa.wordpress.com/" style="font:13px \
Arial;text-transform:none;color:rgb(130,130,130);text-decoration:none" \
target="_blank"> https://riyafa.wordpress.com/ </a><br> </p> <div \
style="text-align:left;margin-top:10px"><a href="http://facebook.com/riyafa.ahf" \
target="_blank"><img \
style="border-radius:0px;border-width:0px;border-style:none;border-color:currentcolor;width:16px;height:16px" \
src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/facebook.png" width="16" \
height="16"></a>  <a href="http://lk.linkedin.com/in/riyafa" target="_blank"><img \
style="border-radius:0px;border-width:0px;border-style:none;border-color:currentcolor;width:16px;height:16px" \
src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/linkedin.png" width="16" \
height="16"></a>  <a href="http://twitter.com/Riyafa1" target="_blank"><img \
style="border-radius:0px;border-width:0px;border-style:none;border-color:currentcolor;width:16px;height:16px" \
src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/twitter.png" width="16" \
height="16"></a></div></div></div></span></div></div> \
</div></div></div></font></span></div> \
<br></div></div>______________________________<wbr>_________________<br> Dev mailing \
list<br> <a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailma<wbr>n/listinfo/dev</a><br> \
<br></blockquote></div><span class="m_-5172741617875071417HOEnZb"><font \
color="#888888"><br><br clear="all"><div><br></div>-- <br><div \
class="m_-5172741617875071417m_-4344245823462781701gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b>Pamod \
Sylvester  </b><br><div> <b><div></div>
</b></div><div><b><div><span style="font-weight:normal">WSO2 Inc.; </span><a \
href="http://wso2.com" style="font-weight:normal" \
target="_blank">http://wso2.com</a><br></div></b></div><div>cell: <a \
href="tel:077%20777%209495" value="+94777779495" target="_blank">+94 77 \
7779495</a></div></div></div></div></div> </font></span></div>
<br>______________________________<wbr>_________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailma<wbr>n/listinfo/dev</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div \
class="m_-5172741617875071417gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr"><div><div dir="ltr">W.G. Gihan Anuruddha<br><div>Associate Technical Lead  \
| WSO2, Inc.</div><div>M:  \
<a>+94772272595</a></div><span></span></div></div></div></div> </div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><span><font color="#888888"><b><br>Niranjan \
Karunanandham<br></b><span><font color="#888888"><span><font \
color="#888888"><div><font face="georgia, serif">Associate Technical Lead</font>  - \
WSO2 Inc.<br><span><font color="#888888"><span><font color="#888888"><span><font \
color="#888888"><span><font color="#888888"><a value="+94773191455"><span><font \
color="#888888">WSO2 Inc.</font></span></a></font></span>: <a \
href="http://www.wso2.com" \
target="_blank">http://www.wso2.com</a></font></span></font></span></font></span></div><div><span><font \
color="#888888"><span><font color="#888888"><span><a href="http:///" \
target="_blank"></a><span></span><span></span><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png"><br></span></fon \
t></span></font></span></div></font></span></font></span></font></span></div></div></div></div></div></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