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

Openfire 4.0.2 MultiUserChatServiceImpl NullPointerException

$
0
0

Hi,

 

Recently upgraded to Openfire 4.0.2, and every hour I get an exception in MultiUserChatServiceImpl when it runs the cleanup task to remove unused rooms from memory.

 

Here is the exception:

 

2016.05.12 06:20:27 org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Internal server error

java.lang.NullPointerException

at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.removeChatRoom(Multi UserChatServiceImpl.java:769)

at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.removeChatRoom(Multi UserChatServiceImpl.java:742)

at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.cleanupRooms(MultiUs erChatServiceImpl.java:613)

at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.access$400(MultiUser ChatServiceImpl.java:106)

at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl$CleanupTask.run(Mult iUserChatServiceImpl.java:602)

 

I can see the rooms loaded in the admin page, so any idea what could be causing this?

 

Thanks,

Joao


Monitoring Service has disapeared

$
0
0

This is my first post so if this is in the wrong place or incorrectly posted please let me know -

 

I've set up a little linux VM to host Spark for our company. The server itself is up and running and things are working as expected. After setting the server up I installed the Monitoring Service plugin and was able to get into archiving and view conversations. This was an important part of the install as without it management doesn't want the system to remain in place. That being said in the last couple of weeks we haven't had any reason to check chat logs and recently noticed the archiving menus are gone. When logged in we have the following options (see attached) but no way to view logs based on user or date like we used to. I've used Spark at two companies but this is the first install I've been in charge of managing so my understanding of the inner workings is shaky. I've restarted the VM hosting it, removed and reinstalled the Monitoring Service plugin, tried different browsers to see if perhaps it was just a problem displaying the menus but I can't make any headway. Any suggestions would be appreciated!

 

I should add the following info -

 

We're running Openfire 4.0.1 with Monitoring Service 1.5.1

Openfire 4.0.2 SSL Exception

$
0
0

Hey,

 

I got this exception everytime I shutdown openfire

 

2016.05.13 10:43:07 ERROR [Thread-2]: org.jivesoftware.openfire.spi.PresenceManagerImpl - SSL peer shut down incorrectly

com.microsoft.sqlserver.jdbc.SQLServerException: SSL peer shut down incorrectly

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection. java:1748)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection. java:1732)

        at com.microsoft.sqlserver.jdbc.TDSChannel.read(IOBuffer.java:1826)

        at com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:5418)

        at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:6730)

        at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatem ent(SQLServerPreparedStatement.java:424)

        at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecu te(SQLServerPreparedStatement.java:372)

        at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:6276)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnec tion.java:1793)

        at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStateme nt.java:184)

        at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerState ment.java:159)

        at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPrepar edStatement.java:354)

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

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)

        at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)

        at com.microsoft.sqlserver.jdbc.ISQLServerStatement$$EnhancerByProxool$$35d8721d.e xecute(<generated>)

        at org.jivesoftware.openfire.spi.PresenceManagerImpl.deleteOfflinePresenceFromDB(P resenceManagerImpl.java:227)

        at org.jivesoftware.openfire.spi.PresenceManagerImpl.writeToDatabase(PresenceManag erImpl.java:281)

        at org.jivesoftware.openfire.spi.PresenceManagerImpl.userUnavailable(PresenceManag erImpl.java:275)

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

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

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

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

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

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

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

        at org.jivesoftware.openfire.net.VirtualConnection.notifyCloseListeners(VirtualCon nection.java:228)

        at org.jivesoftware.openfire.net.VirtualConnection.close(VirtualConnection.java:20 1)

        at org.jivesoftware.openfire.http.HttpSession$HttpVirtualConnection.systemShutdown (HttpSession.java:1131)

        at org.jivesoftware.openfire.spi.LocalRoutingTable.stop(LocalRoutingTable.java:146 )

        at org.jivesoftware.openfire.spi.RoutingTableImpl.stop(RoutingTableImpl.java:983)

        at org.jivesoftware.openfire.XMPPServer.shutdownServer(XMPPServer.java:927)

        at org.jivesoftware.openfire.XMPPServer.access$800(XMPPServer.java:101)

        at org.jivesoftware.openfire.XMPPServer$ShutdownHookThread.run(XMPPServer.java:873 )

 

I am using Microsoft SQLServer JDBC driver version 4.2.

 

Not sure if there is any incompatibility between openfire and this version of the driver or if there is any additional configuration to be done.

 

Any thoughts?

 

Thanks,

João

Strange SSL Issue with OpenFire and XMPP clients

$
0
0

Hi there everybody,

I used Openfire before and installed it again for my own company. As and usual, i've purchased SSL certificate. I've installed Openfire with MySQL database as backend. I've imported SSL to keystore. After that i've opened OF admin and go to SSL. There i see strange picture. See attached file.

If i delete DSA certificate all my clients won't connect at all. If i keep DSA - Spark connects ok, but all rest clients tell me that certificate is self-signed. And they see certificate with internal host name (ubuntu), but not real SSL with FQDN.

Clients like Adium, Pidgin and QIP tells me also self signed SSL.

 

Help me fix this issue and go to production. It's really important for me and my small company.

How to debug search plugin?

$
0
0

I've spent almost 2 days tyring to understand how to make search plugin running. All recipes from this forum doesn't work for me, search not running after all changes made in a system ("Searchable Fields" empty in settings, I can see search service but no results from it etc.). Unfortunately I see no documentation describing how to adjust this plugin so I'd like to try debugging.

I'm using LDAP connection and it works fine itself: users are able to login (right now we're using Spark), Profile filled with info from LDAP etc. But users are not happy because they cannot search for their colleagues and the option "Just use Jabber ID" isn't a solution here: it's inconvinient to remember JID and anyway first of all they have to get such JID from somebody who will be added.

Cannot Start Openfire Server on Mac OSX El Capitan 10.11.4

$
0
0

Hi All

 

Recently i try to download and install latest openfire 4.0.2 but the service not started on my mac if i try to start the openfire service always crashed, attached the crash log file please help what are the problem has occurred.

 

Thank you.

Could not find or load main class org.jivesoftware.openfire.starter.ServerStarter

$
0
0

Hi,

 

Having a problem running openfire through eclipse, I keep getting the error "Error:  Could not find or load main class org.jivesoftware.openfire.starter.ServerStarter".

Any google results are unhelpful, other than changing my source folder to src/java, which I have done.

Any help is much appreciated!!

 

Screenshot from 2014-10-17 18:08:10.png

Raspberry: After update to 4.0.2 mobile-desktop client are not able to login

$
0
0

Hello Gents,

 

I´m looking for a solution, hopefully this is a well known error, because I spent already some days:

 

After the upgrade from 4.0.1 to 4.0.2 my clients are not able to login to the software.

Spark is scanning for a search service and the mobile client has no sync to Openfire.
Spark is trying to connect every 12 seconds.

A successful login to the webinterface is possible and works fine.
BTW: Openfire runs at a RaspberryPi2 and Pi3.

 

From my perspective it looks like that the first handshake to the server works, but after this an unknown process failed.
Attached you find the screenshot of my spark. Wiederverbinden=Try to reconnect.

 

Thanks for supporting.

 

Best regards

Sebastian


Guide / Tutorial / Writeup / Walkthrough / How to: Setting up Openfire 3.10.2 with a PostgreSQL DB, Active Directory / LDAP integration, and a Wildcard SSL Certificate

$
0
0

In case this might help anyone else out, I wrote up a little step-by-step guide for this process in case I ever have to do it again.  Let me know if you come across any errors or omissions and I will try to keep this updated:

 

Overall Reference: https://www.igniterealtime.org/builds/openfire/docs/latest/documentation/index.h tml

 

Objectives

 

  1. Get Openfire running
  2. Store to a PostgreSQL database
  3. Retrieve users from Active Directory (Tested with Windows Server 2012 Active Directory and Zentyal PDC running samba4)
  4. Use AD (LDAP) Users, but Local Groups
  5. Filtering only real Openfire users
  6. Secure server with SSL certificate

 

Notes

 

For purposes of this document, $ should mean Ubuntu shell, while =# indicates PostgreSQL shell.

I use vi as my editor of choice, but feel free to replace all references to vi with vim, nano, gedit,or whatever you like.

As of the latest edit, this document applies to the following software versions:

Ubuntu 14.04.1 LTS

Openfire 3.9.3 and 3.10.2

PostgreSQL 9.3

Oracle Sun Java 7 and 8

 

Steps:

 

1. Install Ubuntu

  i. Setup primary user: UbuntuMainUser

 

  Reference: http://www.simpleprecision.com/how-to-set-a-static-ip-to-ubuntu-14-04-server/

  ii. Set network config

       $ sudo vi /etc/network/interfaces

 

 

Reference: https://igniterealtime.jiveon.com/thread/52470

2. Download Openfire .deb

  $ wget --no-certificate-check https://download.igniterealtime.org/openfire/openfire_3.10.2_all.deb

 

 

Reference: https://help.ubuntu.com/community/Java, http://www.duinsoft.nl/packages.php

3. Install latest version of Oracle Sun Java

  i. $ sudo vi /etc/apt/sources.list

       Add line: deb http://www.duinsoft.nl/pkg debs all

  ii. Import gpg key

       $ sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26

  iii. Install Java

       $ sudo apt-get update

       $ sudo apt-get install update-sun-jre

 

 

Reference: https://help.ubuntu.com/community/PostgreSQL, https://www.igniterealtime.org/builds/openfire/docs/latest/documentation/databas e.html

4. Install latest version of PostgreSQL

  $ sudo apt-get install postgresql postgresql-contrib

 

5. Setup PostgreSQL database

  i. Set postgres user password

       $ sudo -u postgres psql postgres

       =# \password postgres

      Ctrl + D

  ii. Create Database for Openfire

       $ sudo -u postgres createdb -E UNICODE openfire_db

  iii. Create User and User Password for Openfire Database access

       $ sudo -u postgres createuser -D -A -P db_admin

      Reference: http://www.postgresql.org/docs/9.3/static/sql-grant.html

  iv. Give User Access to Openfire Database

       $ sudo -u postgres psql postgres

       =# GRANT ALL PRIVILEGES ON openfire_db TO db_admin;

       Ctrl + D

 

6. Install Openfire .deb

  $ sudo dpkg -i openfire_3.10.2_all.deb

 

7. Import Openfire's PostgreSQL schema

  i. Add user UbuntuMainUser to PostgreSQL

       $ sudo -u postgres createuser --superuser UbuntuMainUser

       $ sudo -u postgres psql

       =# \password UbuntuMainUser

       Ctrl + D

  ii. Grant all privileges to openfire_db to UbuntuMainUser

       $ sudo -u postgres psql postgres

       =# GRANT ALL PRIVILEGES ON DATABASE openfire_db TO "UbuntuMainUser";

       Ctrl + D

  iii. Copy schema file to UbuntuMainUser's home directory

       $ cp ../openfire/resources/database/openfire_postgresql.sql /home/UbuntuMainUser/

  iv. Take ownership of schema file

       $ sudo chown UbuntuMainUser:UbuntuMainuser openfire_postgresql.sql

  v. Import schema file to Openfire Database

       $ psql -d openfire_db -f /home/UbuntuMainUser/openfire_postgresql.sql

  vi. Give ownership of Openfire Database back to Openfire Database User

       $ sudo -u postgres psql postgres

       =# ALTER DATABASE openfire_db OWNER to db_admin;

       =# \c openfire_db;

       =# REASSIGN OWNED BY "UbuntuMainUser" TO db_admin;

       CTRL + D

 

8. Run Openfire webconfig at http://your.ubuntu.server.IP:9090

  i. Language: English (or your choice)

  ii. Server Info

       Domain: Put here whatever you want to be after @ for your Openfire usernames.  For example, if you want Jessica@openfire.company.com, put 'openfire.company.com' here.

       Blowfish Encryption: Create your own long string of characters, letters, numbers, and symbols here

  iii.Database

       External Database

            Type: PostgreSQL

            Address: http://localhost:5432/openfire_d   (Use database name from step 5.ii.)

            Login: db_admin (User name from step 5.iii.)

            Password: (from step 5.iii.)

 

  Reference: https://forum.zentyal.org/index.php/topic,23324.0.html

  iv.Profile (Directory Server / LDAP)

       Double check your DN information on your samba4 server with the following command:

            $ sudo ldbsearch  -H /var/lib/samba/private/sam.ldb > ldbsearchresults.txt

            $ vi ldbsearchresults.txt

       Double check your DN information on your Windows Server using the dsquery CLI tool

 

       Domain: local.company.com

       Base DN: CN=Users,DC=local,DC=company,DC=com

       Administrator DN: CN=AdministratorName,CN=Users,DC=local,DC=company,DC=com

       Administrator Password: (from your PDC)

 

  v. Admin User

       If you have done everything right you should be able to add a user as an admin from your LDAP

 

 

Reference: https://igniterealtime.jiveon.com/thread/33144

9. Ignore Active Directory (LDAP) Groups

  i. In Openfire webconfig: Server -> System Properties -> provider.group.className -> Edit

  ii. Erase any value and leave blank

  iii. Save

  iv. Restart Openfire server

       $ sudo service openfire restart

 

 

Reference: https://igniterealtime.jiveon.com/thread/30063, https://www.igniterealtime.org/builds/openfire/docs/latest/documentation/ldap-gu ide.html

10. Setup Filter

  i. On your Primary Domain Controller (PDC), create a new group called "OpenfireUsers"

  ii. Add all the users to whom you want to provide access to group "OpenfireUsers"

  iii. In Openfire webconfig: Server -> System Properties -> ldap.searchFilter -> Edit

  iv. Insert value: (&(objectClass=organizationalPerson)(memberOf=CN=OpenfireUsers,CN=Users,DC=local ,DC=Company,DC=com))

  v. Save

  vi. Restart Openfire server

       $ sudo service openfire restart

 

 

Reference: https://help.ubuntu.com/community/IptablesHowTo, https://www.linode.com/docs/applications/messaging/instant-messaging-services-wi th-openfire-on-ubuntu-12-04-lts-precise-pangolin

11. Setup Ubuntu Firewall

     i. Setup rules

  $ sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT (Ignore if you don't want SSH access; Change if using different SSH port)

  $ sudo iptables -A INPUT -p tcp --dport 3478 -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport 3479 -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport 5222 -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport 5223 -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport 5229 -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport 7070 -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport 7443 -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport 7777 -j ACCEPT

  $ sudo iptables -A INPUT -p tcp --dport 9090 -j ACCEPT (Ignore if you don't want to allow http webconfig access)

$ sudo iptables -A INPUT -p tcp --dport 9091 -j ACCEPT (Ignore if you don't want to allow https webconfig access)

  $ sudo iptables -I INPUT 1 -i lo -j ACCEPT

  $ sudo iptables -A INPUT -j DROP

 

     ii. Setup iptable rules to survive reboot

  $ sudo iptables -L -v (Check IPTables)

  $ sudo sh -c "iptables-save > /etc/iptables.rules"

  $ sudo vi /etc/network/interfaces

       Add line at end of eth0: pre-up iptables-restore < /etc/iptables.rules

  $ sudo shutdown -r now

  $ sudo iptables -L -v (Confirm New Rules survive reboot)

 

12. Install Security Certificate

    i. Upload your certificate files to your Openfire server.

         In this case I used a wildcard certificate from Comodo.

          Copy files to a working directory:

               $ sudo mkdir /etc/ssl

                $ sudo cp /home/UbuntuUser/certificate_files* /etc/ssl

                $ cd /etc/ssl

     ii. Import your certificates into Openfire

         If you have a separatecertificate.crtandprivate-key-decrypted.keyfile:

                 $ sudo openssl pkcs12 -export -in "/etc/ssl/certificate.crt" -inkey "/etc/ssl/private-key-decrypted.key" -out "/etc/ssl/combined.p12" -name "myserver.domain.com.certificate.2015.06.30"

                         Export Password:changeit

                 $ sudo keytool -importkeystore -destkeystore keystore.mydomain.2015.06.30 -srckeystore combined.p12 -srcstoretype pkcs12 -alias "myserver.domain.com.certificate.2015.06.30"

                         Destination Keystore Password:changeit

                         Source Keystore Password:changeit

          OR If you have a singlecertificate.pfxfile

                 $ sudo keytool -importkeystore -destkeystore keystore.mydomain.2015.06.30 -srckeystore certificate.pfx -srcstoretype pkcs12 -alias "myserver.domain.com.certificate.2015.06.30"

                         Destination Keystore Password:changeit

                         Source Keystore Password:changeit

 

          THEN

                    $ sudo /etc/init.d/openfire stop

                    $ sudo -i

                    $ cd /usr/share/openfire/resources/security

                    $ cp keystore keystore.bak

                    $ rm keystore

 

                    $ cp /etc/ssl/keystore.mydomain.2015.06.30 ./keystore

                    $ chmod 640 keystore

                    $ chown openfire:openfire keystore

                    $ ls -l (double-check)

 

                    $ su UbuntuUser

                    $ sudo /etc/init.d/openfire restart

     iii. Confirm certificates are working:

               Try connecting through a web browser to the web admin via https:// and port 9091

               Try connecting to the server from a Jabber client using SSL encryption

               Test your website at xmpp.net

               DO NOT WORRY if the web config under System Settings -> Security Certificates reports that the certificate is Pending Activation.  This is a bug in the web config.

 

          Note: Documentation states (Openfire: SSL Guide) that it is possible to change the default keystore and certificate passwords by using the xmpp.socket.ssl.keypassserver property, but I was never able to get my certificates properly loaded using anything but the default passwords of changeit.  Similarly, you should be able to change the default keystore location using xmpp.socket.ssl.keystore but I was again unsuccessful.

    

 

Optional step: Allow external access to PostgreSQL database via PGAdminIII tool

 

  i. Allow incoming connections

       $ sudo vi /etc/postgresql/9.3/main/pg_hba.conf

                 Add line: host all all 192.168.1.0/24 md5

  ii. Listen on all interfaces

       $ sudo vi /etc/postgresql/9.3/main/postgresql.conf

                 Add line: listen_addresses='*'

  iii. Restart postgresql

       $ sudo service openfire stop

       $ sudo service postgresql restart

       $ sudo service openfire start

  iv. Download and instal pgAdminIII for your client and connect to the IP of the Openfire/PostgreSQL server

 

This document was generated from the following discussion: Guide / Tutorial / Writeup / Walkthrough: Setting up Openfire 3.9.3 with a PostgreSQL DB and Active Directory / LDAP integration

openfire 4.0.2 muc error

$
0
0

2016.05.17 10:35:58 org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 内部服务器错误

java.lang.IllegalStateException: Queue full

at java.util.AbstractQueue.add(AbstractQueue.java:98)

at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.logConversation(Mult iUserChatServiceImpl.java:1381)

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

at org.jivesoftware.openfire.muc.cluster.BroadcastMessageRequest$1.run(BroadcastMe ssageRequest.java:72)

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

at org.jivesoftware.openfire.muc.cluster.BroadcastMessageRequest.run(BroadcastMess ageRequest.java:69)

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

at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.send(LocalMUCRoom.java:1084)

at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.sendPublicMessage(LocalMUCRoom.j ava:1057)

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

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

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

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

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

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

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:139)

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

at org.jivesoftware.openfire.net.StanzaHandler.processMessage(StanzaHandler.java:3 78)

at org.jivesoftware.openfire.net.ClientStanzaHandler.processMessage(ClientStanzaHa ndler.java:113)

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

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

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

at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceive d(DefaultIoFilterChain.java:690)

at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapte r.java:109)

at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flus h(ProtocolCodecFilter.java:407)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:236)

at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

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

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)

Openfire How to and more

$
0
0

Hi,

 

I'm new to Openfire and I was wondering if there is a How to about it.

 

Also, I am trying to test Openfire and I can test the chat feature with an account test1@domain.com and test2@domain.com, so both can chat eachother but my quetion is, Is there any way to establish a chat between test1@domain.com and userX@hotmail.com   |  userX@yahoo.com?. test1@domain.com does not have access to login to his/her personal account (hotmail.com or yahoo) but he/she can chat with the already explained users.

 

Thanks in advanced for your help.

 

 

Carlos.

Importing wildcard SSL Cert from Godaddy using windows

$
0
0

I'm trying to import out godaddy wildcard cert, but I get the following error. There was an error while trying to import the private key and signed certificate. Internal server error: The supplied certificate chain does not cover the domain of this XMPP service.

 

We don't have any linux boxes, so most of the solutions out their that I've seen can't be used.

 

openfire 4.0.2

NPE during hazelcast init.

$
0
0

I am trying to upgrade a local OF to version 4.0.1 (and hazelcast 2.2) but during startup I sometime get this NPE:

 

2016.01.28 09:46:41 INFO  [ClusterManager events dispatcher]: com.hazelcast.partition.InternalPartitionService - [169.254.80.80]:5701 [openfire] [3.5.1] Initializing cluster partition table first arrangement...
2016.01.28 09:46:41 WARN  [ClusterManager events dispatcher]: org.jivesoftware.openfire.cluster.ClusterManager - Null value is not allowed!
java.lang.NullPointerException: Null value is not allowed!  at com.hazelcast.util.Preconditions.checkNotNull(Preconditions.java:41)  at com.hazelcast.map.impl.proxy.MapProxySupport.putAllInternal(MapProxySupport.java:862)  at com.hazelcast.map.impl.proxy.MapProxyImpl.putAll(MapProxyImpl.java:309)  at org.jivesoftware.openfire.plugin.util.cache.ClusteredCache.putAll(ClusteredCache.java:129)  at org.jivesoftware.util.cache.CacheFactory.joinedCluster(CacheFactory.java:738)  at org.jivesoftware.openfire.cluster.ClusterManager$2.run(ClusterManager.java:95)

 

 

After some trial-and-error I discovered that this happens only when restarting my OF with active clients on it, the clients reconnects before OF hits this exception and I managed to catch this my debugger:

 

And there are some values from a cache named 'Locked Out Accounts' that has cached some NULL values and is causing the NPE later on.

 

If all clients are started after OF has initialized the clustering, this exception is not happening.

 

 

Regards

 

Lars

[ASK] Many red word time to start

$
0
0

Hello , I'm new comer use Openfire & Spark into my office

 

Little milestone time use the OF

 

I was install Openfire Server & Spark Client as well 

 

And i face a some warning word [red] time i want start the Openfire as below here :

 

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)

Openfire 4.0.2 [May 17, 2016 11:58:01 PM]

Can anybody help me to solved this case ?

 

Many thanks for read this thread ..

 

Regard

Indonesia Opensource Geek

Giving user admin privileges won't work

$
0
0

Hey,

 

unfortunately, I don't know when and how it started, but my server won't recognize my 2 other users as admins.

 

So I see the "is administrator" in their profile is set to "Yes". I see the "admin.authorizedJIDs" have me and the 2 other people seperated by commas without extra spaces. in the admin console and in the database, but I'm actually the only one having admin access. At least I'm the only one who's allowed to join every MUC  without being mentioned in the permissions.

 

Restarting the server doesn't help. I even updated from 4.0.1 to 4.0.2 which still didn't help.

 

Any other ideas?


how to optimize performance for openfire 4.0.1

$
0
0

Hi,

Is there any idea to  optimize performance for openfire 4.0.1?

 

I've got 800+ users, and 50+ groups shared for all users in the Roster.

 

Every morning when 300+ offline users log on, some user cannot log on before they tried several times.

 

I'v changed ulimit -n to 65535 on the Openfire server,

and add “ -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider” to OPENFIRE_OPTS in /etc/init.d/openfire.

also changed sysctl: net.ipv4.ip_local_port_range = 1024 65000

 

It seems useless.

 

This is some info:

Openfire:4.0.1

OS: RHEL6 x86_64

Java:1.8.0_45 Oracle Corporation -- Java HotSpot(TM) 64-Bit Server VM

Java Memory: 1127.00 MB of 54613.50 MB (2.1%) used

 

Thanks a lot!

How to debug search plugin?

$
0
0

I've spent almost 2 days tyring to understand how to make search plugin running. All recipes from this forum doesn't work for me, search not running after all changes made in a system ("Searchable Fields" empty in settings, I can see search service but no results from it etc.). Unfortunately I see no documentation describing how to adjust this plugin so I'd like to try debugging.

I'm using LDAP connection and it works fine itself: users are able to login (right now we're using Spark), Profile filled with info from LDAP etc. But users are not happy because they cannot search for their colleagues and the option "Just use Jabber ID" isn't a solution here: it's inconvinient to remember JID and anyway first of all they have to get such JID from somebody who will be added.

Setting up a server multiple times

$
0
0

My server is not saying its been set up if I restart it and it is not letting me login to the admin console using the default username and password.

 

Here are the errors I'm getting

 

2016.04.27 13:24:18 org.jivesoftware.openfire.container.AdminConsolePlugin - An exception occurred while trying to make available the admin console via HTTPS.

java.lang.NullPointerException

  at org.jivesoftware.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:144)

  at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:244)

  at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :447)

  at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :68)

  at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1037)

  at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

  at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (Unknown Source)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n Source)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

 

and this in the Openfire launcher

 

Database setup or configuration error: Please verify your database settings and check the logs/error.log file for detailed error messages.

java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@f62faf94[file =C:\inetpub\openfire\embedded-db\openfire.lck, exists=false, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: C:\inetpub\openfire\embedded-db\openfire.lck (The system cannot find the path specified)

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

  at org.jivesoftware.openfire.XMPPServer.access$300(XMPPServer.java:101)

  at org.jivesoftware.openfire.XMPPServer$1.run(XMPPServer.java:414)

 

What could be the issue?

SSL/TLS Diffie-Hellman Modulus

$
0
0

I get this vulnerability when scanning via Nessus.   

 

Vulnerable connection combinations  on port 5223/tcp/jabber:

 

SSL/TLS version : TLSv1.1 Cipher suite : TLS1_CK_DHE_DSS_WITH_AES_128_CBC_SHA Diffie-Hellman MODP size (bits) : 1024 Warning - This is a known static Oakley Group2 modulus. This may make the remote host more vulnerable to the Logjam attack. Logjam attack difficulty : Hard (would require nation-state resources)

SSL/TLS version : TLSv1.1 Cipher suite : TLS1_CK_DHE_RSA_WITH_3DES_EDE_CBC_SHA Diffie-Hellman MODP size (bits) : 1024 Warning - This is a known static Oakley Group2 modulus. This may make the remote host more vulnerable to the Logjam attack. Logjam attack difficulty : Hard (would require nation-state resources)

SSL/TLS version : TLSv1.1 Cipher suite : TLS1_CK_DHE_DSS_WITH_3DES_EDE_CBC_SHA Diffie-Hellman MODP size (bits) : 1024 Warning - This is a known static Oakley Group2 modulus. This may make the remote host more vulnerable to the Logjam attack. Logjam attack difficulty : Hard (would require nation-state resources) SSL/TLS version : TLSv1.0 Cipher suite : TLS1_CK_DHE_DSS_WITH_AES_128_CBC_SHA Diffie-Hellman MODP size (bits) : 1024 Warning - This is a known static Oakley Group2 modulus. This may make the remote host more vulnerable to the Logjam attack. Logjam attack difficulty : Hard (would require nation-state resources) SSL/TLS version : TLSv1.0 Cipher suite : TLS1_CK_DHE_RSA_WITH_3DES_EDE_CBC_SHA Diffie-Hellman MODP size (bits) : 1024 Warning - This is a known static Oakley Group2 modulus. This may make the remote host more vulnerable to the Logjam attack. Logjam attack difficulty : Hard (would require nation-state resources) SSL/TLS version : TLSv1.0 Cipher suite : TLS1_CK_DHE_DSS_WITH_3DES_EDE_CBC_SHA Diffie-Hellman MODP size (bits) : 1024 Warning - This is a known static Oakley Group2 modulus. This may make the remote host more vulnerable to the Logjam attack. Logjam attack difficulty : Hard (would require nation-state resources)

 

I don't have these ciphers enabled under client connections,  encrypted connection legacy mode for client, advanced.   I have TLS1.0, TLS1.1 and TLS1.2 enabled.

 

 

Any help would be appreciated.

 

Thank you.

IBM Domino LDAP error - Openfire 4.0.2

$
0
0

Does Openfire 4.0.2 supports with IBM Domino Ldap. I was trying to configure the Openfire with IBM Domino Ldap, but I am getting the authentication error again and again.

Error Message : LDAP Server: Bind request for cn="Test User1",o="Test" failed: Invalid credentials specified: failed to authenticate

 

Thanks

Biswajit

Viewing all 4778 articles
Browse latest View live