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? 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