You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Dinesh Bandara <di...@wso2.com> on 2014/03/28 14:03:32 UTC

Single JVM installation guide

Hi,

I have modified single JVM installation script to support for profiles.
Default profile will be selected if you do not provide any.

Here I have attached the installation guide.

At the moment this script only support for "ActiveMQ". If you want to use a
different ActiveMQ version you have to edit followings in
conf/stratos-setup.conf

   - export
   activemq_pack=$stratos_packs/"apache-activemq-<version>-bin.tar.gz"
   - export activemq_path=$stratos_path/"apache-activemq-<version>"

In default profile you will be able to use pre-configured activemq by
providing it's ip. If not so *apach-activemq-5.8.0* will be installed into
your *stratos_path*

Thanks
-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Re: Single JVM installation guide

Posted by Dinesh Bandara <di...@wso2.com>.
Please find the updated Single JVM installation guide

Thanks


On Thu, Apr 3, 2014 at 12:13 PM, Udara Liyanage <ud...@wso2.com> wrote:

> MySQL connector jar link should direct to
> http://dev.mysql.com/downloads/connector/j/
>
>
> On Sat, Mar 29, 2014 at 10:41 AM, chris snow <ch...@gmail.com> wrote:
>
>> I did some brief tests on the OS memory consumption while developing
>> my vagrant scripts.
>>
>> Memory of virtualbox guest OS  (after 'sync; echo 3 >
>> /proc/sys/vm/drop_caches' to flush the linux memory cache):
>>
>>    multiple vms:  approx. 3.9 Gb memory
>>    single vm:  approx. 1 Gb memory
>>
>> Caveat, I hadn't connected to the IaaS or done anything useful yet -
>> just started the services.
>>
>> It looks like this work on the single jvm has been very worthwhile!
>>
>>
>> On Sat, Mar 29, 2014 at 3:28 AM, Nirmal Fernando <ni...@gmail.com>
>> wrote:
>> > Great work Dinesh! Thanks for your contribution on this. Will used this
>> for
>> > testing and let you know.
>> >
>> >
>> > On Sat, Mar 29, 2014 at 8:47 AM, Dinesh Bandara <di...@wso2.com>
>> wrote:
>> >>
>> >> Sorry I have missed that in attached document. It's already added in
>> [1].
>> >>
>> >> [1]
>> >>
>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Prerequisites
>> >>
>> >>
>> >> On Fri, Mar 28, 2014 at 7:27 PM, Udara Liyanage <ud...@wso2.com>
>> wrote:
>> >>>
>> >>> Shouldn't we add maven as a prerequisite.
>> >>>
>> >>>
>> >>>
>> >>> Touched, not typed. Erroneous words are a feature, not a typo.
>> >>>
>> >>> On Mar 28, 2014 6:34 PM, "Dinesh Bandara" <di...@wso2.com> wrote:
>> >>>>
>> >>>> Hi,
>> >>>>
>> >>>> I have modified single JVM installation script to support for
>> profiles.
>> >>>> Default profile will be selected if you do not provide any.
>> >>>>
>> >>>> Here I have attached the installation guide.
>> >>>>
>> >>>> At the moment this script only support for "ActiveMQ". If you want to
>> >>>> use a different ActiveMQ version you have to edit followings in
>> >>>> conf/stratos-setup.conf
>> >>>>
>> >>>> export
>> >>>> activemq_pack=$stratos_packs/"apache-activemq-<version>-bin.tar.gz"
>> >>>> export activemq_path=$stratos_path/"apache-activemq-<version>"
>> >>>>
>> >>>> In default profile you will be able to use pre-configured activemq by
>> >>>> providing it's ip. If not so apach-activemq-5.8.0 will be installed
>> into
>> >>>> your stratos_path
>> >>>>
>> >>>> Thanks
>> >>>> --
>> >>>> Dinesh Bandara
>> >>>> Software Engineer
>> >>>> WSO2 Inc.; http://wso2.com
>> >>>> lean.enterprise.middleware
>> >>>>
>> >>
>> >>
>> >>
>> >> --
>> >> Dinesh Bandara
>> >> Software Engineer
>> >> WSO2 Inc.; http://wso2.com
>> >> lean.enterprise.middleware
>> >>
>> >
>> >
>> >
>> > --
>> > Best Regards,
>> > Nirmal
>> >
>> > Nirmal Fernando.
>> > PPMC Member & Committer of Apache Stratos,
>> > Senior Software Engineer, WSO2 Inc.
>> >
>> > Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Re: Single JVM installation guide

Posted by Udara Liyanage <ud...@wso2.com>.
MySQL connector jar link should direct to
http://dev.mysql.com/downloads/connector/j/


On Sat, Mar 29, 2014 at 10:41 AM, chris snow <ch...@gmail.com> wrote:

> I did some brief tests on the OS memory consumption while developing
> my vagrant scripts.
>
> Memory of virtualbox guest OS  (after 'sync; echo 3 >
> /proc/sys/vm/drop_caches' to flush the linux memory cache):
>
>    multiple vms:  approx. 3.9 Gb memory
>    single vm:  approx. 1 Gb memory
>
> Caveat, I hadn't connected to the IaaS or done anything useful yet -
> just started the services.
>
> It looks like this work on the single jvm has been very worthwhile!
>
>
> On Sat, Mar 29, 2014 at 3:28 AM, Nirmal Fernando <ni...@gmail.com>
> wrote:
> > Great work Dinesh! Thanks for your contribution on this. Will used this
> for
> > testing and let you know.
> >
> >
> > On Sat, Mar 29, 2014 at 8:47 AM, Dinesh Bandara <di...@wso2.com>
> wrote:
> >>
> >> Sorry I have missed that in attached document. It's already added in
> [1].
> >>
> >> [1]
> >> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Prerequisites
> >>
> >>
> >> On Fri, Mar 28, 2014 at 7:27 PM, Udara Liyanage <ud...@wso2.com> wrote:
> >>>
> >>> Shouldn't we add maven as a prerequisite.
> >>>
> >>>
> >>>
> >>> Touched, not typed. Erroneous words are a feature, not a typo.
> >>>
> >>> On Mar 28, 2014 6:34 PM, "Dinesh Bandara" <di...@wso2.com> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> I have modified single JVM installation script to support for
> profiles.
> >>>> Default profile will be selected if you do not provide any.
> >>>>
> >>>> Here I have attached the installation guide.
> >>>>
> >>>> At the moment this script only support for "ActiveMQ". If you want to
> >>>> use a different ActiveMQ version you have to edit followings in
> >>>> conf/stratos-setup.conf
> >>>>
> >>>> export
> >>>> activemq_pack=$stratos_packs/"apache-activemq-<version>-bin.tar.gz"
> >>>> export activemq_path=$stratos_path/"apache-activemq-<version>"
> >>>>
> >>>> In default profile you will be able to use pre-configured activemq by
> >>>> providing it's ip. If not so apach-activemq-5.8.0 will be installed
> into
> >>>> your stratos_path
> >>>>
> >>>> Thanks
> >>>> --
> >>>> Dinesh Bandara
> >>>> Software Engineer
> >>>> WSO2 Inc.; http://wso2.com
> >>>> lean.enterprise.middleware
> >>>>
> >>
> >>
> >>
> >> --
> >> Dinesh Bandara
> >> Software Engineer
> >> WSO2 Inc.; http://wso2.com
> >> lean.enterprise.middleware
> >>
> >
> >
> >
> > --
> > Best Regards,
> > Nirmal
> >
> > Nirmal Fernando.
> > PPMC Member & Committer of Apache Stratos,
> > Senior Software Engineer, WSO2 Inc.
> >
> > Blog: http://nirmalfdo.blogspot.com/
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Single JVM installation guide

Posted by chris snow <ch...@gmail.com>.
I did some brief tests on the OS memory consumption while developing
my vagrant scripts.

Memory of virtualbox guest OS  (after 'sync; echo 3 >
/proc/sys/vm/drop_caches' to flush the linux memory cache):

   multiple vms:  approx. 3.9 Gb memory
   single vm:  approx. 1 Gb memory

Caveat, I hadn't connected to the IaaS or done anything useful yet -
just started the services.

It looks like this work on the single jvm has been very worthwhile!


On Sat, Mar 29, 2014 at 3:28 AM, Nirmal Fernando <ni...@gmail.com> wrote:
> Great work Dinesh! Thanks for your contribution on this. Will used this for
> testing and let you know.
>
>
> On Sat, Mar 29, 2014 at 8:47 AM, Dinesh Bandara <di...@wso2.com> wrote:
>>
>> Sorry I have missed that in attached document. It's already added in [1].
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Prerequisites
>>
>>
>> On Fri, Mar 28, 2014 at 7:27 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>> Shouldn't we add maven as a prerequisite.
>>>
>>>
>>>
>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>
>>> On Mar 28, 2014 6:34 PM, "Dinesh Bandara" <di...@wso2.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have modified single JVM installation script to support for profiles.
>>>> Default profile will be selected if you do not provide any.
>>>>
>>>> Here I have attached the installation guide.
>>>>
>>>> At the moment this script only support for "ActiveMQ". If you want to
>>>> use a different ActiveMQ version you have to edit followings in
>>>> conf/stratos-setup.conf
>>>>
>>>> export
>>>> activemq_pack=$stratos_packs/"apache-activemq-<version>-bin.tar.gz"
>>>> export activemq_path=$stratos_path/"apache-activemq-<version>"
>>>>
>>>> In default profile you will be able to use pre-configured activemq by
>>>> providing it's ip. If not so apach-activemq-5.8.0 will be installed into
>>>> your stratos_path
>>>>
>>>> Thanks
>>>> --
>>>> Dinesh Bandara
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>
>>
>>
>> --
>> Dinesh Bandara
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: Single JVM installation guide

Posted by Nirmal Fernando <ni...@gmail.com>.
Great work Dinesh! Thanks for your contribution on this. Will used this for
testing and let you know.


On Sat, Mar 29, 2014 at 8:47 AM, Dinesh Bandara <di...@wso2.com> wrote:

> Sorry I have missed that in attached document. It's already added in [1].
>
> [1]
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Prerequisites
>
>
> On Fri, Mar 28, 2014 at 7:27 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Shouldn't we add maven as a prerequisite.
>>
>>
>>
>> Touched, not typed. Erroneous words are a feature, not a typo.
>> On Mar 28, 2014 6:34 PM, "Dinesh Bandara" <di...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I have modified single JVM installation script to support for profiles.
>>> Default profile will be selected if you do not provide any.
>>>
>>> Here I have attached the installation guide.
>>>
>>> At the moment this script only support for "ActiveMQ". If you want to
>>> use a different ActiveMQ version you have to edit followings in
>>> conf/stratos-setup.conf
>>>
>>>    - export
>>>    activemq_pack=$stratos_packs/"apache-activemq-<version>-bin.tar.gz"
>>>    - export activemq_path=$stratos_path/"apache-activemq-<version>"
>>>
>>> In default profile you will be able to use pre-configured activemq by
>>> providing it's ip. If not so *apach-activemq-5.8.0* will be installed
>>> into your *stratos_path*
>>>
>>> Thanks
>>> --
>>> *Dinesh Bandara*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>>
>
>
> --
> *Dinesh Bandara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Single JVM installation guide

Posted by Dinesh Bandara <di...@wso2.com>.
Sorry I have missed that in attached document. It's already added in [1].

[1] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Prerequisites


On Fri, Mar 28, 2014 at 7:27 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Shouldn't we add maven as a prerequisite.
>
>
>
> Touched, not typed. Erroneous words are a feature, not a typo.
> On Mar 28, 2014 6:34 PM, "Dinesh Bandara" <di...@wso2.com> wrote:
>
>> Hi,
>>
>> I have modified single JVM installation script to support for profiles.
>> Default profile will be selected if you do not provide any.
>>
>> Here I have attached the installation guide.
>>
>> At the moment this script only support for "ActiveMQ". If you want to use
>> a different ActiveMQ version you have to edit followings in
>> conf/stratos-setup.conf
>>
>>    - export
>>    activemq_pack=$stratos_packs/"apache-activemq-<version>-bin.tar.gz"
>>    - export activemq_path=$stratos_path/"apache-activemq-<version>"
>>
>> In default profile you will be able to use pre-configured activemq by
>> providing it's ip. If not so *apach-activemq-5.8.0* will be installed
>> into your *stratos_path*
>>
>> Thanks
>> --
>> *Dinesh Bandara*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>


-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Re: Single JVM installation guide

Posted by Udara Liyanage <ud...@wso2.com>.
Shouldn't we add maven as a prerequisite.



Touched, not typed. Erroneous words are a feature, not a typo.
On Mar 28, 2014 6:34 PM, "Dinesh Bandara" <di...@wso2.com> wrote:

> Hi,
>
> I have modified single JVM installation script to support for profiles.
> Default profile will be selected if you do not provide any.
>
> Here I have attached the installation guide.
>
> At the moment this script only support for "ActiveMQ". If you want to use
> a different ActiveMQ version you have to edit followings in
> conf/stratos-setup.conf
>
>    - export
>    activemq_pack=$stratos_packs/"apache-activemq-<version>-bin.tar.gz"
>    - export activemq_path=$stratos_path/"apache-activemq-<version>"
>
> In default profile you will be able to use pre-configured activemq by
> providing it's ip. If not so *apach-activemq-5.8.0* will be installed
> into your *stratos_path*
>
> Thanks
> --
> *Dinesh Bandara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>