Iâm not sure if setting the MySQL version to 5.1.XX helps, since iâve been using MySQL 5.6.XX before and didnât have the issue. So something is definently changed with Openfire 3.8.X which causes the problem to so many users.
So far, havenât found a way to fix this problem, getting quite frustrating.
Just a bump for this - have there been any updates? Iâm having the same issue on a fresh installation. Iâm also experiencing very similar issues on the Server Manager > Statistics page, if any of you have that plugin.
No, i believe this is on their low priority of bugs list, IF they even know about the bug. Since if some users report itâs not working and some users say itâs working, like with any other software, the devâs donât consider it a bug or even test-worthy. It might get fixed after some years or when they experience the bug themselves i guess. Meanwhile you can try to find workarounds, i am just browsing the database table where the users are manually, annoying as hell, but the only way for me at the moment.
We donât have any active openfire developers at the moment, only folks that hack at things as they need or have interest in. We need more committers!
is it simply that the mysql jdbc driver needs updating? It seems most of the users having issue are using mysql 5.6.x version⌠and people without issue are on older versions. 5.6.x is drastically different over the older 5.1.x that most âserverâ linux distros ship with⌠on windows servers of course users must manually install mysql, so they get the latest package.
i use mysql 5.1.x as my database on a openfire 3.8.2 server running on CentOS 6.x. all works as expected.
EDIT: I just looked, Openfire 3.8.2 is using MySQL JDBC Driver version 5.0.8 â the latest from the mysql site is 5.1.26 â perhaps someone experiencing this issue should try updating the driver and testing it outâŚ
It appears that you can update your mysql jdbc driver by replacing the one under the Openfire installation directoryâs lib/ directory. Itâs called âmysql.jarâ right now⌠just back that up, download the latest from mysqlâs site, and copy it into that lib/ directory (making sure to call it the same name - mysql.jar).
I have attached the lastest MySQL JDBC Driver for convinience⌠if you feel so inclinded to download your own⌠itâs available at:
â Make sure you rename this download jar to âmysql.jarâ before dropping it into your openfire_installation/lib/ directory mysql-connector-java-5.1.26-bin.jar (855948 Bytes)
Wroot or Daryl-- is there a ticket for this already, or should I create a new one? The Openfire team will need to pull the latest jar into their SVN TRUNK. The ticket you referenced Wroot doesât look like itâs exactly the same issue, but perhaps will be sovled by the updated jdbc driver as well.
it should be, i havenât run into any jdbc drivers yet that arenât backwards compatible⌠and on mysqlâs website itâs the only jdbc driver they have posted, so assumed it will work with all version⌠But! â itâs better to test and be sure instead of assuming.
I canât restart my openfire right now, but in the morning tomorrow Iâll try this on my setup (mysql 5.1.x) and see what happens.
Sorry to ressurect a seemingly solved issue - this fixed my problem for the Users/Groups page, but not for my statistics page. Is it possible the solution to this is something similar?
You mean Monitoring plugin? I believe this is a completely different story. This plugin is buggy and sometimes stops working for no logical reason. Unfortunately there is still no volunteer developer to dig into its code and find out what is wrong with it. It stopped working on my production server at some point too (no stats), though it works fine on a test server.
Yeah, thatâs exactly what Iâm talking about - I was hopeful this would solve the issues related to that as well. What is openfire written in? Is there a stream on github or somewhere?
I found that OpenFire does not support MySQL v5.6 because of the âSET OPTIONâ statement in User-Summary.jsp (and possibly other locations). The SET OPTION was removed in MySQL v5.6.