Tags
Active Directory, voip uae, openfire, xmpp, openfire with ad, elastix openfire, asterisk chat, HTTP ERROR: 500 INTERNAL_SERVER_ERROR, RequestURI=/setup/setup-finished.jsp, cache error, Pandion, XMPP Client, Openfire+Pandion, Asterisk Dubai, Asterisk UAE, VoIP Dubai, IP Phones Dubai
Create database for Openfire
# mysql -u root -p mysql> create database openfire;
Goto IM tab in Elastix GUI and start the installation.
Select the MySQL DB which you have created already.
Select Profile Settings as Directory Server

Put Active Directory Credentials
Choose the admin accounts for Open Fire.

Click Continue.
If you face the “HTTP ERROR: 500 INTERNAL_SERVER_ERROR” run the following commands.
# mkdir /var/lib/php/session/cache # chmod 777 cache
Click browser’s back button and click continue to finish the installation.

For testing install XMPP client Pandion and login with Active Directory username @ Openfire Server name and active directory password. See the screenshot.





After your step, “Leave User Mapping as it is” I don’t get the dialog box, “Choose the admin accounts for Open Fire.” I get “Profile Settings: Group Mapping”, and when I click next I get HTTP ERROR 500
Problem accessing /setup/setup-admin-settings.jsp. Reason:
Server Error
Caused by:
java.lang.NullPointerException
Can you help?
Did you try this?
mkdir /var/lib/php/session/cache
chmod 777 /var/lib/php/session/cache
Yes I did try that but it did not work. However I figured out the issue. I was using Open Java, and apparently it does not work with that. So I executed sudo apt-get install oracle-java6-jre then sudo update-java-alternatives -s java-6-sun and then it worked. Thanks for responding.
You are welcome. Your comment will help other readers having same issue.