Is there any non GUI option?

Hi,

I am able to configure openfire using GUI mode / openfire administrative pages but is there any command line or coding option through which i can configure openfire.

I want to configure

Server -->Server Settings —> External Component Settings --> “Port” and “Default shared secret:”

I want to configure this without using the UI / Pages or can it be done programatically

Regards,

samba

is there any configuration file to mention that and how?

Can any one please tell me in which table this informations are stored? is there any document for openfire databse / tables?

fpAgent |
| fpAgentProp |
| fpAgentSession |
| fpChatSetting |
| fpDispatcher |
| fpDispatcherProp |
| fpOfflineSetting |
| fpQueue |
| fpQueueAgent |
| fpQueueGroup |
| fpQueueProp |
| fpRouteRule |
| fpSearchIndex |
| fpSession |
| fpSessionMetadata |
| fpSessionProp |
| fpSetting |
| fpWorkgroup |
| fpWorkgroupProp |
| fpWorkgroupRoster |
| log |
| ofBookmark |
| ofBookmarkPerm |
| ofBookmarkProp |
| ofExtComponentConf |
| ofGatewayAvatars |
| ofGatewayPseudoRoster |
| ofGatewayRegistration |
| ofGatewayRestrictions |
| ofGatewayVCards |
| ofGroup |
| ofGroupProp |
| ofGroupUser |
| ofID |
| ofMucAffiliation |
| ofMucConversationLog |
| ofMucMember |
| ofMucRoom |
| ofMucRoomProp |
| ofMucService |
| ofMucServiceProp |
| ofOffline

basically i want to edit the properties marked red below using conf file / code / command line?

I found that this property in stored in table select * from ofProperty;

xmpp.component.defaultSecret

requestecIM

Click to edit this property
Click to delete this property

xmpp.component.socket.active

true

Click to edit this property
Click to delete this property

xmpp.component.socket.port

5275

Click to edit this property
Click to delete this property

xmpp.domain

zenon153

Click to edit this property
Click to delete this property

xmpp.session.conflict-limit

0

Click to edit this property
Click to delete this property

xmpp.socket.ssl.active

I don’t know that there is any command line route to do as you want.

I haven’t used the embedded DB in a long while but i suspect, the storage method is the same for these properties. ie: in the DB not in a config file.

You could write your own code to modify the DB directly.

No there is no such command line option to control openfire except start/stop. But we can directly change to the openfire database and change some property values directly from administrative pages.

If you use the embedded db you are limited. True SQL databases can be controlled by command line interfaces.