Hi.
I have Jive Forum Version 2.6.4. working with MS SQL Server 2005 DB. Sun Java 1.6.15, Tomcat 6.0.18
The Database Connection here is configured with User and Password.
The Database Driver is mssql2005jdbc1.1.jar. All works fine!
No I want to change my Database to MS SQL Server 2008. With Integrated Security = true.
I Use the new Driver from Microsoft: sqljdbc4.jar.
and sqljdbc_auth.dll placed in my windows\system32 Folder.
In jive_config.xml I have the following configuration:
<database>
<defaultProvider>
<driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver>
<serverURL>jdbc:sqlserver://DEKLI1S7021;instanceName=SQL7021;integratedSecurity=true;DatabaseName=Jive</serverURL>
<username> </username>
<password> </password>
<minConnections>3</minConnections>
<maxConnections>10</maxConnections>
<connectionTimeout>0.5</connectionTimeout>
</defaultProvider>
</database>
When I connect to the Jive Webapp I get a null Pointer Exception
and in DefaultConnectionProvider.log i have:
Starting ConnectionPool:
dbDriver = com.microsoft.sqlserver.jdbc.SQLServerDriver
dbServer = jdbc:sqlserver://DEKLI1S7021;instanceName=SQL7021;integratedSecurity=true;DatabaseName=Jive
dbLogin =
log file = D:\\daten\\www\\wikanet\\jive264\\WEB-INF\\jivehome\logs\DefaultConnectionProvider.log
minconnections = 3
maxconnections = 10
Total refresh interval = 0.5 days
-----------------------------------------
--->Attempt (1 of 5) failed to create new connections set at startup:
com.microsoft.sqlserver.jdbc.SQLServerException: Dieser Treiber ist nicht für integrierte Authentifizierung konfiguriert.
(in English: This driver is not configured for integrated authentication.)
Will try again in 10 seconds...
I have another webapplication, which works correct with sqljdbc4.jar,
com.microsoft.sqlserver.jdbc.SQLServerDriver,
and jdbc:sqlserver://DEKLI1S7021;instanceName=SQL7021;integratedSecurity=true;DatabaseName=Jive
Any Ideas what I did wrong?
Thanks a lot
Martin
While Forums 2.6.4 is not supported, this looks like it's more a driver issue than anything else. What OS are you running on? Do the 2005 drivers support Integrated Security? If so, I would try using the 2005 drivers as the 2008 network layer is compatible with 2005.
Let me know how that works out.
- Brad
Hello,
thanks a lot for the answer.
Today I tried it and it worked.
Tomcat started as a service with the corresponding Domain\Username with the right to logon as a service.
This Username configured as DB_Owner in the SQL 2008 Database.
I have tried mssql2005jdbc1.1.jar and sqljdbc4.jar. Both working!
With this Configuration:
<driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver>
<serverURL>jdbc:sqlserver://DEKLI1S7020;DatabaseName=DE03059_WIKAnet_Jive;integratedSecurity=true;</serverURL>
<username />
<password />
Maybe my Computer or I needed a break :-)
Regards
Martin
Thanks for sharing this solution. Integrated security with non-MS technologies (i.e. the Java stack) seems a bit spooky to me, but it's good to know that it works!
Jive combines the most powerful features of collaboration software, community software,
social networking software & social media monitoring into the leading SBS solution.
© Copyright 2000–2010 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205
Sales: 877-495-3700 | General: 503-295-3700
Privacy Policy | Sitemap | Jobs | Contact Us