MS SQL Server multiple instances, jdbc connection error

Recently a colleague of mine ran into the issue where she has more than one instance of SQL Server running (of course on different ports), able to connect with SQL Mgmt Studio, service instances running fine but JDBC applications are not able to connect – encounter an “…jdbc.SQLServerException … Connection refused …”

 – Learnt that the SQL Browser Service has to be running – this is not required for a single instance. Multiple sql server instances need the sql browser service to be running for proper connection from clients

Did not find many links related to this when trying to fix the problem 😦 but searching for sql browser service and jdbc now brings up some useful information
http://www.mssqltips.com/tip.asp?tip=1946
http://msdn.microsoft.com/en-us/library/ms181087.aspx (via http://bytes.com/topic/sql-server/answers/808470-sql-server-browser-service)

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s