Error processing the template

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDealershipInfo' in  class com.dealer.easel.tools.DealershipTool threw exception class com.earthcars.vista.exception.VistaException : =====================================================
FastLaneException
=====================================================
SQL: null
Type: 0
Message: null----------------------------------------------------

	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)
	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
	at org.apache.velocity.Template.merge(Template.java:296)
	at com.earthcars.vista.interceptors.VelocityInterceptor.process(VelocityInterceptor.java:159)
	at com.earthcars.vista.Dispatcher.service(Dispatcher.java:102)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
	at com.caucho.server.http.Invocation.service(Invocation.java:312)
	at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
	at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:272)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
	at java.lang.Thread.run(Thread.java:536)

	

-------------------------------------------------------------
EarthcarsException
  Id: 52a245ae4046382c01370ce9f568c6c8
  Date: Wed Jul 23 21:15:11 EDT 2008
  Service: DealershipTool.getDealershipInfo()
  Category: DealershipTool.getDealershipInfo()
  Logged: false
  Message: =====================================================
FastLaneException
=====================================================
SQL: null
Type: 0
Message: null----------------------------------------------------

  Stack Trace: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
	at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:167)
	at org.postgresql.Driver.connect(Driver.java:122)
	at com.caucho.sql.XADataSourceAdapter.getXAConnection(XADataSourceAdapter.java:119)
	at com.caucho.sql.XADataSourceAdapter.getPooledConnection(XADataSourceAdapter.java:141)
	at com.caucho.sql.DBPool.createConnection(DBPool.java:1391)
	at com.caucho.sql.DBPool.getPooledConnection(DBPool.java:1326)
	at com.caucho.sql.DBPool.getConnection(DBPool.java:1196)
	at com.caucho.sql.DBPool.getConnection(DBPool.java:1173)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:34)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:45)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:27)
	at com.dealer.fastlane.impl.FastlaneServiceImpl.getFastlane(FastlaneServiceImpl.java:84)
	at com.dealer.easel.engine.FastlaneEaselEngine.getDealershipInfo(FastlaneEaselEngine.java:44)
	at com.dealer.easel.tools.DealershipTool.getDealershipInfo(DealershipTool.java:27)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)
	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
	at org.apache.velocity.Template.merge(Template.java:296)
	at com.earthcars.vista.interceptors.VelocityInterceptor.process(VelocityInterceptor.java:159)
	at com.earthcars.vista.Dispatcher.service(Dispatcher.java:102)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
	at com.caucho.server.http.Invocation.service(Invocation.java:312)
	at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
	at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:272)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
	at java.lang.Thread.run(Thread.java:536)
rethrown as com.dealer.fastlane.FastlaneException: =====================================================
FastLaneException
=====================================================
SQL: null
Type: 0
Message: retries failed----------------------------------------------------
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:48)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:45)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:27)
	at com.dealer.fastlane.impl.FastlaneServiceImpl.getFastlane(FastlaneServiceImpl.java:84)
	at com.dealer.easel.engine.FastlaneEaselEngine.getDealershipInfo(FastlaneEaselEngine.java:44)
	at com.dealer.easel.tools.DealershipTool.getDealershipInfo(DealershipTool.java:27)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)
	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
	at org.apache.velocity.Template.merge(Template.java:296)
	at com.earthcars.vista.interceptors.VelocityInterceptor.process(VelocityInterceptor.java:159)
	at com.earthcars.vista.Dispatcher.service(Dispatcher.java:102)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
	at com.caucho.server.http.Invocation.service(Invocation.java:312)
	at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
	at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:272)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
	at java.lang.Thread.run(Thread.java:536)
Caused by: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
	at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:167)
	at org.postgresql.Driver.connect(Driver.java:122)
	at com.caucho.sql.XADataSourceAdapter.getXAConnection(XADataSourceAdapter.java:119)
	at com.caucho.sql.XADataSourceAdapter.getPooledConnection(XADataSourceAdapter.java:141)
	at com.caucho.sql.DBPool.createConnection(DBPool.java:1391)
	at com.caucho.sql.DBPool.getPooledConnection(DBPool.java:1326)
	at com.caucho.sql.DBPool.getConnection(DBPool.java:1196)
	at com.caucho.sql.DBPool.getConnection(DBPool.java:1173)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:34)
	... 23 more
rethrown as com.dealer.fastlane.FastlaneException: =====================================================
FastLaneException
=====================================================
SQL: null
Type: 0
Message: null----------------------------------------------------
	at com.dealer.fastlane.impl.FastlaneServiceImpl.getFastlane(FastlaneServiceImpl.java:92)
	at com.dealer.easel.engine.FastlaneEaselEngine.getDealershipInfo(FastlaneEaselEngine.java:44)
	at com.dealer.easel.tools.DealershipTool.getDealershipInfo(DealershipTool.java:27)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)
	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
	at org.apache.velocity.Template.merge(Template.java:296)
	at com.earthcars.vista.interceptors.VelocityInterceptor.process(VelocityInterceptor.java:159)
	at com.earthcars.vista.Dispatcher.service(Dispatcher.java:102)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
	at com.caucho.server.http.Invocation.service(Invocation.java:312)
	at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
	at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:272)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
	at java.lang.Thread.run(Thread.java:536)
Caused by: com.dealer.fastlane.FastlaneException: =====================================================
FastLaneException
=====================================================
SQL: null
Type: 0
Message: retries failed----------------------------------------------------
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:48)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:45)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:27)
	at com.dealer.fastlane.impl.FastlaneServiceImpl.getFastlane(FastlaneServiceImpl.java:84)
	... 20 more
Caused by: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
	at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:167)
	at org.postgresql.Driver.connect(Driver.java:122)
	at com.caucho.sql.XADataSourceAdapter.getXAConnection(XADataSourceAdapter.java:119)
	at com.caucho.sql.XADataSourceAdapter.getPooledConnection(XADataSourceAdapter.java:141)
	at com.caucho.sql.DBPool.createConnection(DBPool.java:1391)
	at com.caucho.sql.DBPool.getPooledConnection(DBPool.java:1326)
	at com.caucho.sql.DBPool.getConnection(DBPool.java:1196)
	at com.caucho.sql.DBPool.getConnection(DBPool.java:1173)
	at com.dealer.fastlane.impl.DataSourceConnectionFactory.getConnection(DataSourceConnectionFactory.java:34)
	... 23 more

-------------------------------------------------------------

	at com.dealer.easel.tools.DealershipTool.getDealershipInfo(DealershipTool.java:31)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)
	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
	at org.apache.velocity.Template.merge(Template.java:296)
	at com.earthcars.vista.interceptors.VelocityInterceptor.process(VelocityInterceptor.java:159)
	at com.earthcars.vista.Dispatcher.service(Dispatcher.java:102)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
	at com.caucho.server.http.Invocation.service(Invocation.java:312)
	at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
	at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:272)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
	at java.lang.Thread.run(Thread.java:536)