Quantcast
Channel: Ignite Realtime: Message List
Viewing all 11412 articles
Browse latest View live

Re: openfire 4.1.4, AD and cyrillic names in shared groups

$
0
0

i tested this with ms sql express without issue, so the problem might be in part with mysql


Re: openfire 4.1.4, AD and cyrillic names in shared groups

Re: openfire 4.1.4, AD and cyrillic names in shared groups

$
0
0

thank you for testing..

I'm using MariaDB:

# mysql -V

mysql  Ver 15.1 Distrib 5.5.52-MariaDB, for Linux (x86_64) using readline 5.1

 

also tried recreate DB from scratch.

Re: openfire 4.1.4, AD and cyrillic names in shared groups

$
0
0

very interesting..

maybe it is possible update mysql driver now? just download updated version..

Re: openfire 4.1.4, AD and cyrillic names in shared groups

$
0
0

nope..

even with new mysql jdbc driver mysql-connector-java-5.1.42.tar.gz from

MySQL :: Download Connector/J

the same issue.

 

I've copied new driver over installed:

cp mysql-connector-java-5.1.42/mysql-connector-java-5.1.42-bin.jar /opt/openfire/lib/mysql.jar

 

 

and started all from scratch - install openfire 4.1.4, created DB and setup openfire in web console.

then I configured shared group with cyrillic name, set contact list group name in cyrillic, then checked it in table ofGroupProp - every value was in cyrillic.

then restarted openfire and again opened User/Groups -> Groups -> group_name and noticed that contact list group name is EMPTY but option itself stayed Enabled.

again set cyrillic contact list group name, pressed Save button and in table ofGroupProp  appeared new 3 rows with ????? instead cyrillic words.

 

it is very strange, because every first time it created cyrillic names successfully, but after restarting service something happening and it changes (clears) contact list group name in web settings.

I suppose this issue related to openfire engine not for mysql

Re: openfire 4.1.4, AD and cyrillic names in shared groups

$
0
0

maybe try using utf8_unicode_ci instead of general

 

or maybe utf8mb4 and utf8mb4_unicode_ci

Re: Login failed: make sure your username and password are correct and that you're an admin or moderator.

$
0
0

I'm using systemctl script that being shipped with openfire (not using Winblowz).

 

slightly off topic, you'd need root/admin only if you're trying to bind to port <1024, openfire adminconsole binds to port 9090

Re: Messages in spark appears in blank

$
0
0

I have this issue too, we have ~250 users, this happens maybe... once every two or three months. Only solution that we know of is to reinstall the client and manually remove the users %appdata%\spark directory. Also using 2.6.3.


Re: Messages in spark appears in blank

$
0
0

It's a known bug in older Spark versions. Upgrading is the only long-term fix.

Re: Login failed: make sure your username and password are correct and that you're an admin or moderator.

$
0
0

Paul is not exactly correct. You don't have to run it as root. Just the user you are running it with have to has full permission to Openfire dir and its content. As for the Windows problem, it is UAC related and running as admin is not required when using service or installing not into Program files.

Re: Login failed: make sure your username and password are correct and that you're an admin or moderator.

$
0
0

I was able to do it by adding following:

<admin>

  <authorizedUsernames>my.user.name</authorizedUsernames>

</admin>

right after <jive> and before <adminConsole> inside of openfire.xml and followed by restart of openfire and then I was able to login to adminConsole

Openfire 4.1.3 not broadcasting presence updates to roster members

$
0
0

I have built a system that uses the OpenFire XMPP server to relay presence and "command" messages in an IoT sort of environment. There are devices that monitor various sensors and update their XMPP presence so that other, central, management dashboard devices can show that information in a realtime display at a central management station. All of the devices (the "remote" monitoring devices as well as the central management station) belong to the same group and are in each others' "roster." We are using the RESTAPI plugin for creating users and groups and managing the group membership. Everything generally works very well. The monitors and management stations are Android tablets. The monitors are written in Java using the Smack library, where the management stations are written in Xamarin.Android and use the Matrix XMPP library.

 

Occasionally, we will see that the presence updates from some (but not all) of the remote monitor devices will not be reflected on the management station, but they are reflected on the "Sessions" view in the OpenFire management console. We intercept the raw incoming and outgoing XMPP XML fragments on the management station device and output them on the android log to see the actual XMPP stanzas come over the wire, and when this behavior occurs, the management stations simply do not receive the presence stanzas from the affected remote monitoring devices. Sometimes, everything will snap back into place after a period of time. Other times, simply restarting the management station app will get things back working.

 

I am well and truly stumped by this behavior and don't really know where to start to look for a possible cause. The OpenFire logs (error, warn, info, debug) don't appear to be too much help, either.

 

Any suggestions on how to better instrument our apps or how to decipher the OpenFire logs would be most helpful.

 

Thanks,

Matthew

Re: Problem accessing /login.jsp

$
0
0

Good day! I'm new with Openfire, don't know what troubleshooting steps to do about this.

 

I Don't want to create a new thread/topic with almost the similar issue, except that I receive HTTP ERROR 500 - Problem accessing /login/jsp. Reason: Server Error.

 

I have Openfire 4.1.4 on an i3 rig with 4GB of RAM, that runs Windows 7 Pro with SP1. Database is embedded and we only use Pidgin within the local area network. I don't have any knowledge with any Linux distro, that's why I chose the Windows platform. This server is working fine last week, until this problem started today.

 

Attached is the screenshot of the error. Can't log in to Admin console or do anything now. Pidgin connects sometimes, then disconnects after a few minutes. Please help!

 

openfire error.png

 

Here's the full HTTP ERROR 500 for reference:

 

HTTP ERROR 500

Problem accessing /login.jsp. Reason:

    Server Error

Caused by:

 

javax.servlet.ServletException: java.lang.OutOfMemoryError: Java heap space

at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl .java:905)

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.j ava:834)

at org.jivesoftware.openfire.admin.error_jsp._jspService(error_jsp.java:150)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:595)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 3)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:11 27)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185 )

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:106 1)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:191)

at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:72)

at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:738)

at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:708)

at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl .java:862)

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.j ava:834)

at org.jivesoftware.openfire.admin.login_jsp._jspService(login_jsp.java:283)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1669)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:53)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:226)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:165)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 3)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:11 27)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185 )

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:106 1)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:215)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:110)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.OutOfMemoryError: Java heap space

Caused by:

 

java.lang.OutOfMemoryError: Java heap space

Re: Problem accessing /login.jsp

$
0
0

You're suffering from a memory starvation issue. Even if your computer has a lot of memory, Openfire might not be getting enough of it. Refer to Openfire: Installation Guide  to see how to increase the amount of memory available to Openfire.

Re: Problem accessing /login.jsp

$
0
0

Thank you for the quick response, Guus. Checking your link now.

 

Have a wonderful day!


Re: Where to put Jar/Libs used in Custom Module ?

$
0
0

Extension of Openfire is supported through the Plugin API, as documented here: Openfire: Plugin Developer Guide . This guide also defines where you should store the various dependencies of the plugin.

By modifying the core code of Openfire directly, as you appear to have been doing, you might introduce unforeseen troubles.

Re: Is it possible to configure chat messages to delete themselves from user's computers after a certain amount of time?

$
0
0

Id like to see an option in spark (or any other client) that would delete local history on exit, or based on a date..ie anything older than 24 hrs, a week, month, etc...  I had this request from my old job and tried to hack something together.   the downside of disabling history all together is if a chat window is closed by mistake, you lose the history (even if the application is still running). 

Re: Problem accessing /login.jsp

$
0
0

if you are using windows then place a new file namely openfired.vmoptions in bin directory and put value of

-Xms512m

-Xmx1000m

 

using this you can change heap memory option in openfire

Re: Where to put Jar/Libs used in Custom Module ?

$
0
0

create a  new directory namely lib and put it under your root directory openfire will featch refrence from there while new build of your custom plugin

Re: s2s connection problem

$
0
0

make sure your port number 5269 is not blocked by firewall or any other applicatoin because server to server connection made through this port and you are getting blocking error so please check your port is open and can be access through openfire.

 

if you want to change this port you can change it from server properties.

Viewing all 11412 articles
Browse latest View live




Latest Images