Re: Problem in deploying single cartridge app

2016-04-14 Thread Aanand
Hi Alwis, Thanks for your help. See the attached JSON file to create kubernetes cluster and deploy.sh script. Really I don't understand why the port 4501 coming in the picture in creating the node.Kubernetes port range is 3-32767. Regards, Aanand Phone: 8098816226 Skype: anand7007 On Wed, A

Re: Problem in deploying single cartridge app

2016-04-13 Thread Chamila de Alwis
The error at line 848 indicates that, for Kubernetes, you've specified a port which is out of range of the default port range that is assigned to Service NodePorts [1]. Stratos sets this range to 3-32767, and AFAIR, Stratos automatically allocates a Node Port for each port mapping in the Cartri

Re: Problem in deploying single cartridge app

2016-04-11 Thread Imesh Gunaratne
On Mon, Apr 11, 2016 at 4:32 PM, Aanand wrote: > Hi Imesh, > > But we will not get the dashboard like stratos know or is it there. > Kubernetes provides few dashboards: http://kubernetes.io/docs/user-guide/ui/ https://github.com/kubernetes/kube-ui https://github.com/cockpit-project/cockpit/wiki/

Re: Problem in deploying single cartridge app

2016-04-11 Thread Aanand
Hi Imesh, But we will not get the dashboard like stratos know or is it there. Regards, Aanand Phone: 8098816226 Skype: anand7007 On Mon, Apr 11, 2016 at 3:19 PM, Imesh Gunaratne wrote: > Hi Anand, > > On Mon, Apr 11, 2016 at 2:42 PM, Aanand wrote: > >> Hi Imesh, >> >> Our requirement is: Need

Re: Problem in deploying single cartridge app

2016-04-11 Thread Aanand
Intresting! I will check. >From mobile, excuse my typo On Apr 11, 2016 3:19 PM, "Imesh Gunaratne" wrote: > Hi Anand, > > On Mon, Apr 11, 2016 at 2:42 PM, Aanand wrote: > >> Hi Imesh, >> >> Our requirement is: Need to have the Stratos on Docker container and also >> WSO2 cartridges also on the D

Re: Problem in deploying single cartridge app

2016-04-11 Thread Imesh Gunaratne
Hi Anand, On Mon, Apr 11, 2016 at 2:42 PM, Aanand wrote: > Hi Imesh, > > Our requirement is: Need to have the Stratos on Docker container and also > WSO2 cartridges also on the Docker container for production. > If you have a better solution please let us know. > If your requirement is to use K

Re: Problem in deploying single cartridge app

2016-04-11 Thread Aanand
Hi Imesh, Our requirement is: Need to have the Stratos on Docker container and also WSO2 cartridges also on the Docker container for production. If you have a better solution please let us know. please see the issue on this: Hi Pubudu, I have installed Stratos from the scratch on docker as per

Re: Problem in deploying single cartridge app

2016-04-09 Thread Aanand
HI Isuru, We have internal CEP now, I don't want to bother about the environment variable right! Following is the jndi properties file, it seems OK. connectionfactoryName=TopicConnectionFactory java.naming.provider.url=tcp://localhost:61616 java.naming.factory.initial=org.apache.activemq.jndi.Ac

Re: Problem in deploying single cartridge app

2016-04-09 Thread Imesh Gunaratne
Hi Anand, I think you are having few basic problems: 1. The log file you have sent is too long, I think it has logs from the very beginning. It would be better to delete it and recreate the problem again. Then we would only get the logs related to the current problem you are experienc

Re: Problem in deploying single cartridge app

2016-04-09 Thread Isuru Haththotuwa
Anand, CEP_HOME refers to the location in the file system where you have the CEP installed. If you are not using an external CEP, the Stratos can act as a CEP server as well. In this case, the jndi properties file is at apache-stratos-4.1.5/repository/conf/jndi.properties location. On Sat, Apr 9,

Re: Problem in deploying single cartridge app

2016-04-09 Thread Aanand
Hi Pubudu / Imesh, This is the content in the file. In this MB URL is right http://wso2.org/carbon/eventadaptormanager";> tcp://localhost:61616 org.apache.activemq.jndi.ActiveMQInitialContextFactory TopicConnectionFactory topic Where is jndi.properties file root@a898ec74aa6c:/apache

Fwd: Problem in deploying single cartridge app

2016-04-09 Thread Aanand
...@kolanot.co.uk Regards, Aanand Phone: 8098816226 Skype: anand7007 -- Forwarded message -- From: Pubudu Gunatilaka Date: Thu, Apr 7, 2016 at 10:41 PM Subject: Re: Problem in deploying single cartridge app To: dev@stratos.apache.org Hi Aanand, Please fix the following. 1

Re: Problem in deploying single cartridge app

2016-04-07 Thread Pubudu Gunatilaka
Hi Aanand, Please fix the following. 1. File - /repository/deployment/server/outputeventadaptors/JMSOutputAdaptor.xml Replace the following line with MB url and port. tcp://localhost:61616 Make sure you have set the MB urls in jndi.properties file as well. 2. As per your log, it looks like Str

Re: Problem in deploying single cartridge app

2016-04-05 Thread Pubudu Gunatilaka
Hi Aanand, Could you please share the complete Stratos log? It would be easier for us to analyze the issue using the log. Thank you! On Tue, Apr 5, 2016 at 7:52 PM, Aanand wrote: > Any updates for me> > > On Mon, Apr 4, 2016 at 6:05 PM, Aanand wrote: > >> Hi Pubudu, >> I had used [1] to insta

Re: Problem in deploying single cartridge app

2016-04-05 Thread Aanand
Any updates for me> On Mon, Apr 4, 2016 at 6:05 PM, Aanand wrote: > Hi Pubudu, > I had used [1] to install kubernetes, so it is 1.0.6 as you mentioned. see > the output below which shows the API versions > { > > "paths": [ > "/api", > "/api/v1", > "/api/v1beta3", > "/healthz",

Re: Problem in deploying single cartridge app

2016-04-04 Thread Aanand
Hi Pubudu, I had used [1] to install kubernetes, so it is 1.0.6 as you mentioned. see the output below which shows the API versions { "paths": [ "/api", "/api/v1", "/api/v1beta3", "/healthz", "/healthz/ping", "/logs/", "/metrics", "/static/", "/swagger-ui/",

Re: Problem in deploying single cartridge app

2016-04-04 Thread Pubudu Gunatilaka
Hi, If you are using Stratos 4.1.5 and samples related to 4.1.5 [1] , version of the php cartridge would be 4.1.5 and not 4.1.1. Please note that Stratos 4.1.5 is only tested in Kubernetes v1.0.6 and below. There could be API changes in the latest Kubernetes releases. Check the Stratos log from

Re: Problem in deploying single cartridge app

2016-04-03 Thread Aanand
Hi Pubudu, Thanks for your reply. There is no pods on kubernetes: root@kube-master:~# kubectl get pods NAME READY REASONRESTARTS AGE root@kube-master:~# But docker image for php is there: root@kube-master:~# docker images REPOSITORYTAG I

Re: Problem in deploying single cartridge app

2016-04-03 Thread Pubudu Gunatilaka
Hi, It looks like pods are not creating properly. Could you please check the stratos log? You can find the log in /repository/ logs/wso2carbon.log. Make sure you have the docker image in the minion nodes which is specified in the php cartridge definition. One of the other ways that you can troubl