Yes, Stratos 3.0.0.0 incubating?
Do I have to install WSO2's carbon product like Application Server to
Cartridge's instance and deploy my SaaS to Application Server?


On Thu, Jan 23, 2014 at 12:03 AM, chris snow <[email protected]> wrote:

> Quang,
>
> What version of stratos have you deployed?  Is it 3.0 ?
>
> Devs,
>
> Is there an example application that we could point Quang at to get him
> started?
>
>
>
>
> On Tue, Jan 21, 2014 at 12:04 PM, Quang Cường Vũ <[email protected]>wrote:
>
>> Hi.
>> Could anyone build very very simple a SaaS application deploy on Apache
>> Stratos. The application must be multi tenancy, run on one single instance?
>> :)
>>
>>
>> On Tue, Jan 21, 2014 at 1:19 PM, chris snow <[email protected]> wrote:
>>
>>> I've added a heading to the developer's guide as a placeholder.  Content
>>> probably won't start appearing there for quite some time as there is still
>>> much work to do on the rest of the developers guide.
>>>
>>>
>>> On Tue, Jan 21, 2014 at 4:55 AM, Lakmal Warusawithana 
>>> <[email protected]>wrote:
>>>
>>>> Hi Chris,
>>>>
>>>> Yes with Stratos 3.0.0 we have document how to create wordpress
>>>> application as a sample. I agree we need to do lot of stuff in this area.
>>>> Will start working on that. Will create cartridge creation guide first and
>>>> then based on that we can start creating many cartridges like , node.js,
>>>> ruby, mongo etc.
>>>> And we should have some sample application based on those cartridge.
>>>> Appreciate help from volunteers :)
>>>>
>>>>
>>>> On Fri, Jan 17, 2014 at 10:21 PM, chris snow <[email protected]>wrote:
>>>>
>>>>> Hi Afkham, are there any plans to create some examples applications
>>>>> with Stratos?  If not, maybe a (future) Stratos Users Guide could devote a
>>>>> few chapters to building an application?
>>>>>
>>>>>
>>>>> On Fri, Jan 17, 2014 at 4:36 PM, Afkham Azeez <[email protected]>wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Jan 17, 2014 at 9:10 PM, chris snow <[email protected]>wrote:
>>>>>>
>>>>>>> Quang, what is your tenant model?   If you have lots of tenants that
>>>>>>> will share the same application, I'm not sure that creating multiple
>>>>>>> tenants in WSO2 and deploying a copy of the code for each tenant will be
>>>>>>> very efficient because you will need to deploy a new instance of your 
>>>>>>> code
>>>>>>> for each tenant which will take up RAM, CPU, etc.
>>>>>>>
>>>>>>> My understanding is that the WSO2 tenant model will be most
>>>>>>> applicable when the tenants want to have different code bases from each
>>>>>>> other.  If you want all your tenants to have the same functionality and
>>>>>>> same code base, then the multi-tenancy should probably be built into 
>>>>>>> your
>>>>>>> application.
>>>>>>>
>>>>>>
>>>>>> The WSO2 tenancy model supports either writing an app & deploying it
>>>>>> in all tenants, or creating a single SaaS app, deploying it in the super
>>>>>> tenant space, and then using the tenancy APIs (CarbonContext etc) 
>>>>>> provided
>>>>>> to handle requests coming in from each tenant.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>>  WSO2 guys, please correct me if I'm wrong here.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jan 17, 2014 at 3:28 PM, Quang Cường Vũ <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Yeh, I know how to create SaaS with database, code multi-tenancy
>>>>>>>> but I don't have a point of view when my SaaS application combine with
>>>>>>>> WSO2's  product ie AppServer, ESB... and deploy on PaaS Apache Stratos 
>>>>>>>> on
>>>>>>>> OpenStack? I am a programmer and very new with Cloud Computing. I 
>>>>>>>> really
>>>>>>>> want to know how when everything combine with each other: tentant of 
>>>>>>>> SaaS,
>>>>>>>> tenant subscribe Cartridge, single-tenant cartridge, multi-tenant
>>>>>>>> cartridge, WSO2's middle ware products.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Jan 17, 2014 at 8:46 PM, Afkham Azeez <[email protected]>wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Jan 17, 2014 at 3:38 PM, Quang Cường Vũ <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> :D. OK. I will try my best because I am a .Net programmer :)
>>>>>>>>>> I have another question:
>>>>>>>>>> I want to use Tomcat cartridge to deploy a java SaaS application.
>>>>>>>>>> The SaaS application must be multi-tenancy: one code repository and 
>>>>>>>>>> one
>>>>>>>>>> database for all tenant.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> You can do this by creating a cartridge out of an AppServer that
>>>>>>>>> supports multi-tenancy such as WSO2 AppServer. It allows creating a 
>>>>>>>>> SaaS
>>>>>>>>> app. However, you will have to design your database with 
>>>>>>>>> multi-tenancy in
>>>>>>>>> mind.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> I wonder if Apache Stratos 3.0.0.0 incubating RC4 is mature for
>>>>>>>>>> me to build and deploy my SaaS aplication and could you give me some 
>>>>>>>>>> useful
>>>>>>>>>> links, directions to achieve.
>>>>>>>>>> Thank. :)
>>>>>>>>>>  I am very exiting with PaaS :). Sorry for my bad English :)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Fri, Jan 17, 2014 at 4:34 PM, Nirmal Fernando <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Great Quang! Thanks for the update. Imesh would be able to fix
>>>>>>>>>>> it, I guess.
>>>>>>>>>>>
>>>>>>>>>>> On your question, it would be great if you could develop a
>>>>>>>>>>> windows Cartridge and contribute to Stratos. Currently we've not 
>>>>>>>>>>> tried
>>>>>>>>>>> that.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jan 17, 2014 at 2:51 PM, Quang Cường Vũ <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Ok, I have fixed issue. I setup Apache Stratos successfully. I
>>>>>>>>>>>> can subscribe cartridge and run phpMyAdmin from MySQL cartridge. 
>>>>>>>>>>>> Thank you
>>>>>>>>>>>> very much.
>>>>>>>>>>>> Problems are:
>>>>>>>>>>>> Cartridges I download from:
>>>>>>>>>>>> http://imesh.gunaratne.org/blog/getting-started-with-apache-stratos-incubating-initial-release/
>>>>>>>>>>>> Apache Stratos I download verion 3.0.0.0 RC4, link:
>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/incubator/stratos/releases/3.0.0-incubating-rc4/.
>>>>>>>>>>>> Namespace in file wso2-cartridge-init.sh from Cartridge are wrong. 
>>>>>>>>>>>> I
>>>>>>>>>>>> replace with file in /opt of instance by file in Apache Stratos RC4
>>>>>>>>>>>> repository.
>>>>>>>>>>>> I have one question: If can I create Windows cartridge to
>>>>>>>>>>>> deploy Asp.net application?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Jan 16, 2014 at 10:49 AM, Nirmal Fernando <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Is this the correct Cartridge released with Stratos 3.0?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Jan 16, 2014 at 9:11 AM, Isuru Perera <[email protected]
>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> As I mentioned earlier, the request seems to be wrong inside
>>>>>>>>>>>>>> the PHP cartridge. Can you check what is the namespace for 
>>>>>>>>>>>>>> register service
>>>>>>>>>>>>>> call inside the init script?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Thu, Jan 16, 2014 at 8:59 AM, Quang Cường Vũ <
>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I subcribe PHP and I could ssh to PHP instance, but Agent
>>>>>>>>>>>>>>> raise error:
>>>>>>>>>>>>>>> ERROR {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -
>>>>>>>>>>>>>>>  Exception occurred while$
>>>>>>>>>>>>>>> org.apache.axis2.AxisFault: namespace mismatch require
>>>>>>>>>>>>>>> http://service.agent.cartridge.stratos.apache.org found $
>>>>>>>>>>>>>>>         at
>>>>>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:190)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I check in instance's log from:
>>>>>>>>>>>>>>> /var/log/wso2-cartridge-init.log   file
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Archive:  /var/lib/cloud/instance/payload/user-data.zip
>>>>>>>>>>>>>>>   inflating: /var/lib/cloud/instance/payload/launch-params
>>>>>>>>>>>>>>>   inflating:
>>>>>>>>>>>>>>> /var/lib/cloud/instance/payload/ssl-cert-snakeoil.pem
>>>>>>>>>>>>>>>   inflating:
>>>>>>>>>>>>>>> /var/lib/cloud/instance/payload/ssl-cert-snakeoil.key
>>>>>>>>>>>>>>>  * Restarting web server apache2
>>>>>>>>>>>>>>>  ... waiting .   ...done.
>>>>>>>>>>>>>>> Cloning into '/var/www'...
>>>>>>>>>>>>>>> started loggin .........
>>>>>>>>>>>>>>> logging started.........
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, Jan 15, 2014 at 11:13 PM, Isuru Perera <
>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Wed, Jan 15, 2014 at 9:05 PM, Quang Cường Vũ <
>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> When I subcribe PHP instancce SC report error:
>>>>>>>>>>>>>>>>> File does not exist:
>>>>>>>>>>>>>>>>> /home/sa/stratos-installer/apache-stratos-sc-3.0.0-incubating/repository/conf/gitRepoKey.xml
>>>>>>>>>>>>>>>>> Any idea?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> You can ignore this message. This is something we missed to
>>>>>>>>>>>>>>>> fix properly. It will not have any impact to subscribe process.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Isuru Perera
>>>>>>>>>>>>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>>>>>>>>>>>>>> Lean . Enterprise . Middleware
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> about.me/chrishantha
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> *V  u    Q u a n g   C u o n g *
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> *Software developer and Trainer*
>>>>>>>>>>>>>>> ------------------------------------
>>>>>>>>>>>>>>>  Mobile: 0988.397.448
>>>>>>>>>>>>>>> Email: [email protected]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <http://www.wisestamp.com/>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Isuru Perera
>>>>>>>>>>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>>>>>>>>>>>> Lean . Enterprise . Middleware
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> about.me/chrishantha
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>> Nirmal
>>>>>>>>>>>>>
>>>>>>>>>>>>> Nirmal Fernando.
>>>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> *V  u    Q u a n g   C u o n g *
>>>>>>>>>>>>
>>>>>>>>>>>> *Software developer and Trainer*
>>>>>>>>>>>> ------------------------------------
>>>>>>>>>>>>  Mobile: 0988.397.448
>>>>>>>>>>>> Email: [email protected]
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> <http://www.wisestamp.com/>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Best Regards,
>>>>>>>>>>> Nirmal
>>>>>>>>>>>
>>>>>>>>>>> Nirmal Fernando.
>>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>>>>
>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *V  u    Q u a n g   C u o n g *
>>>>>>>>>>
>>>>>>>>>> *Software developer and Trainer*
>>>>>>>>>> ------------------------------------
>>>>>>>>>>  Mobile: 0988.397.448
>>>>>>>>>> Email: [email protected]
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> <http://www.wisestamp.com/>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Afkham Azeez*
>>>>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com,
>>>>>>>>> *Member; Apache Software Foundation; 
>>>>>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>>>>>>
>>>>>>>>> *email: **[email protected]* <[email protected]>
>>>>>>>>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>>>>>>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>>>>>>> *twitter: 
>>>>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>>>>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>>>>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *Lean . Enterprise . Middleware*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>>> *V  u    Q u a n g   C u o n g *
>>>>>>>>
>>>>>>>> *Software developer and Trainer*
>>>>>>>> ------------------------------------
>>>>>>>>  Mobile: 0988.397.448
>>>>>>>> Email: [email protected]
>>>>>>>>
>>>>>>>>
>>>>>>>> <http://www.wisestamp.com/>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Check out my professional profile and connect with me on LinkedIn.
>>>>>>> http://lnkd.in/cw5k69
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Afkham Azeez*
>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com,
>>>>>> *Member; Apache Software Foundation; 
>>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>>>
>>>>>> *email: **[email protected]* <[email protected]>
>>>>>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>>>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>>>> *twitter: 
>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>>>
>>>>>> *Lean . Enterprise . Middleware*
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Check out my professional profile and connect with me on LinkedIn.
>>>>> http://lnkd.in/cw5k69
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Lakmal Warusawithana
>>>> Software Architect; WSO2 Inc.
>>>> Mobile : +94714289692
>>>> Blog : http://lakmalsview.blogspot.com/
>>>>
>>>>
>>>
>>>
>>> --
>>> Check out my professional profile and connect with me on LinkedIn.
>>> http://lnkd.in/cw5k69
>>>
>>
>>
>>
>> --
>>
>>
>> *V  u    Q u a n g   C u o n g *
>>
>> *Software developer and Trainer*
>> ------------------------------------
>>  Mobile: 0988.397.448
>> Email: [email protected]
>>
>>
>> <http://www.wisestamp.com/>
>>
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 


*V  u    Q u a n g   C u o n g *

*Software developer and Trainer*
------------------------------------
 Mobile: 0988.397.448
Email: [email protected]


<http://www.wisestamp.com/>

Reply via email to