Hi,

Thanks Isuru for fixing that prompting issue. Other than that I removed
ActiveMQ jar validation and installation into product since we are already
bundle ActiveMQ client jars with stratos pack. Please review and apply the
attached for that.

Thanks


On Sun, Apr 6, 2014 at 8:40 AM, Isuru Perera <[email protected]> wrote:

> Hi,
>
> I fixed it with commit 8a41868d3ab43d55084e50934da62c1d35efa9ae.
>
> Please review.
>
> Thanks!
>
>
> On Sat, Apr 5, 2014 at 10:26 AM, Nirmal Fernando 
> <[email protected]>wrote:
>
>> Dinesh, even with -s, I've been prompted at:
>>
>> user provided in conf/setup.conf is root. If you want to provide some
>> other user name please specify it at the prompt.
>> If you want to continue with root just press enter to continue
>>
>>
>> On Mon, Mar 31, 2014 at 9:21 AM, Dinesh Bandara <[email protected]> wrote:
>>
>>> Silence mode (-s) is only applicable when using default profile. If user
>>> selected -s mode, user won't be able to use pre-configured ActiveMQ. As
>>> Damitha said this will be a single node developer environment which
>>> configure and install stratos as well as ActiveMQ
>>>
>>>
>>> On Sat, Mar 29, 2014 at 6:12 PM, Dinesh Bandara <[email protected]>wrote:
>>>
>>>> Hi Damitha,
>>>>
>>>> Yes. In single node environment we use default profile and it won't
>>>> prompt for user inputs such as hostnames and ips. I will introduce new mode
>>>> like -s to enable or disable prompting for user inputs in multi node
>>>> environment or profiles other than default.
>>>>
>>>>
>>>>
>>>>
>>>> On Sat, Mar 29, 2014 at 4:23 PM, damitha kumarage 
>>>> <[email protected]>wrote:
>>>>
>>>>> Hi Dinesh
>>>>> In the single node developer environment setup we don't need hostnames
>>>>> and ips user input.  It would be great to have a mode without prompting 
>>>>> for
>>>>> user input in this setup like using -s option as Chris suggested
>>>>>
>>>>> Damitha
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *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/
>>
>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>



-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
From 1843088cdab000f24ccf25dd13eb68b9db28432e Mon Sep 17 00:00:00 2001
From: Dinesh Bandara <[email protected]>
Date: Sun, 6 Apr 2014 18:52:16 +0530
Subject: [PATCH] Remove ActiveMQ client jar validation|Installation

---
 tools/stratos-installer/setup.sh |   13 -------------
 1 file changed, 13 deletions(-)

diff --git a/tools/stratos-installer/setup.sh b/tools/stratos-installer/setup.sh
index ed19f0f..49b06b0 100755
--- a/tools/stratos-installer/setup.sh
+++ b/tools/stratos-installer/setup.sh
@@ -31,7 +31,6 @@ export LOG=$log_path/stratos-setup.log
 
 profile="default"
 config_mb="true"
-activemq_client_libs=(activemq-broker-5.8.0.jar  activemq-client-5.8.0.jar  geronimo-j2ee-management_1.1_spec-1.0.1.jar  geronimo-jms_1.1_spec-1.1.1.jar  hawtbuf-1.2.jar)
 auto_start_servers="false"
 
 function help {
@@ -127,17 +126,6 @@ function general_setup() {
     sed -i "s@MB_HOSTNAME:MB_LISTEN_PORT@$mb_ip:$mb_port@g" repository/conf/jndi.properties
     popd
 
-    for activemq_client_lib in "${activemq_client_libs[@]}" 
-    do
-    	cp -f $stratos_packs/$activemq_client_lib $stratos_extract_path/repository/components/lib/
-    done
-}
-
-function activemq_validate() {
-    if [[ ! -f $activemq_pack ]]; then
-        echo "Please copy the activemq zip to the stratos pack folder and update the JAR name in conf/setup.conf file"
-        exit 1
-    fi
 }
 
 
@@ -504,7 +492,6 @@ elif [[ $profile = "sm" ]]; then
     sm_conf_validate
 else
     echo "In default profile CEP will be configured."
-    activemq_validate
     cc_conf_validate
     as_conf_validate
     sm_conf_validate 
-- 
1.7.9.5

Reply via email to