Having trouble with SQL Server connection on WebSphere 8.5 -


i'm having kinds of trouble getting ibm websphere 8.5 connect sql server 2012 data source. have url of jdbc:sqlserver://localhost;username=user;password=password. see following error (i know it's kind of long):

the test connection operation failed data source reachingrecovery on server server1 @ node mweiss7x16node01 following exception: java.sql.sqlexception: tcp/ip connection host localhost, port 1433 has failed. error: "connection refused: connect. verify connection properties. make sure instance of sql server running on host , accepting tcp/ip connections @ port. make sure tcp connections port not blocked firewall."

now, sql server , websphere running on same machine, don't think it's firewall issue. i've checked sql server properties under "connections", , indicates fine ("allow remote connections server" checked.)

i'm @ loss understand why happening. suggestions? thx mimi

i found out problem was. using sql server management studio check on whether make tcp/ip connections or not. should have been using sql server configuration manager. had thing on left called "sql server network configuration". clicked on that, , brought "protocols server instance name". had thing on right (tcp/ip), indicated disabled. enabled that, restarted sql server, , worked.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -