Scratch that. I'm tired and its been a long day.

James

On Tue, Nov 30, 2010 at 10:12 PM, James Purser <[email protected]>wrote:

> Okay I've tried setting up the server.config and server.federation.config
> but I keep getting the following error:
>
> usage: must supply xmpp_server_hostname
>
> server.config:
>
> # Core Configuration for the Wave in a Box server
> #
>
> # Domain name of the wave server
> wave_server_domain = collaborynth.com.au
>
> # A comma separated list of address on which to listen for connections.
> # Each address is a comma separated host:port pair.
> http_frontend_public_address = collaborynth.com.au:9898
> http_frontend_addresses = ${http_frontend_public_address}
>
> ### Server-specific variables
> ###
>
> # Settings for the different persistence stores. Currently supported:
> memory, file, mongodb
> signer_info_store_type = memory
>
> # The location where signer info certificate data is stored on disk. This
> should be changed.
> # Note: This is only used when using the file signer info store. It is
> ignored
> # for other data store types.
> signer_info_store_directory = _certificates
>
> # Currently supported attachment types: mongodb, disk
> attachment_store_type = disk
>
> # The location where attachments are stored on disk. This should be
> changed.
> # Note: This is only used when using the disk attachment store. It is
> ignored
> # for other data store types.
> attachment_store_directory = _attachments
>
> # Currently supported Account store types: fake, memory, file, mongodb
> account_store_type = mongodb
>
> # The location where accounts are stored on disk. This should be changed.
> # Note: This is only used when using the file account store. It is ignored
> # for other data store types.
> account_store_directory = _accounts
>
> # Set true to use Socket.IO instead of raw WebSockets in the webclient.
> use_socketio = true
>
> # To enable federation, edit the server.federation.config file and
> uncomment the line below
> include = server.federation.config
>
> # These two parameters MUST appear in this file AFTER the above include of
> the
> # federation config file. This is necesary so that the federation config
> file
> # can override these two values.
>
> # Set true to disable the verification of signed deltas
> waveserver_disable_verification = true
>
> # Set true to disable the verification of signers (certificates)
> waveserver_disable_signer_verification = true
>
> server.federation.config
>
> # Federation Configuration for the Wave in a Box server
> #
>
> # These will probably need to be changed
> xmpp_server_secret = <SECRET>
> certificate_private_key = ssl.key
>
> # The order of certificates is important. Place intermediate certs
> # after "${wave_server_domain}.crt". Please refer to
> # http://www.waveprotocol.org/federation/certificates
> # for more details.
> certificate_files = wave.crt,sub.class1.server.ca.pem
>
> # These should be okay to leave alone
> enable_federation = true
> certificate_domain = ${wave_server_domain}
> xmpp_component_name = wave
> xmpp_jid=wave.${wave_server_domain}
> xmpp_server_description = "Wave in a Box"
> xmpp_server_hostname = collaborynth.com.au
> xmpp_server_port = 5275
> xmpp_server_ping = wavesandbox.com
>
> # Set XMPP_SERVER_IP to localhost if the XMPP and Wave in a Box servers are
> # running on the same host
> xmpp_server_ip = localhost
>
> # Set true to disable the verification of signed deltas
> waveserver_disable_verification = false
>
> # Set true to disable the verification of signers (certificates)
> waveserver_disable_signer_verification = false
>
> If anyone has any ideas that would be great.
>
> James
>
> On Tue, Nov 30, 2010 at 5:39 PM, David Wang <[email protected]> wrote:
>
>> Updated
>> https://sites.google.com/a/waveprotocol.org/wave-protocol/code?pli=1
>>
>>
>> On Tue, Nov 30, 2010 at 2:48 PM, James Purser <[email protected]>wrote:
>>
>>> Okay thanks will change doco to reflect the new paradigm sometime tonight
>>>
>>> James
>>>
>>>
>>> On Tue, Nov 30, 2010 at 2:44 PM, Tad Glines <[email protected]>wrote:
>>>
>>>> I just committed a change to the way the Wave in a Box server is
>>>> configured. The command-line based configuration has been replaced with a
>>>> properties file based configuration.
>>>>
>>>> For development and non-federation, just copy server.config.example to
>>>> server.config and run run-server.sh.
>>>>
>>>> To add federation, copy server.federation.config.example to
>>>> server.federation.config and edit server.config to uncomment the "include"
>>>> line near the botton of the file.
>>>>
>>>> Apache's Commons Configuration<http://commons.apache.org/configuration/> 
>>>> was
>>>> used to enable properties file based configuration.
>>>>
>>>> On windows systems, just use this command
>>>> line: java -Dorg.eclipse.jetty.util.log.DEBUG=true
>>>> -Djava.security.auth.login.config=jaas.config
>>>> -Dwave.server.config=server.config -jar dist/waveinabox-server-0.3.jar
>>>>
>>>> -Tad
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Wave Protocol" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<wave-protocol%[email protected]>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/wave-protocol?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Wave Protocol" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<wave-protocol%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/wave-protocol?hl=en.
>>>
>>
>>
>>
>> --
>> David Wang
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Wave Protocol" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<wave-protocol%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/wave-protocol?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to