Heroku - Java HTTP 500 connection refused

Problem:

   HTTP ERROR 500
   Problem accessing /header.jsp. Reason: Connection refused
 
   Caused by:java.net.ConnectException: Connection refused at   java.net.PlainSocketImpl.socketConnect

Solution:

   Check that there are no calls hardcoded connections to localhost (JSP imports, etc)

Comments

Popular posts from this blog

Hibernate - HibernateException: createQuery is not valid without active transaction