HTTP Status 500 ? Internal Server Error


Type Exception Report

Message GetCommand: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

faqtool.CommandException: GetCommand: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)
	faqtool.GetCommand.execute(GetCommand.java:43)
	FAQs.FaqServlet.service(FaqServlet.java:47)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:498)
	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:293)
	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:290)
	java.security.AccessController.doPrivileged(Native Method)
	javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:325)
	org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:176)
	java.security.AccessController.doPrivileged(Native Method)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:498)
	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:293)
	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:290)
	java.security.AccessController.doPrivileged(Native Method)
	javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:325)
	org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:264)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/7.0.109