On Mon, 2009-10-19 at 15:29 -0400, Martin Pepin wrote:
>
> Hi,
>
> To solve XX-6782 I need to dynamically modify file "openfile.xml" when
> the "Instant Messaging" debug level is turned on. I have noticed that
> there are 2 copies of the same file:
>
> 1) /opt/openfire/conf/openfire.xml
> 2)
> ${sipxecs_install}/share/java/sipXecs/sipXopenfire/conf/openfire.xml
>
> The reason why there are 2 copies is that when "sipxopenfire-setup.sh"
> runs at sipXecs startup, it creates a softlink from
> ${sipxecs_install}/share/java/sipXecs/sipXopenfire/conf/openfire.xml
> to /opt/openfire/conf/openfire.xml. However, around 10 seconds after
> "SipXopenfire" starts, the openfire.xml file gets overwritten and the
> softlink is removed. This seems to be overwritten by the
> "SipXopenfire" process itself. This is also happening when I manually
> set the openfire debug level in the openfire web admin
> server->logs->debug tab and click save changes.
>
> I would like to propose that the softlink creation in
> "sipxopenfire-setup.sh" links to the "conf" directory where
> openfire.xml is located instead of linking to the actual file. Any
> comments?
Actually, the right fix is to just build the sipx-openfire with the same
prefix we use for everything else in the first place, and then all that
nonsense with /opt goes away.
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/