My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
CustomizingWebappName  
Howto rename webapp
Configuration
Updated Nov 16, 2011 by solomax...@gmail.com

Feature available since r4303 ( Issue 1403 ) Minimum OpenMeetings Version 1.9.x

Renaming /openmeetings context

If you want to have http://yourcorp.com:5080/yourmeetings instead of http://yourcorp.com:5080/openmeetings you need to do the following

  1. stop openmmetings if it is running
  2. go to openmeetings install dir (for ex. /opt/red5)
  3. rename /opt/red5/webapps/openmeetings to /opt/red5/webapps/yourmeetings (for ex. mv /opt/red5/webapps/openmeetings /opt/red5/webapps/yourmeetings)
  4. open /opt/red5/webapps/yourmeetings/config.xml using your favorite text editor (for ex. vim /opt/red5/webapps/yourmeetings/config.xml)
  5. find and modify <webAppRootKey>openmeetings</webAppRootKey> to be <webAppRootKey>yourmeetings</webAppRootKey>
  6. find and modify <httpRootKey>/openmeetings/</httpRootKey> to be <httpRootKey>/yourmeetings/</httpRootKey>
That's it

Changing hard-coded application name in string labels

To have Your Application Name instead of Openmeetings in all text labels you need to do the following

  1. ensure $APP_NAME placeholder is used in all strings you have added and/or modified (all strings bundled into Openmeetings already have this placeholder)
  2. login to Openmeetings as user with administrator privileges
  3. go to Administration -> Configuration
  4. find and edit configuration with name application.name
  5. Set its value to be Your Application Name
  6. Save
  7. reload page or relogin
All string will display Your Application Name in place of Openmeetings

Please NOTE there are 3 additional properties in the config.xml file which should be modified for TOTAL Openmeetings clean up:

<currentappname>OpenMeetings</currentappname>
<currentappnameurl>http://openmeetings.googlecode.com</currentappnameurl>
<currentappnamebugurl>http://code.google.com/p/openmeetings/issues/list</currentappnamebugurl>

please modify them according to your needs.

Comment by webca...@gmail.com, Dec 2, 2011

To make it working, you need also modify file /red5/yourmeetings/WEB-INF/red5-web.propreties to modify the first line : webapp.contextPath=/openmeetings to webapp.contextPath=/yourmeetings then restart and it work ;-)

Comment by project member solomax...@gmail.com, Dec 2, 2011

There is no such properties in red5-web.properties anymore

Comment by juanf.or...@gmail.com, Dec 10, 2011

I´ve follow the steps above but didn´t work. There maybe some some steps missing. After the changes, when you access you openmeetings instance, you are still redirected to the old openmmetings instance. Any ideas how to fix it?

Comment by project member solomax...@gmail.com, Dec 10, 2011

Are you using 1.9 version? Are you changing context name?

I need more details to troubleshoot. I triple check all the steps.

Comment by ismailah...@gmail.com, Dec 14, 2011

doing the steps everything worked except, but screen sharing, recording stopped if I changed the path, any solutions?

Comment by juanf.or...@gmail.com, Dec 16, 2011

Hello solomax. The installed version is Openmeetings 1.9 running on CentOS 6/32 bits clean install. I followed the stet by step openmeetings install Openmeetins on CentOS. Everything was OK and Openmeetings runs fine on the standard directory. But when I changed the Openmeetings directory name and follow the steps above, we are still redirected to the old openmmetings instance.

Comment by project member solomax...@gmail.com, Dec 16, 2011

"but screen sharing, recording stopped if I changed the path, any solutions?" I would say this is because config.xml is not changed. Could you take a look at java console of your browser and let me know if there are nay errors there?

Comment by project member solomax...@gmail.com, Dec 16, 2011

"we are still redirected to the old openmmetings instance." not sure what do you mean by "redirecting" Are you changing context? after renaming /opt/red5/webapps/openmeetings to /opt/red5/webapps/ABC do you have something like "Logger name for context: ABC" and then lots of "Launcher:/ABC"

Comment by Minhhoan...@gmail.com, Dec 20, 2011

I can't connect to rtmp://abc.abc.abc:1935/newname/hibernate... it works right when i turn it back to "openmeetings" as name (rtmp://abc.abc.abc:1935/openmeetings/hibernate). Pls help me!

Powered by Google Project Hosting