I was running my server (jboss-4.0.3SP1)successfully till we restarted the linux machine.But now when i try to start the jboss server it throws exceptions while deploying the ejb's
INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'ASTEntity' to jndi 'mobmeee/ASTEntityLocal'
[JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLExceptio
n: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)
I checked my ip ,username and password.The ASTEntity bean is connecting to the asterisk database which is on a different ip.I checked that ip also .everything ok..
also when i try to connect to the agi server running on port 4573 I get the exception saying
javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.C
onnectException: Connection refused]
what should i do ..please help me