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 set up and administer, but offers rock-solid security and performance.
Openfire is an XMPP server licensed under the Open Source Apache License.
Openfire - an Ignite Realtime community project.
Only a few users have access for filling bugs in the tracker. New users should:
Please search for your issues in the bug tracker before reporting.
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.
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 itselfOther folders are:
Openfire/build
- various files use to create installers for different platformsOpenfire/distribution
- a Maven module used to bring all the parts togetherOpenfire/documentation
- the documentation hosted at igniterealtime.orgOpenfire/i18n
- files used for internationalisation of the admin interfaceOpenfire/plugins
- Maven configuration files to allow the various plugins available to be builtOpenfire/starter
- a small module that allows Openfire to start in a consistent manner on different platformsTo 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.
org.jivesoftware.openfire.starter.ServerStarter
-DopenfireHome="-absolute path to your project folder-distributiontargetdistribution-base"
-Xverify:none
-server
-Dlog4j.configurationFile="-absolute path to your project folder-distributiontargetdistribution-baseliblog4j2.xml"
-Dopenfire.lib.dir="-absolute path to your project folder-distributiontargetdistribution-baselib"
-Dfile.encoding=UTF-8
You need to execute mvnw verify
before you can launch openfire.
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
.distributiontargetdistribution-basebinopenfire.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.