Also you can use the server name
jdbc:jtds:sqlserver://[ServerName]/[database];appName=jive
[servername] - computer name maybe is the same as your openfire server name and not the sql server instance name.
Insure that the TCP port is set to 1433 for all IPs in the mssql configuration manager
http://www.mssqltips.com/tipimages2/2495_image002.png
this worked for me - SQL Server 2012