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

List:       wsf-javascript-dev
Subject:    Re: [Dev] Issue with deploying JAX-RS webapp in EMM
From:       Gayan Gunawardana <gayan () wso2 ! com>
Date:       2014-04-30 7:56:23
Message-ID: CALzgRABByCm3u3X8wn72Pv5iesX8h_SQrrTifoko1+bA9gXzgw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

Yesterday we had a discussion with Kishanthan and figure out some
fundamental things need to be corrected in EMM server. After the discussion
I have started revamping EMM server accordingly. Fortunately I got sorted
JAX-RS problem. As we discussed offline problem might be some fundamental
missing of artefacts. Thanks for KasunG and SupunM, giving me correct
advices to resolve the problem.


On Fri, Apr 25, 2014 at 6:47 PM, Gayan Gunawardana <gayan@wso2.com> wrote:

> Hi,
>
> Thanks for the quick reply.
>
> These are the features I have installed
>
> org.wso2.carbon:org.wso2.carbon.webapp.mgt.server.feature:4.2.2
>
> org.wso2.carbon:org.wso2.carbon.jaxws.webapp.mgt.feature:4.2.0
>
> org.wso2.carbon:org.wso2.carbon.as.runtimes.cxf.feature:4.2.2
>
> I have already updated bin.xml to copy necessary configurations like
> context.xml, will double check with AS.
>
>
> On Fri, Apr 25, 2014 at 6:32 PM, Kasun Gajasinghe <kasung@wso2.com> wrote:
>
>>
>> Can you list down the features you installed? Can you also check the
>> assembly bin.xml in AS distribution to identify the additional files AS has
>> copied that are related to cxf? As we saw, EMM missed context.xml.
>>
>>
>> On Fri, Apr 25, 2014 at 6:26 PM, Gayan Gunawardana <gayan@wso2.com>wrote:
>>
>>> Hi All,
>>>
>>> We are working on Integrating APIM to EMM. According to API security
>>> requirement we have to put oauth feature inside EMM server. There is no
>>> issue with installing the oauth feature but there is a JAX-RS webapp
>>> (oauth2.war) which need to be deployed. Deploying JAX-RS webapps does not
>>> work properly in EMM server.
>>>
>>> Artefacts like web app management feature, cxf runtime feature,
>>> context.xml, webapp-classloading.xml, webapp-classloading-environments.xml
>>> already available in the EMM server.  AS team also helped to figure out the
>>> issue but couldn't really find the issue.
>>>
>>> with debugging I found while deploying a jax-rs web app it does not hit
>>> CarbonWebappClassLoader.
>>>
>>> But org.wso2.carbon.tomcat CarbonTomcat reads configuration files
>>> properly.
>>>
>>> WDYT regarding this ?
>>>
>>>  --
>>> Gayan Gunawardana
>>> Software Engineer; WSO2 Inc.; http://wso2.com/
>>> Email: gayan@wso2.com
>>> Mobile: +94 (71) 8020933
>>>
>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: gayan@wso2.com
> Mobile: +94 (71) 8020933
> Blog: http://gayanj2ee.blogspot.com/
>



-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: gayan@wso2.com
Mobile: +94 (71) 8020933
Blog: http://gayanj2ee.blogspot.com/

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hi,<br><br></div>Yesterday we had a discussion with Kishanthan \
and figure out some fundamental things need to be corrected in EMM server. After the \
discussion I have started revamping EMM server accordingly. Fortunately I got sorted \
JAX-RS problem. As we discussed offline problem might be some fundamental missing of \
artefacts. Thanks for KasunG and SupunM, giving me correct advices to resolve the \
problem. <br> </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, \
Apr 25, 2014 at 6:47 PM, Gayan Gunawardana <span dir="ltr">&lt;<a \
href="mailto:gayan@wso2.com" target="_blank">gayan@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>Hi,<br><br></div><div>Thanks for the \
quick reply. <br></div><div><br>These are the features I have installed<br> \
<br>org.wso2.carbon:org.wso2.carbon.webapp.mgt.server.feature:4.2.2<br><br>org.wso2.carbon:org.wso2.carbon.jaxws.webapp.mgt.feature:4.2.0<br>
 <br>org.wso2.carbon:org.wso2.carbon.as.runtimes.cxf.feature:4.2.2<br><br></div>I \
have already updated bin.xml to copy necessary configurations like context.xml, will \
double check with AS.<br></div><div class="gmail_extra"> <div><div class="h5">
<br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 6:32 PM, Kasun Gajasinghe \
<span dir="ltr">&lt;<a href="mailto:kasung@wso2.com" \
target="_blank">kasung@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><br></div>Can you list down the features you installed? Can you \
also check the assembly bin.xml in AS distribution to identify the additional files \
AS has copied that are related to cxf? As we saw, EMM missed context.xml.</div>



<div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Fri, Apr 25, \
2014 at 6:26 PM, Gayan Gunawardana <span dir="ltr">&lt;<a \
href="mailto:gayan@wso2.com" target="_blank">gayan@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><div><div><div>Hi All,<br><br></div>We are working on Integrating \
APIM to EMM. According to API security requirement we have to put oauth feature \
inside EMM server. There is no issue with installing the oauth feature but there is a \
JAX-RS webapp (oauth2.war) which need to be deployed. Deploying JAX-RS webapps does \
not work properly in EMM server.<br>




</div><br></div><div>Artefacts like web app management feature, cxf runtime feature, \
context.xml, webapp-classloading.xml, webapp-classloading-environments.xml already \
available in the EMM server.   AS team also helped to figure out the issue but \
couldn&#39;t really find the issue.<br>




<br></div><div>with debugging I found while deploying a jax-rs web app it does not \
hit CarbonWebappClassLoader.<br><br></div><div>But org.wso2.carbon.tomcat \
CarbonTomcat reads configuration files properly.<br><br></div><div>




WDYT regarding this ?<span><font color="#888888"><br></font></span></div><span><font \
color="#888888"><div><br></div></font></span></div><span><font \
color="#888888"><div><div><div>

<div> <div><div>-- <br><div dir="ltr"><div><div><font color="#888888" face="arial, \
sans-serif">Gayan Gunawardana<br></font><div>

<font color="#888888" face="arial, sans-serif">Software Engineer; WSO2 Inc.; <a \
href="http://wso2.com/" target="_blank">http://wso2.com/</a><br></font></div>


<div><font color="#888888" face="arial, sans-serif">Email: <font color="#888888"><a \
href="mailto:gayan@wso2.com" target="_blank">gayan@wso2.com</a> \
<br></font></font></div><div><font color="#888888" face="arial, sans-serif">Mobile: \
<a value="+94719258281">+94 (71) <font color="#888888">8020933</font><br>




</a></font></div><font color="#888888"><font face="arial, sans-serif"> \
</font></font></div> </div>
</div>
</div></div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font \
color="#888888">-- <br><div dir="ltr"><b>Kasun Gajasinghe<br></b>Senior Software \
Engineer,  WSO2 Inc.<br>email: kasung AT spamfree <a href="http://wso2.com" \
target="_blank">wso2.com</a><br>



linked-in: <a href="http://lk.linkedin.com/in/gajasinghe" \
target="_blank">http://lk.linkedin.com/in/gajasinghe</a><br>blog: <a \
href="http://kasunbg.org" target="_blank">http://kasunbg.org</a><br>  <br>  </div> \
</font></span></div> </blockquote></div><br><br clear="all"><br>-- \
<br></div></div><div dir="ltr"><div><div><div><div class="h5"><font color="#888888" \
face="arial, sans-serif">Gayan Gunawardana<br></font><div>

<font color="#888888" face="arial, sans-serif">Software Engineer; WSO2 Inc.; <a \
href="http://wso2.com/" target="_blank">http://wso2.com/</a><br></font></div>


<div><font color="#888888" face="arial, sans-serif">Email: <font color="#888888"><a \
href="mailto:gayan@wso2.com" target="_blank">gayan@wso2.com</a> \
<br></font></font></div><div><font color="#888888" face="arial, sans-serif">Mobile: \
<a value="+94719258281">+94 (71) <font color="#888888">8020933</font><br>

</a></font></div></div></div><font color="#888888"><font face="arial, \
sans-serif">Blog: </font></font><font color="#888888"><font face="arial, \
sans-serif"><a href="http://gayanj2ee.blogspot.com/" \
target="_blank">http://gayanj2ee.blogspot.com/</a> </font></font></div>


</div>
</div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><div><font \
color="#888888" face="arial, sans-serif">Gayan Gunawardana<br></font><div>

<font color="#888888" face="arial, sans-serif">Software Engineer; WSO2 Inc.; <a \
href="http://wso2.com/" target="_blank">http://wso2.com/</a><br></font></div>


<div><font color="#888888" face="arial, sans-serif">Email: <font color="#888888"><a \
href="mailto:gayan@wso2.com" target="_blank">gayan@wso2.com</a> \
<br></font></font></div><div><font color="#888888" face="arial, sans-serif">Mobile: \
<a value="+94719258281">+94 (71) <font color="#888888">8020933</font><br> \
</a></font></div><font color="#888888"><font face="arial, sans-serif">Blog: \
</font></font><font color="#888888"><font face="arial, sans-serif"><a \
href="http://gayanj2ee.blogspot.com/" \
target="_blank">http://gayanj2ee.blogspot.com/</a> </font></font></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