Re: Stratos Dev Stack - A Script to Setup A Stratos Development Environment in Minutes

2014-06-08 Thread Pradeep Fernando
Hi, Nice work imesh. But I dont like the idea of creating another abstraction over the existing script. (if i get your work correct). It is better if we can incorporate some of the changes to existing scripts. For an example downloading Java/Mysql and activeMQ. (right now the downloading part is m

Re: [Discuss] Apache Stratos 4.0.0-RC4 Release Preparation

2014-06-08 Thread Lakmal Warusawithana
On Sun, Jun 8, 2014 at 10:30 PM, Imesh Gunaratne wrote: > Hi All, > > I did a complete installation (fresh) using above 4.0.0-rc4 release packs > and could not find any problems: > > 1. Installed Stratos on an Ubuntu 12.04 fresh instance in EC2. Puppet > master, ActiveMQ, Stratos (default-profile

Re: Stratos Dev Stack - A Script to Setup A Stratos Development Environment in Minutes

2014-06-08 Thread Udara Liyanage
Hi Imesh, Good work Imesh, Let me try and report any issue if found :-) On Sun, Jun 8, 2014 at 11:41 PM, Imesh Gunaratne wrote: > Hi All, > > As you may all know currently we do not have a straightforward way to > setup a Stratos environment in one go. At the moment we need to go though > seri

Re: integrating haproxy with stratos

2014-06-08 Thread Parvez Shaikh
Thanks Nirmal, it worked, however I am seeing an exception on the console as follows - [2014-06-08 23:08:02,151] ERROR - [HAProxy] Could not start haproxy [2014-06-08 23:08:02,152] ERROR - [LoadBalancerExtension] Could not start load balancer org.apache.stratos.load.balancer.extension.api.excepti

Re: [Wiki] Extending Stratos Cartridge Agent

2014-06-08 Thread Praneesha Chandrasiri
Hi Akila, Thanks for sharing the content. I will work on this. On Mon, Jun 9, 2014 at 2:32 AM, Akila Ravihansa Perera wrote: > Hi, > > I have created a Google Doc for $subject [1]. Please review the content. > > [1] > https://docs.google.com/document/d/1D9jpdCc4lhc3xqwGdZGnCoNNmp9_-po7T64Ckm6

Re: integrating haproxy with stratos

2014-06-08 Thread Nirmal Fernando
connectionfactoryName=TopicConnectionFactory Please use above as the connection factory name. On Mon, Jun 9, 2014 at 9:01 AM, Parvez Shaikh wrote: > I downloaded activemq-5.9.jar from > http://activemq.apache.org/activemq-590-release.html and put that jar in > lib directory of HAPROXY_EXTENSIO

Re: integrating haproxy with stratos

2014-06-08 Thread Parvez Shaikh
I downloaded activemq-5.9.jar from http://activemq.apache.org/activemq-590-release.html and put that jar in lib directory of HAPROXY_EXTENSION home. I am seeing following message - [2014-06-08 21:18:08,060] ERROR - [TopicSubscriber] Error while subscribing to the topic: topology javax.naming.Name

Re: integrating haproxy with stratos

2014-06-08 Thread Nirmal Fernando
Sorry Parvez, we seems to lack documentation on this aspect. You need to add following jars, to lib directory; org.apache.geronimo.specs geronimo-j2ee-management_1.1_spec 1.0.1 org.fusesource.hawtbuf hawtbuf 1

Re: integrating haproxy with stratos

2014-06-08 Thread Parvez Shaikh
I think we're using ActiveMQ as message broker, is there an easy or quick way to confirm that? Meanwhile the error changed - javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is java.lang.ClassNotFoundException

Re: integrating haproxy with stratos

2014-06-08 Thread Nirmal Fernando
Hi Parvez, Seems like the extension code is broken. Are you using ActiveMQ as the message broker? If so please replace your jndi.properties file with following; connectionfactoryName=TopicConnectionFactory java.naming.provider.url=tcp://localhost:61616 java.naming.factory.initial=org.apache.activ

Re: integrating haproxy with stratos

2014-06-08 Thread Parvez Shaikh
Thanks Imesh, While it resolved unable to load jndi.properties [2014-06-08 20:22:31,624] ERROR - [TopicSubscriber] Error while subscribing to the topic: topology javax.jms.JMSException: Error creating connection: Unable to Connect at org.wso2.andes.client.AMQConnectionFactory.createConnec

Fwd: Board Report Reminder

2014-06-08 Thread Nirmal Fernando
FYI -- Forwarded message -- From: John D. Ament Date: Sat, Jun 7, 2014 at 11:43 PM Subject: Re: Board Report Reminder To: gene...@incubator.apache.org On Sat, Jun 7, 2014 at 1:36 PM, Henry Saputra wrote: > Hi John, > > Tajo already graduated to TLP. > > Does the project miss so

[Wiki] Subscription Domain mapping

2014-06-08 Thread Akila Ravihansa Perera
Hi, Do we have Wiki articles on $subject for Apache Stratos 4.0.0 ? I found domain mapping related articles in [1,2] for Apache Stratos 3.0.0. I'm not sure how relevant they will be for ver. 4.0.0. [1] https://cwiki.apache.org/confluence/display/STRATOS/3.0.0+Domain+Mapping [2] https://cwiki.ap

Re: [Wiki] Extending Stratos Cartridge Agent

2014-06-08 Thread Akila Ravihansa Perera
Hi, I have created a Google Doc for $subject [1]. Please review the content. [1] https://docs.google.com/document/d/1D9jpdCc4lhc3xqwGdZGnCoNNmp9_-po7T64Ckm6Zkfg/edit?usp=sharing Thanks. On Wed, Jun 4, 2014 at 7:34 PM, Akila Ravihansa Perera wrote: > Hi, > I'll share a Gdoc on that soon. > >

Re: [Wiki] Securing Stratos Deployment

2014-06-08 Thread chris snow
One obvious item would be to replace the stratos admin password? Do any other accounts get setup in addition to the 'admin' account that should be removed or have the password replaced in a production environment? On 4 Jun 2014 13:27, "Mariangela Hills" wrote: > Currently, we only provide inform

Re: [Wiki] Securing Stratos Deployment

2014-06-08 Thread chris snow
Is there a list of all the SSL certificates used by stratos that should be replaced in a production environment? Also, because we are providing instructions for installing a puppet master using puppetinstall, I guess we should provide a list of items that need to be secured on the puppet master, l

Stratos Dev Stack - A Script to Setup A Stratos Development Environment in Minutes

2014-06-08 Thread Imesh Gunaratne
Hi All, As you may all know currently we do not have a straightforward way to setup a Stratos environment in one go. At the moment we need to go though series of manual steps to setup a Stratos environment by referring the documentation. This is very time consuming. Today I implemented a bash scr

Re: integrating haproxy with stratos

2014-06-08 Thread Imesh Gunaratne
Issue reported: https://issues.apache.org/jira/browse/STRATOS-668 Thanks On Sun, Jun 8, 2014 at 10:45 PM, Imesh Gunaratne wrote: > Hi Parvez, > > Welcome to Stratos, its really nice to hear that you are experimenting > with Stratos. > > Regarding the issue you encountered, it seems like there

[jira] [Created] (STRATOS-668) Java.naming.provider.url is incorrect in HAProxy Extension jndi.properties file

2014-06-08 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-668: --- Summary: Java.naming.provider.url is incorrect in HAProxy Extension jndi.properties file Key: STRATOS-668 URL: https://issues.apache.org/jira/browse/STRATOS-668

[jira] [Updated] (STRATOS-668) Java.naming.provider.url is incorrect in HAProxy Extension jndi.properties file

2014-06-08 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-668: Description: In /conf/jndi.properties file java.naming.provider.url has been set to follo

Re: integrating haproxy with stratos

2014-06-08 Thread Imesh Gunaratne
Hi Parvez, Welcome to Stratos, its really nice to hear that you are experimenting with Stratos. Regarding the issue you encountered, it seems like there is an invalid entry in the jndi.properties file shipped with the HAProxy extension package. Please open /conf/jndi.properties file and update ja

Re: [Discuss] Apache Stratos 4.0.0-RC4 Release Preparation

2014-06-08 Thread Imesh Gunaratne
Hi All, I did a complete installation (fresh) using above 4.0.0-rc4 release packs and could not find any problems: 1. Installed Stratos on an Ubuntu 12.04 fresh instance in EC2. Puppet master, ActiveMQ, Stratos (default-profile) were running in the same host. 2. Created two new cartridge images:

integrating haproxy with stratos

2014-06-08 Thread Parvez Shaikh
Hi experts, I am new to stratos and exploring on how to integrate existing haproxy cartridge with stratos. I am referring https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+HAProxy+Load+Balancer After following steps mentioned in the link when I run haproxy-extension.sh, I am

Re: ADC code

2014-06-08 Thread Sajith Kariyawasam
On Sun, Jun 8, 2014 at 9:15 PM, Maria Beckham wrote: > So, that means, the way it works is as follows > > 1. Git repo structure should match tomcat webapp deployment directory > structure > 2. CartridgeAgent on the VM will be triggered on a git push event and > would do local pull and thereby tre

Re: ADC code

2014-06-08 Thread Maria Beckham
So, that means, the way it works is as follows 1. Git repo structure should match tomcat webapp deployment directory structure 2. CartridgeAgent on the VM will be triggered on a git push event and would do local pull and thereby treat is as an redeploy on a successful pull Right? ___