sameersbn / docker-openfire

Dockerfile to create a Docker container image for Openfire.
MIT License
81 stars 99 forks source link

The server keeps restarting #2

Closed paimpozhil closed 10 years ago

paimpozhil commented 10 years ago

After i finished the configuration, the server just keeps restarting for some reason i dont know.

i used the latest branch.

started container/ entered the 9090 admin console.. after all the setup..

now looking at the docker logs [container] shows this..

2014.06.10 22:10:24 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer Cache 2014.06.10 22:10:24 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Clearspace SSO Nonce 2014.06.10 22:10:24 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Presence Cache 2014.06.10 22:10:24 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Last Activity Cache 2014.06.10 22:10:24 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for User 2014.06.10 22:10:24 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Users Existence 2014.06.10 22:10:24 org.jivesoftware.openfire.XMPPServer - Shutting down 50 modules ... 2014.06.10 22:10:24 org.jivesoftware.openfire.XMPPServer - Shutting down plugins ... 2014.06.10 22:10:24 org.jivesoftware.openfire.XMPPServer - Openfire stopped 2014.06.10 22:10:24 org.jivesoftware.openfire.XMPPServer - Server halted 2014.06.10 22:10:26 org.jivesoftware.openfire.XMPPServer - Registering shutdown hook (standalone mode) 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Servers Cache 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Components Cache 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Users Cache 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing AnonymousUsers Cache 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing User Sessions 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Roster 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Multicast Service 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Message Size 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for VCard 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Privacy Lists 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer Cache 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Clearspace SSO Nonce 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Presence Cache 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Last Activity Cache 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for User 2014.06.10 22:10:26 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Users Existence 2014.06.10 22:10:26 org.jivesoftware.openfire.XMPPServer - Shutting down 50 modules ... 2014.06.10 22:10:26 org.jivesoftware.openfire.XMPPServer - Shutting down plugins ... 2014.06.10 22:10:26 org.jivesoftware.openfire.XMPPServer - Openfire stopped 2014.06.10 22:10:26 org.jivesoftware.openfire.XMPPServer - Server halted 2014.06.10 22:10:28 org.jivesoftware.openfire.XMPPServer - Registering shutdown hook (standalone mode) 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Servers Cache 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Components Cache 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Users Cache 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing AnonymousUsers Cache 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing User Sessions 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Roster 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Multicast Service 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Message Size 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for VCard 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Privacy Lists 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer Cache 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Clearspace SSO Nonce 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Presence Cache 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Last Activity Cache 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for User 2014.06.10 22:10:29 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Users Existence 2014.06.10 22:10:29 org.jivesoftware.openfire.XMPPServer - Shutting down 50 modules ... 2014.06.10 22:10:29 org.jivesoftware.openfire.XMPPServer - Shutting down plugins ... 2014.06.10 22:10:29 org.jivesoftware.openfire.XMPPServer - Openfire stopped 2014.06.10 22:10:29 org.jivesoftware.openfire.XMPPServer - Server halted

sameersbn commented 10 years ago

@paimpozhil I couldn't tell why this is happening. You may have to ssh to the container and check the openfire logs.

sameersbn commented 10 years ago

@paimpozhil can you specify the host os, docker version and docker run command you are using? Are there any particular selections you made while setting up the application?

I will try to reproduce this issue. This is a relatively new container and you are probably the first person (besides me of course) to use this image.

paimpozhil commented 10 years ago

I will try this today and send you all the information you have asked :)

paimpozhil commented 10 years ago

previously i used it in a Centos 6.5 Host.. and used this command

docker run --name=openfire -d \ -p 9090:9090 -p 5222:5222 -p 5223:5223 -p 7777:7777 -p 7070:7070 -p 7443:7443 -p 5229:5229 \ -v /opt/openfire:/app/data \ sameersbn/openfire:3.9.3

docker version is 0.11

however I think it is my problem now because I tried now in Ubuntu 14.04

and this seems to work

Thanks .. also sent a small PR