Re: [Dev] WSO2 Docker containers

2015-09-22 Thread Imesh Gunaratne
Thanks for the information John! Will fix this.

On Tue, Sep 22, 2015 at 2:00 PM, John Hawkins  wrote:

> Hi,
>
> - I looked into this a little further yesterday and it's to do with when
> we take the IP address. The IP changes per start up of the container but we
> don't copy the files to the new /mnt//... location they remain on the
> original /mnt/.  At least - that's the obvious thing I noticed !
> cheers,
> john.
>
> John Hawkins
> Director: Solutions Architecture
>
>
> On Tue, Sep 22, 2015 at 5:48 AM, Imesh Gunaratne  wrote:
>
>> [+ WSO2 Dev]
>>
>> On Mon, Sep 21, 2015 at 9:03 PM, John Hawkins  wrote:
>>
>>>
>>> I'm trying to run/stop/start the container and trying to keep the data
>>> that I had put into the container. I can't seem to get the container to
>>> start again once I've stopped it. it looks like it's started in docker ps
>>> but I can't connect to the port I set for the admin console.
>>>
>>
>> May be the server has not started properly when we stop and restart a
>> container. Shall we have a look at the wso2carbon.log?
>>
>>
>>> I've had a look in the log file on the container and it says [1]. I've
>>> looked in/mnt and there are lots of ip addr in there (I assume one for each
>>> time I've tried to start it ?) and under the specific ip addr I see [2]
>>> which isn't what it's looking for.
>>>
>>> There seems to be an issue in the startup process (init.sh). We will
>> have a look at it.
>>
>>
>>> [1]WSO2 ESB configured successfully
>>>
>>> Starting WSO2 ESB...
>>>
>>> /usr/local/bin/init.sh: line 47: /mnt/
>>> 172.17.0.29/wso2esb-4.8.1/bin/wso2server.sh: No such file or directory
>>>
>>> [2] /mnt//wso2esb-4.8.1/repository/.
>>>
>> Thanks
>>
>> --
>> *Imesh Gunaratne*
>> Senior Technical Lead
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: http://imesh.gunaratne.org
>> Lean . Enterprise . Middleware
>>
>>
>


-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Docker containers

2015-09-22 Thread John Hawkins
Hi,

- I looked into this a little further yesterday and it's to do with when we
take the IP address. The IP changes per start up of the container but we
don't copy the files to the new /mnt//... location they remain on the
original /mnt/.  At least - that's the obvious thing I noticed !
cheers,
john.

John Hawkins
Director: Solutions Architecture


On Tue, Sep 22, 2015 at 5:48 AM, Imesh Gunaratne  wrote:

> [+ WSO2 Dev]
>
> On Mon, Sep 21, 2015 at 9:03 PM, John Hawkins  wrote:
>
>>
>> I'm trying to run/stop/start the container and trying to keep the data
>> that I had put into the container. I can't seem to get the container to
>> start again once I've stopped it. it looks like it's started in docker ps
>> but I can't connect to the port I set for the admin console.
>>
>
> May be the server has not started properly when we stop and restart a
> container. Shall we have a look at the wso2carbon.log?
>
>
>> I've had a look in the log file on the container and it says [1]. I've
>> looked in/mnt and there are lots of ip addr in there (I assume one for each
>> time I've tried to start it ?) and under the specific ip addr I see [2]
>> which isn't what it's looking for.
>>
>> There seems to be an issue in the startup process (init.sh). We will have
> a look at it.
>
>
>> [1]WSO2 ESB configured successfully
>>
>> Starting WSO2 ESB...
>>
>> /usr/local/bin/init.sh: line 47: /mnt/
>> 172.17.0.29/wso2esb-4.8.1/bin/wso2server.sh: No such file or directory
>>
>> [2] /mnt//wso2esb-4.8.1/repository/.
>>
> Thanks
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Docker containers

2015-09-21 Thread Imesh Gunaratne
[+ WSO2 Dev]

On Mon, Sep 21, 2015 at 9:03 PM, John Hawkins  wrote:

>
> I'm trying to run/stop/start the container and trying to keep the data
> that I had put into the container. I can't seem to get the container to
> start again once I've stopped it. it looks like it's started in docker ps
> but I can't connect to the port I set for the admin console.
>

May be the server has not started properly when we stop and restart a
container. Shall we have a look at the wso2carbon.log?


> I've had a look in the log file on the container and it says [1]. I've
> looked in/mnt and there are lots of ip addr in there (I assume one for each
> time I've tried to start it ?) and under the specific ip addr I see [2]
> which isn't what it's looking for.
>
> There seems to be an issue in the startup process (init.sh). We will have
a look at it.


> [1]WSO2 ESB configured successfully
>
> Starting WSO2 ESB...
>
> /usr/local/bin/init.sh: line 47: /mnt/
> 172.17.0.29/wso2esb-4.8.1/bin/wso2server.sh: No such file or directory
>
> [2] /mnt//wso2esb-4.8.1/repository/.
>
Thanks

-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev