Skip to content
A XMPP server licensed under the Open Source Apache License.
Java HTML JavaScript TSQL CSS Shell Other
Branch: master
Clone or download
akrherz Merge pull request #1572 from GregDThomas/OF-1959-plain-text-ldap
OF-1959: Correct typo in JSP to enable plain text LDAP
Latest commit 379bdfc Jan 21, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Oct 8, 2019
.mvn/wrapper Add a Maven wrapper (mvnw.cmd / mvnw) to save installing Maven Nov 26, 2019
build remove demoboot.xml from RPM distribution Dec 5, 2019
distribution march master branch toward 4.6.0-SNAPSHOT Jan 10, 2020
documentation Fix plugin CSRF protection (#1566) Jan 3, 2020
i18n march master branch toward 4.6.0-SNAPSHOT Jan 10, 2020
plugins march master branch toward 4.6.0-SNAPSHOT Jan 10, 2020
starter march master branch toward 4.6.0-SNAPSHOT Jan 10, 2020
xmppserver Correct type in JSP to enable plain text LDAP Jan 21, 2020
.dockerignore Added Dockerfile Sep 25, 2017
.editorconfig OF-1410: Allow the openfire.bat file to be run from anywhere. Oct 18, 2017
.gitignore Better cross-platform integration tests (#1539) Dec 4, 2019
.travis.yml Better cross-platform integration tests (#1539) Dec 4, 2019
Dockerfile Bump maven version in docker multi-stage build Sep 17, 2019
LICENSE.txt Create LICENSE.txt Oct 28, 2016
Makefile OF-546: Drop Apache Ant in favor of Apache Maven. (#1062) Apr 17, 2018
README.md (and update the README)) Nov 26, 2019
mvnw Add a Maven wrapper (mvnw.cmd / mvnw) to save installing Maven Nov 26, 2019
mvnw.cmd Add a Maven wrapper (mvnw.cmd / mvnw) to save installing Maven Nov 26, 2019
pom.xml march master branch toward 4.6.0-SNAPSHOT Jan 10, 2020
runIntegrationTests Fix help text Dec 11, 2019
test.gradle Better cross-platform integration tests (#1539) Dec 4, 2019

README.md

Openfire alt tag

Build Status Project Stats

About

Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.

Openfire is a XMPP server licensed under the Open Source Apache License.

Openfire - an Ignite Realtime community project.

Bug Reporting

Only a few users have access for filling bugs in the tracker. New users should:

  1. Create a Discourse account
  2. Login to a Discourse account
  3. Click on the New Topic button
  4. Choose the Openfire Dev category and provide a detailed description of the bug.

Please search for your issues in the bug tracker before reporting.

Resources

Ignite Realtime

Ignite Realtime is an Open Source community composed of end-users and developers around the world who are interested in applying innovative, open-standards-based Real Time Collaboration to their businesses and organizations. We're aimed at disrupting proprietary, non-open standards-based systems and invite you to participate in what's already one of the biggest and most active Open Source communities.

Making changes

The project uses Maven and as such should import straight in to your favourite Java IDE. The directory structure is fairly straightforward. The main code is contained in:

  • Openfire/xmppserver - a Maven module representing the core code for Openfire itself

Other folders are:

  • Openfire/build - various files use to create installers for different platforms
  • Openfire/distribution - a Maven module used to bring all the parts together
  • Openfire/documentation - the documentation hosted at igniterealtime.org
  • Openfire/i18n - files used for internationalisation of the admin interface
  • Openfire/plugins - Maven configuration files to allow the various plugins available to be built
  • Openfire/starter - a small module that allows Openfire to start in a consistent manner on different platforms

To build the complete project including plugins, run the command

./mvnw verify

However much of the time it is only necessary to make changes to the core XMPP server itself in which case the command

./mvnw verify -pl distribution -am 

will compile the core server and any dependencies, and then assemble it in to something that can be run.

Testing your changes

IntelliJ IDEA:

  1. Run -> Edit Configurations... -> Add Application
  2. fill in following values
    1. Name: Openfire
    2. Use classpath of module: starter
    3. Main class: org.jivesoftware.openfire.starter.ServerStarter
    4. VM options (adapt accordingly):
      -DopenfireHome="-absolute path to your project folder-\distribution\target\distribution-base" 
      -Xverify:none
      -server
      -Dlog4j.configurationFile="-absolute path to your project folder-\distribution\target\distribution-base\lib\log4j2.xml"
      -Dopenfire.lib.dir="-absolute path to your project folder-\distribution\target\distribution-base\lib"
      -Dfile.encoding=UTF-8
      
    5. Working directory: -absolute path to your project folder-
  3. apply

You need to execute mvnw verify before you can launch openfire.

Other IDE's:

Although your IDE will happily compile the project, unfortunately it's not possible to run Openfire from within the IDE - it must be done at the command line. After building the project using Maven, simply run the shell script or batch file to start Openfire;

./distribution/target/distribution-base/bin/openfire.sh

or

.\distribution\target\distribution-base\bin\openfire.bat

Adding -debug as the first parameter to the script will start the server in debug mode, and your IDE should be able to attach a remote debugger if necessary.

You can’t perform that action at this time.