On Thu, Apr 19, 2012 at 10:40 AM, Kishanthan Thangarajah <
[email protected]> wrote:

>
>
> On Wed, Apr 18, 2012 at 12:25 PM, Reka Thirunavukkarasu <[email protected]>wrote:
>
>> Hi
>>
>> On Wed, Apr 18, 2012 at 11:59 AM, Kishanthan Thangarajah <
>> [email protected]> wrote:
>>
>>>
>>>
>>> On Wed, Apr 18, 2012 at 11:53 AM, Supun Malinga <[email protected]> wrote:
>>>
>>>> Hi Pradeep,
>>>>
>>>> Why do we have a lib/tomcat/webapps/ directory?. That is misleading for
>>>> a new user.
>>>>
>>>
>>> This directory, along with work, conf, is created by tomcat as
>>> "/lib/tomcat" is set as the catalina home for the embedded tomcat. But
>>> since we are using repo/deployment/server/webapps for webapp deployment,
>>> its not recommended to use this directory to deploy webapps.
>>>
>>>>
>>>> thanks,
>>>>
>>>> On Wed, Apr 18, 2012 at 11:41 AM, Pradeep Fernando <[email protected]>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> why you deploy the web in carbon_home/lib/tomcat/webapps ?
>>>>>
>>>>
>> When i work with https://wso2.org/jira/browse/CARBON-12866, i
>> used carbon_home/lib/tomcat/webapps to point the appbase of Virtual host
>> creation using catalina-server.xml. When creating virtual host and
>> deploying webapp inside that also, even though the context and host were
>> available in tomcat engine, i ended up with resource is not available from
>> the browser. Then only when i checked deploying webapp using 
>> carbon_home/lib/tomcat/webapps
>> was not working. I wanted to figure out like carbon_home/lib/tomcat/webapps
>> blocked by tomcat, webapp deployment in virtual host(created through
>> catalina-server.xml) also got blocked by tomcat.
>>
>
> Are you checking your webapps in vhosts using jsp's? This may be an issue
> related to this [1]. If yes, can you check it using servlets instead of
> jsp's?
>

As u said, it works only with servlets not with jsp's. Thanks for pointing
out.
The issue here is the host and context that are created by
catalina-server.xml is not having any web.xml to be referred, since we move
the web.xml from CATALINA-HOME/conf to CARBON-HOME/repository/conf/tomcat
and also we are setting the web.xml dynamically only to the contexts that
are created which use our own deployment. So, the tomcat's own deployment
is not referred any web.xml in the CATALINA-HOME/conf path.

I'm currently working on it. i'll update the thread once it is done.


> Also to be sure, can you check this on a standalone tomcat(7.0.26)
> instance as well, by following the same steps?
>
> Thanks,
> Kishanthan.
> [1] https://wso2.org/jira/browse/CARBON-12739
>
>>
>> With the current AppServer, we need to manually deploy the webapp inside
>> the virtual host which specified from catalina-server.xml. Is that the
>> proper way to go ahead?
>>
>>>
>>>>> --Pradeep
>>>>>
>>>>>
>>>>> On Tue, Apr 17, 2012 at 11:01 PM, Reka Thirunavukkarasu <[email protected]
>>>>> > wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> When i deployed a webapp into CARBON-HOME/lib/tomcat/webapps, the
>>>>>> relevant context got created. But accessing the resource of that 
>>>>>> particular
>>>>>> webapp through browser, is giving  "*The requested resource () is
>>>>>> not available."*
>>>>>>
>>>>>> FYI:
>>>>>> This webapp is working fine with
>>>>>> CARBON-HOME/repository/deployment/server/webapps.
>>>>>>
>>>>>> Could you provide suggestions to figure out this issue?
>>>>>>
>>>>>> Thanks,
>>>>>> Reka
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Pradeep Fernando
>>>>> Software Engineer
>>>>> Member, Management Committee - Platform & Cloud Technologies
>>>>> WSO2 Inc; http://wso2.com/
>>>>>
>>>>> blog: http://pradeepfernando.blogspot.com/
>>>>> m: +94776603662
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Supun Malinga,
>>>>
>>>> Software Engineer,
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>> email - [email protected] <[email protected]>
>>>> mobile - 071 56 91 321
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Software Engineer,
>>> Development Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com*
>>> Twitter - *http://twitter.com/kishanthan*
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Software Engineer,
> Development Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com*
> Twitter - *http://twitter.com/kishanthan*
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to