I have successfully installed the GWFP Server in Ubuntu Karmic Koala
and also succeeded in using the console.
An idea I had was to create a bash script to start the server when it
is not running and to stop it when it is running. The bash script I
have so far is:
#!/bin/bash
GET_GOOGLE_WAVE_SERVER_PID=`ps -ef | grep -i wave-test.nl | grep -v
grep | awk '{print $2}'`
if ps -ef | grep -i wave-test.nl | grep -v grep | awk '{print $2}' |
grep [0-9] > /dev/null
then
echo Stopping Google Wave server
exec kill $GET_GOOGLE_WAVE_SERVER_PID
else
sleep 2
echo Starting Google Wave server
cd ~/Wave/wave-protocol
./run-server.sh &
exit
fi
This basically works but in the terminal from which I run the script
still the feedback is shown.
I mean the text that starts with:
Sep 10, 2009 7:01:24 PM
org.waveprotocol.wave.examples.fedone.crypto.WaveSignatureVerifier
<init>
WARNING: ** SIGNER VERIFICATION DISABLED ** see flag
"waveserver_disable_signer_verification"
Sep 10, 2009 7:01:24 PM
org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl <init>
INFO: Wave Server configured to host local domains: [wave-test.nl]
Sep 10, 2009 7:01:24 PM
org.waveprotocol.wave.examples.fedone.ServerMain
$RpcInetSocketAddressFactory <init>
INFO: Starting client frontend on host: localhost port: 9876
Sep 10, 2009 7:01:25 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
initialize
INFO: initializing with JID: wave.wave-test.nl
Sep 10, 2009 7:01:25 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
start
INFO: connected to XMPP server with JID: wave.wave-test.nl
Sep 10, 2009 7:01:25 PM
org.waveprotocol.wave.examples.fedone.ServerMain run
INFO: Starting server
Sep 10, 2009 7:01:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
processPacket
INFO: received XMPP packet:
<iq type="get" id="955-7" from="component.wave-test.nl" to="wave.wave-
test.nl">
<query xmlns="http://jabber.org/protocol/disco#info"/>
</iq>
Sep 10, 2009 7:01:26 PM
org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
sendPacket
INFO: sent XMPP packet:
<iq type="result" id="955-7" from="wave.wave-test.nl"
to="component.wave-test.nl">
<query xmlns="http://jabber.org/protocol/disco#info">
<identity category="collaboration" type="google-wave" name="Google
Prototype Wave Server - FedOne"/>
<feature var="http://waveprotocol.org/protocol/0.2/waveserver"/>
</query>
</iq>
Is there a way to reroute this to an external file so I can capture it
and also maintain access to the prompt?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---