Quantcast
Channel: Ignite Realtime : All Content - Openfire Support
Viewing all 4778 articles
Browse latest View live

Issue with logging in to console v4.0.1

$
0
0

Hi all hopefully some one can help me. The server that had my OpenFire server hard a drive go down in its raid 5 after replacing the hard drive and letting it rebuild OpenFire would no longer start up. The Database resides on a separate server running on MS SQL. I have been wanting to move the OpenFire server any was as the server its on is very old. I downloaded version 4.0.1 and installed it to the same server that the DB is located on. During the set up at the part where you enter the admin password it would not take the current password. I reset the plain text password in sql to admin and set the encrypted password to null. this seemed to work as i was able to change the password on that screen and even verified in the db that the plain text password was set to null and that the encrypted password was now populated. Once i got to the admin console and tried to log in i received the error that the username or password was incorrect using what i had just changed it to. Also none of my clients would connect. I discovered that by setting a plain text password in the db for a user and setting the encrypted password to null would allow users to login. I tried this with the admin account but no luck. For some reason that i cannot figure out encrypted passwords do not seem to be working. So i can get users to login with plain text passwords but not the stored encrypted passwords already established, and i cannot get into the admin console even though i was able to reset the password for the admin account in the set up procedure. Any help would be appreciated.


Spark online users issue

$
0
0

Hi,

 

Good day.

 

Some of the spark user outside the network when they login, they only see 1 or 2 user online but  it has 10 users online. there is no error log.  i restart the openfire server and try to login again and now they can see all the online users.

 

what causes of this issue?  is there any setup i need to adjust so that it wont happen again? how to adjust cache and best/recommended value for each cache?

 

Thank you.

 

Regards.

Possible to use a HTTPS SSL-Cert for openfire too?

$
0
0

I got an SSL-Cert from a CA securing one domain (www. and non-www) with HTTPS. On this domain i deployed openfire too. Can i install the same cert in openfire or do i have to generate and buy a new cert? Got a little bit confused here :-)

How to make my all chat communication encrypted

$
0
0

Hello,

 

I have an open fire server configured recently. But while doing one nessus scan against the server, it is showing with a medium vulnerability of "XMPP Cleartext authentication". Can anyone please help on resolving this.

 

Is this related only with Security settings fields in admin console.

 

Thanks,

San.

Openfire continually crashing after upgrade to 3.10 (org.jivesoftware.openfire.nio.NIOConnection)

$
0
0

2015.04.28 18:29:46 org.jivesoftware.openfire.nio.NIOConnection - Failed to deliver packet: <presence to="user@server.name/830d4900" from="room_name@server.name/user" type="unavailable"><priority>1</priority><c xmlns="http://jabber.org/protocol/caps" node="http://pidgin.im/" hash="sha-1" ver="AcN1/PEN8nq7AHD+9jpxMV4U6YM=" ext="voice-v1 camera-v1 video-v1"/><x xmlns="http://jabber.org/protocol/muc#user"><item affiliation="member" role="none"/><status code="110"/></x></presence>

2015.04.28 18:29:46 org.jivesoftware.openfire.session.LocalSession - Internal server error

java.lang.IllegalStateException: Connection closed

    at org.jivesoftware.openfire.nio.NIOConnection.deliver(NIOConnection.java:264)

    at org.jivesoftware.openfire.session.LocalClientSession.deliver(LocalClientSession .java:857)

    at org.jivesoftware.openfire.session.LocalSession.process(LocalSession.java:289)

    at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToLocalDomain(RoutingTableI mpl.java:354)

    at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:239)

    at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:170)

    at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:84)

    at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:84)

    at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:65)

    at org.jivesoftware.openfire.muc.spi.LocalMUCRole.send(LocalMUCRole.java:266)

    at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.broadcast(LocalMUCRoom.java:1153 )

    at org.jivesoftware.openfire.muc.cluster.BroadcastPresenceRequest$1.run(BroadcastP resenceRequest.java:71)

    at org.jivesoftware.openfire.muc.cluster.MUCRoomTask.execute(MUCRoomTask.java:85)

    at org.jivesoftware.openfire.muc.cluster.BroadcastPresenceRequest.run(BroadcastPre senceRequest.java:69)

    at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.broadcastPresence(LocalMUCRoom.j ava:1106)

    at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.leaveRoom(LocalMUCRoom.java:826)

    at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:552)

    at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:197)

    at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiU serChatServiceImpl.java:324)

    at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents .process(InternalComponentManager.java:591)

    at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImp l.java:401)

    at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:243)

    at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:170)

    at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:84)

    at org.jivesoftware.openfire.handler.PresenceUpdateHandler.broadcastUnavailableFor DirectedPresences(PresenceUpdateHandler.java:489)

    at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:163)

    at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:137)

    at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:201)

    at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:148)

    at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:84)

    at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:84)

    at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClos e(SessionManager.java:1242)

    at org.jivesoftware.openfire.nio.NIOConnection.notifyCloseListeners(NIOConnection. java:240)

    at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:222)

    at org.jivesoftware.openfire.nio.ConnectionHandler.sessionIdle(ConnectionHandler.j ava:142)

    at org.jivesoftware.openfire.nio.ClientConnectionHandler.sessionIdle(ClientConnect ionHandler.java:88)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.sessionIdle(De faultIoFilterChain.java:816)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionIdle(Defau ltIoFilterChain.java:521)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$3(DefaultIoFilterC hain.java:517)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionIdle(D efaultIoFilterChain.java:928)

    at org.apache.mina.core.filterchain.IoFilterAdapter.sessionIdle(IoFilterAdapter.ja va:95)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionIdle(Defau ltIoFilterChain.java:521)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$3(DefaultIoFilterC hain.java:517)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionIdle(D efaultIoFilterChain.java:928)

    at org.apache.mina.core.filterchain.IoFilterAdapter.sessionIdle(IoFilterAdapter.ja va:95)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionIdle(Defau ltIoFilterChain.java:521)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$3(DefaultIoFilterC hain.java:517)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionIdle(D efaultIoFilterChain.java:928)

    at org.apache.mina.core.filterchain.IoFilterAdapter.sessionIdle(IoFilterAdapter.ja va:95)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionIdle(Defau ltIoFilterChain.java:521)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$3(DefaultIoFilterC hain.java:517)

    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionIdle(D efaultIoFilterChain.java:928)

    at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:97)

    at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)

    at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(Ordere dThreadPoolExecutor.java:769)

    at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(Order edThreadPoolExecutor.java:761)

    at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThr eadPoolExecutor.java:703)

    at java.lang.Thread.run(Thread.java:745)

Rest API Message only to one user (Not Broadcast)

$
0
0

Hi,

 

I have installed Rest API Plugin in my Openfire Server. I want send a message only to one user (not Broadcast message) but don´t know how to do it. Someone can help me please?

 

Thanks.

Install owncloud on Openfire Server

$
0
0

Hi

It could be possible to install Owncloud in the same server used by Openfre?

We use Openfire with Postgresql as database, and we want to add owncloud using its own database with mariadb or mysql, unless owncloud could use the same database of openfre ??

 

The most important thing we want to know is if owncloud could break the openfire server or is Ok to install it ?

Our Openfire is mounted on Centos 7 server

Thanks !!

S2S - SASL authentication failed between two OF instances

$
0
0

Hi there,

 

running into some strange issue between two OF instances - mostly configured the same way but one machine throws the following message during initial s2s connection setup:

 

Unable to authenticated the connection: SASL authentication failed (and dialback is not available)

 

Both using self signed certificates and the s2s config looks like this on both machines:

 

  • STARTTLS policy required
  • Mutual Authentication disabled
  • Certificate chain checking allow self signed + verify cert
  • Encryption Protocols TLS1,2,3 + SSL2 Hello

 

Machine #1 can write message to machine #2 (receivices it) but machine #1 did not receive a written message from machine #2.

 

What kind of missconfiguration can cause this issue? Note that s2s on machine #1 is working properly in both directions with other servers like jabber.ccc.de


Update 4.0.1 internal server error and groupchats

$
0
0

Hi,

 

since the update from 4.0.0 to 4.0.1 i cant create rooms and reconnect to rooms.

I also can't create new rooms!

 

The error is(german version):

Fehler beim Erstellen des Raumes. Es sind keine ausreichenden Privilegien vorhanden um neue Räume anzulegen.

 

Log "Information":

2016.01.31 16:49:47 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: xxxx.at to wohnzimmer] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.

 

Log "Error":

2016.01.31 17:15:40 org.jivesoftware.openfire.handler.IQHandler - Interner Serverfehler

java.lang.NullPointerException

at com.reucon.openfire.plugin.archive.xep.AbstractXepSupport$1.handleIQ(AbstractXe pSupport.java:35)

at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:66)

at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:372)

at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:115)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:78)

at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:342)

at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler .java:99)

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:307)

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:199)

at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

 

 

Hope someone can help me,

 

TIA!

 

Bert

Had to reinstall Openfire and I get these errors

$
0
0

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\logs\all.log (Access is denied)

  at java.io.FileOutputStream.open0(Native Method)

  at java.io.FileOutputStream.open(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

  at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)

  at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

  at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

  at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:15 0)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.ja va:163)

  at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurat or.java:425)

  at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)

  at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

  at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.jav a:470)

  at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

  at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)

  at org.jivesoftware.openfire.XMPPServer.<clinit>(XMPPServer.java:103)

  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:105)

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

  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.main(Unknown Source)

  at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\logs\debug.log (Access is denied)

  at java.io.FileOutputStream.open0(Native Method)

  at java.io.FileOutputStream.open(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

  at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)

  at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

  at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

  at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:15 0)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.ja va:163)

  at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurat or.java:425)

  at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)

  at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

  at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.jav a:470)

  at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

  at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)

  at org.jivesoftware.openfire.XMPPServer.<clinit>(XMPPServer.java:103)

  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:105)

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

  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.main(Unknown Source)

  at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\logs\info.log (Access is denied)

  at java.io.FileOutputStream.open0(Native Method)

  at java.io.FileOutputStream.open(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

  at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)

  at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

  at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

  at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:15 0)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.ja va:163)

  at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurat or.java:425)

  at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)

  at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

  at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.jav a:470)

  at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

  at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)

  at org.jivesoftware.openfire.XMPPServer.<clinit>(XMPPServer.java:103)

  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:105)

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

  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.main(Unknown Source)

  at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\logs\warn.log (Access is denied)

  at java.io.FileOutputStream.open0(Native Method)

  at java.io.FileOutputStream.open(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

  at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)

  at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

  at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

  at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:15 0)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.ja va:163)

  at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurat or.java:425)

  at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)

  at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

  at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.jav a:470)

  at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

  at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)

  at org.jivesoftware.openfire.XMPPServer.<clinit>(XMPPServer.java:103)

  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:105)

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

  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.main(Unknown Source)

  at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\logs\error.log (Access is denied)

  at java.io.FileOutputStream.open0(Native Method)

  at java.io.FileOutputStream.open(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at java.io.FileOutputStream.<init>(Unknown Source)

  at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

  at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)

  at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

  at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

  at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:15 0)

  at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.ja va:163)

  at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurat or.java:425)

  at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)

  at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

  at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.jav a:470)

  at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)

  at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)

  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)

  at org.jivesoftware.openfire.XMPPServer.<clinit>(XMPPServer.java:103)

  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:105)

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

  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.main(Unknown Source)

  at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

Memory leak with openfire 3.10.3

$
0
0

I am observing openfire memleak after upgrading to 3.10.3. When I took a heap dump after taking one single chat (closed the MUC session), I observed that openfire is still holding those xmpp messages belong to that chat. This is confirmed with 2nd chat also (the xmpp messages for both chats are in memory).

 

This behaviour is very obvious in the server with full load causing memleak in 3 hours.

 

Are there any configuration missing?

 

Any one have idea?

 

Environment:

Openfire 3.10.3

Smack 3.3.0

Using embedded db

Openfire clustering fails to correctly sync MUC room occupants

$
0
0

Hello all,

 

We are having a critical issue in our production Openfire cluster, where room occupant list does not correctly sync when a node is started/restarted. We observe this issue in Openfire clusters hosted in both CentOS / RHL and OSX. We have not tested this under Windows as we don't use any Windows systems at our work place. Here are the details:

 

Environment

- CentOS 6.7 (with firewalls disabled)

- Openfire 3.10.2

- Hazelcast plugin 2.1.2

- Websockets plugin 1.0.0

- Hazelcast 3.5.2

- MySQL 5.6

 

Scenario

1. Start the 1st Openfire node (Node-1) in the cluster.

2. Login a few users, and make these users join a room (in our tests, the room is called BEACH).

3. Start the 2nd Openfire node (Node-2).

4. Once the nodes have completed syncing, compare the "Client Sessions" page of Node-1 with that of Node-2. As expected, they should both show the same information.

5. Now compare the room occupant lists of the BEACH room (or whatever the room where users joined) of the two nodes. In Node-2, nicknames of some or all of the room occupants are incorrect. Their real nicknames have been replaced with resource IDs of other occupants in the same room.

6. In Node-2, try to kick a room occupants who has an incorrect nickname. Openfire throws an error saying the user cannot be kicked.

7. Terminate the all user sessions (through the admin console of Node-1 or Node-2), after which room occupants with the incorrect nicknames still exist in Node-2. So, in short these are ghost users.

 

Please also refer to attached screenshots.

node1.png:  Node-1 sessions page and room occupants page for BEACH room.

node2.png:  Node-2 sessions page and room occupants page for BEACH room. Incorrect nicknames of some occupants can be seen here.

 

 

I can reproduce these ghost users every time I run the above scenario. I use a simple JavaScript program to create user sessions via websockets. However, we have also seen this issue when using sockets and BOSH. I have attached the JS test program here. To run, create a user called "mbed" with the password "mirror", and also create a room called "beach" under conference.net.

 

I have also attached our Openfire configuration (openfire.xml) cluster configuration (cluster.xml) files.

 

I have also tested the above scenario with Openfire 3.10/Hazelcast plug 2.0.0/Hazelcast 3.4.6 and get the same results. So, this appears to be an issue either in the plugin or Openfire.

 

I would greatly appreciate if someone could help us resolve this issue, or let us know if this is a bug in Openfire. Please let me know if additional information is required. I am happy to share as much information as possible to nail this nasty issue.

 

Many thanks and kind regards,

Luki

How would I go about configuring logging for Openfire?

$
0
0

I would like to remove the max size of the log files, lump all logs into one log for easy tailing, and set log rotation to be based on age rather than size.  Is there an easy way to do this?  I can't seem to find it in the web admin interface, and not posts on it here in the forums. I'd appreciate any info this community can provide to get me going.  Thanks!

 

M@

Connection Manager - SSL ciphers and PCI

$
0
0

We have an Openfire instance with a couple of Connection Manager instances pointing to the outside world in our DMZ. We hit a snag today when a routine PCI security scan noted that the connection manager allows 'weak' SSLv3 protocols to connect to it. Something like DES-CBC-SHA, which is only 56bit, seems to work on port 5223 and I verified with openssl s_client.

 

Is there a patch or modification out there which reduces the number of ciphers connection manager supports? It explicitly excludes SSLv1/2 in the code, however there are still a number of low/medium grade ciphers in both of these standards.

 

If there is not a patch, can anyone point me in the right direction for changing the code in a useful way? :-)

How do I disable weak encryption ciphers in Openfire?

$
0
0

Following up on test results from the new xmpp.net observatory, I've been trying to find a way to disable weak SSL/TLS ciphers in OpenFire.

 

According to the Observatory test, Openfire supports a number of really weak ciphers by default which I want to disable, but can't seem to be able to configure anywhere:

Ciphers

Server does respect the client's cipher ordering.

Cipher suiteBitsizeForward secrecy
ECDHE-RSA-AES128-SHA(0xc013)128Yes
ECDHE-RSA-RC4-SHA(0xc011)128Yes
DHE-RSA-AES128-SHA(0x33)128Yes
DHE-DSS-AES128-SHA(0x32)128Yes
RC4-MD5(0x10080)128No
AES128-SHA(0x2f)128No
RC4-SHA(0x5)128No
ECDHE-RSA-DES-CBC3-SHA(0xc012)WEAK112Yes
EDH-RSA-DES-CBC3-SHA(0x16)WEAK112Yes
EDH-DSS-DES-CBC3-SHA(0x13)WEAK112Yes
DES-CBC3-SHA(0xa)WEAK112No
EDH-RSA-DES-CBC-SHA(0x15)VERY WEAK56Yes
EDH-DSS-DES-CBC-SHA(0x12)VERY WEAK56Yes
DES-CBC-SHA(0x9)VERY WEAK56No
EXP-EDH-RSA-DES-CBC-SHA(0x14)VERY WEAK40Yes
EXP-EDH-DSS-DES-CBC-SHA(0x11)VERY WEAK40Yes
EXP-RC4-MD5(0x20080)VERY WEAK40No
EXP-DES-CBC-SHA(0x8)VERY WEAK40No

 

Anything less than 128 bit should preferably be disabled, but at the very least the 40 bit and 56 bit ones since those are terrible. How do I do this?

Also, it seems openfire doesn't support 256 bit ciphers at all?


TLS encryption ciphers

$
0
0

 

I am trying to determine what ciphers Openfire uses in TLS-protected chat sessions, and to limit those ciphers to "strong" ciphers (such as those listed by openssl with "-tls  HIGH:MEDIUM). The Openfire documentation and the discussion boards are silent about either of these questions...

 

 

SSL 3.0 fallback vulnerability encounters to openfire/bouncycastle?

$
0
0

What's the fuss all about? Read here.

 

So port 5222 is plain / TLS. Port 5223 is SSL - but openfire doesn't use OpenSSL. It uses bouncycastle :-)

 

According to xmpp.net server test my server jabber-server.de uses/allows the following protocols:

 

StartTLS  REQUIRED

 

SSLv2No
SSLv3Yes
TLSv1Yes
TLSv1.1Yes
TLSv1.2Yes
Is bouncycastle/openfire affected by this vulnerability? I rode some xmpp server blogs saying they turned off compression for connections because this could enforce this bug.

 

 

 

 

IQBindHandler - Error during resource binding. Session not found in [...]

$
0
0

Anybody knows what this error means or what causes it?

 

org.jivesoftware.openfire.handler.IQBindHandler - Error during resource binding. Session not found in [7b74d7e5, c5fda423, 818d8083, 9aa6125b, 836ffd38, d2842a29, 3215deba, f0760d78] for key domain/42de8861

Disable Cleartext Authentication?

$
0
0

Would anyone know if this is actually a server property I can set? I have Require encryption set however, external security scans are still showing "Cleartext authentication" as being allowed.

Openfire 4 and Hazelcast 2.2.0

$
0
0

Hello,

 

I am attempting to build a new cluster with two Openfire servers that have version 4.0 installed. When I install the hazelcast plugin on each server and then open clustering settings I get the following error:

 

Exception:

java.lang.NullPointerException
     at org.jivesoftware.openfire.plugin.util.cache.ClusteredCacheFactory.getClusterNodesInfo(ClusteredCacheFactory.java:228)
     at org.jivesoftware.util.cache.CacheFactory.getClusterNodesInfo(CacheFactory.java:520)
     at org.jivesoftware.openfire.cluster.ClusterManager.getNodesInfo(ClusterManager.java:393)
     at org.jivesoftware.openfire.admin.system_002dclustering_jsp._jspService(system_002dclustering_jsp.java:132)
     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:808)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
     at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:53)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:80)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:162)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java: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:223)
     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
     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:1061)
     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
     at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
     at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
     at org.eclipse.jetty.server.Server.handle(Server.java:497)
     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
     at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
     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(Thread.java:745)

Any thoughts?

Thanks for your help!

Dan
Viewing all 4778 articles
Browse latest View live