DavidAlphaFox / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

[ERROR]Failed to load gae-client config file! #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
XMPP配置出错

[02-08 13:57:50.343][INFO]Load plugin:C4 ...   Success
[02-08 13:57:50.359][INFO]Load plugin:GAE ...   Success
[02-08 13:57:50.375][INFO]Load plugin:SPAC ...   Success
[02-08 13:57:50.375][INFO]Active plugin:GAE ...   Success
[02-08 13:57:50.390][ERROR]Failed to load gae-client config file!
java.lang.NumberFormatException: For input string: 
"abc123#talk.google.com:443/oldssl"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at org.snova.gae.client.config.GAEClientConfiguration$XmppAccount.parse(GAEClientConfiguration.java:347)
    at org.snova.gae.client.config.GAEClientConfiguration.loadConfig(GAEClientConfiguration.java:137)
    at org.snova.gae.client.config.GAEClientConfiguration.<init>(GAEClientConfiguration.java:67)
    at org.snova.gae.client.config.GAEClientConfiguration.<clinit>(GAEClientConfiguration.java:47)
    at org.snova.gae.client.plugin.GAE.onStart(GAE.java:123)
    at org.snova.framework.plugin.DesktopPluginManager.startPlugins(DesktopPluginManager.java:463)
    at org.snova.framework.Framework.restart(Framework.java:87)
    at org.snova.framework.Framework.start(Framework.java:79)
    at org.snova.framework.launch.ApplicationLauncher.main(ApplicationLauncher.java:69)

gae-client.conf

[GAE]
#WorkerNode[0]=root:passwd@appid1
#WorkerNode[1]=anoynymous:anoynymous@appid2
#WorkerNode[2]=anoynymous:anoynymous@appid2/backend

[XMPP]
#Account[0]=user:passwd
#Account[1]=user:passwd[#serverhost:serverport][/oldssl]
Account[0]=abc123@gmail.com:abc123#talk.google.com:443/oldssl

[Client]
ConnectionMode=XMPP
SessionTimeOut=60000
SimpleURLEnable=true
Compressor=Snappy
Encrypter=SE1
ConnectionPoolSize=7
FetchLimitSize=512000
ConcurrentRangeFetchWorker=3
RangeFetchRetryLimit=1
UserAgent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 
(KHTML, like Gecko) Chrome/4.1.249.1045 Safari/532.5

[GoogleProxy]
#0:Disable 1:Overide framework 2:As next proxy chain hop(Only active when 
framework's proxy setting enabled)
Mode=0
Proxy=http://GoogleCNIP
#Proxy=https://GoogleHttps

[InjectRange]
Sites=.youtube.com
EndURLs=.zip|.exe|.gz|.tar|.bz2|.tgz|.rar|.mp3|.avi

[AppIdBinding]
#hyk-proxy-demo=twitter.com|youtube.com

Original issue reported on code.google.com by vilosan...@gmail.com on 8 Feb 2012 at 6:10

GoogleCodeExporter commented 8 years ago
XMPP配置解析部分确实有些问题,下个版本更正

Original comment by yinqiwen@gmail.com on 9 Feb 2012 at 6:18

GoogleCodeExporter commented 8 years ago
更新到v0.13.0版,好像还是解析有误

Original comment by RogerSo...@gmail.com on 23 May 2012 at 12:41