Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11593

Re: AD Connection details always need refresh on reboot

$
0
0

Fortunately when I redo the setup workaround as described above, the browser remembers the previous entries, so it's reasonably simple to put them back in, but I essentially have to do this every reboot of the server.  Once setup is redone, there's no issue at all until the next reboot.

 

Once a reboot occurs, this failure is repeated in the log:

 

2014.05.13 17:38:48 org.jivesoftware.database.DbConnectionManager - Unable to get a connection from the database pool (attempt 9 out of 10).

java.sql.SQLException: Cannot open database "openfire" requested by the login. The login failed.

          at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)

          at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)

          at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)

          at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:602)

          at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:344)

          at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)

          at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:182)

          at java.sql.DriverManager.getConnection(Unknown Source)

          at java.sql.DriverManager.getConnection(Unknown Source)

          at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConn ectionBuilder.java:39)

          at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)

          at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:211 )

          at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89)

          at java.sql.DriverManager.getConnection(Unknown Source)

          at java.sql.DriverManager.getConnection(Unknown Source)

          at org.jivesoftware.database.DefaultConnectionProvider.getConnection(DefaultConnec tionProvider.java:86)

          at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager .java:124)

          at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:749)

          at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:472)

          at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:197)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at java.lang.Class.newInstance(Unknown Source)

          at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)

          at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

          at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)

 

When I run the re-setup workaround, the database connection details are already in place, but the Active Directory details are not (these have to be re-entered, as well as the admin users).  And yet, the issue appears above as OpenFire not being able to connect to the SQL Server database.  Could this merely be an issue of config files being overwritten as a result of a reboot, rather than a more complex authentication bug?


Viewing all articles
Browse latest Browse all 11593

Trending Articles