Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Connection pool problem with Sun Java System Web Server 7

Avatar of chezhiworld
chezhiworld asked on
Microsoft SQL ServerJavaScriptWeb DevelopmentWeb Servers
2 Comments1 Solution443 ViewsLast Modified:
I try to create a connection pool to mssql server running on a remote
machine.Using com.microsoft.sqlserver.jdbc.SQLServerDataSource
as data source class name but when I try to getConnections I am getting the
following exception,

The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".

I have enabled tcp in the server, the firewall is down, but I cant connect ! this is driving me nuts.

Please help me to resolve this asap.
Avatar of Aneesh
AneeshFlag of Canada imageDatabase Consultant
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answers