Hi Nicolas,
Thank you for the excellent tutorial, thanks to you I was able to deploy my app.
I am only having one issue. After having pushed my app to Heroku, I run
heroku logs -t
and I see this ConnectException: Connection refused. I have searched on internet but could not find out how to solve it. My Vaadin project is on
Github
.
[code]
2015-08-28T12:10:14.552820+00:00 app[web.1]
: java.net.ConnectException: Connection refused
2015-08-28T12:10:14.552927+00:00 app[web.1]
: at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
2015-08-28T12:10:14.553058+00:00 app[web.1]
: at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
2015-08-28T12:10:14.553198+00:00 app[web.1]
: at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:399)
2015-08-28T12:10:14.553348+00:00 app[web.1]
: at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)
2015-08-28T12:10:14.554002+00:00 app[web.1]
: 2015-08-28 12:10:14.552 WARN net.spy.memcached.MemcachedConnection: Closing, and reopening {QA sa=localhost/127.0.0.1:11211, #Rops=0, #Wops=48, #iq=0, topRop=null, topWop=Cmd: 1 Opaque: 1 Key: 29F675258D35DC2450A240989666E7A5 Cas: 0 Exp: 3600 Flags: 2048 Data Length: 4711, toWrite=0, interested=0}, attempt 79.
2015-08-28T12:10:14.553473+00:00 app[web.1]
: at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)
2015-08-28T12:10:44.585258+00:00 app[web.1]
: 2015-08-28 12:10:44.583 INFO net.spy.memcached.MemcachedConnection: Reconnecting {QA sa=localhost/127.0.0.1:11211, #Rops=0, #Wops=48, #iq=0, topRop=null, topWop=Cmd: 1 Opaque: 1 Key: 29F675258D35DC2450A240989666E7A5 Cas: 0 Exp: 3600 Flags: 2048 Data Length: 4711, toWrite=0, interested=0}
[/code]My Launcher.java class has only the main method:
[code]
public static void main(final String args) {
herokuServer(forApplication(SudokuforfunUI.class)).start();
}
[/code]Could you help me, please?