Page 1 of 1

Running the demo on Amazon Elastic Beanstalk

Posted: Tue Jan 01, 2013 4:43 pm
by Ramneek
I am not able to get the demo running in the Amazon Elastic Beanstalk environment.
The event log doesn't point to any errors, however if I check the log files for Tomcat, I find the following error in the log:

Jan 1, 2013 9:17:52 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)

Any ideas on what could be a problem here?

Thank you,
Ramneek

Re: Running the demo on Amazon Elastic Beanstalk

Posted: Wed Jan 02, 2013 12:45 pm
by phillipuniverse
Perhaps check your port configuration? Maybe Tomcat is unable to listen on the ports you have configured because of what Elastic Beanstalk is expecting. I don't have experience with this environment specifically, but I do know that on Heroku your ports are assigned dynamically when your application starts up; you might have to account for this fact.