On Tue, Sep 6, 2011 at 3:09 PM, Muhammed Shariq <[email protected]> wrote:
> On Tue, Sep 6, 2011 at 3:04 PM, Shameera Rathnayaka <[email protected]>wrote: > >> Hi Shariq , >> >> On Tue, Sep 6, 2011 at 2:52 PM, Muhammed Shariq <[email protected]> wrote: >> >>> Hi Shameera, >>> >>> Do we have the ability map custom contexts for apps deployed on Stratos? >>> If possible please point me out to how it could be done >>> >> >> i tested on localhost , in that case it works( with some assumptions ) . >> For this i added a CarbonTomcatValve to carbonTomcatContainer which check >> every request going through tomcat, in there i checked the host part name if >> it is ends with ".stratosapps.com" then it get the actual endpoint >> reference from a db where i have stored data and forward to that endpoint. >> > > OK thanks, so is these stuff committed and available with 3.2.0? And where > is db, its configurable? > not yet committed, i uses Cassandra as the DB, yes it can configurable Best Regards shameera > > Thanks! > >> >> >> >> >>> Thanks, >>> Shariq. >>> >>> >>> On Wed, Jun 22, 2011 at 10:31 AM, Shameera Rathnayaka <[email protected] >>> > wrote: >>> >>>> >>>> *Best Regards >>>> ~Shameera~* >>>> >>>> >>>> >>>> On Mon, Jun 20, 2011 at 10:28 PM, Sanjiva Weerawarana <[email protected] >>>> > wrote: >>>> >>>>> On Mon, Jun 20, 2011 at 1:47 PM, Shameera Rathnayaka < >>>>> [email protected]> wrote: >>>>> >>>>>> yes exactly but it should be <foo>.as.stratosapps.com then we can >>>>>> identify this is for the appserver >>>>>> >>>>> >>>>> There's no need to identify as appserver .. apps are only hosted on the >>>>> appserver :). Its fine to make the assumption that *.stratosapps.comis >>>>> for stuff on the appserver. >>>>> >>>>> The most scalable place to store the data persistently is in Cassandra. >>>>>>> For the runtime representation its better to use the distributed cache >>>>>>> so >>>>>>> that all nodes have the data handy when you need it on any node. >>>>>>> >>>>>>> >>>>>> Yes, as i only need to add name value pair and map a name with a >>>>>> value, Cassandra is one of the best solutions. Data storing things >>>>>> happens >>>>>> in org.wso2.carbon.urlMapper BE (which is a new component that to >>>>>> implement), when user hosting a service. >>>>>> >>>>> >>>>> Please change this classname (or package name) - convention is wrong! >>>>> >>>> >>>> changed BE to org.wso2.carbon.url.mapper and FE to >>>> org.wso2.carbon.url.mapper.ui >>>> >>>>> >>>>> >>>>>> Updating an existing table and all mapping things happen inside this >>>>>> component >>>>>> >>>>> >>>>> OK. >>>>> >>>>> Sanjiva. >>>>> -- >>>>> Sanjiva Weerawarana, Ph.D. >>>>> Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ >>>>> email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880| +1 >>>>> 650 265 8311 >>>>> blog: http://sanjiva.weerawarana.org/ >>>>> >>>>> Lean . Enterprise . Middleware >>>>> >>>>> _______________________________________________ >>>>> Carbon-dev mailing list >>>>> [email protected] >>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >> >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
