nasirmyn / google-feedserver

Automatically exported from code.google.com/p/google-feedserver
Apache License 2.0
0 stars 0 forks source link

Get an error when executing "getEntry contact 1" #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Execute "D:\MobiDev\Software\client-tools\scripts>getEntry contact 1"
2. Input the username and password.
   Username:test
   Password:test

Got an error:
-Client side:
Username: username
Password:
Exception in thread "main" com.google.gdata.util.AuthenticationException: 
Error
authenticating (check service name)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException
(Unkno
wn Source)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken
(Unknown S
ource)
        at 
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Unk
nown Source)
        at com.google.gdata.client.GoogleService.setUserCredentials
(Unknown Sour
ce)
        at com.google.gdata.client.GoogleService.setUserCredentials
(Unknown Sour
ce)
        at 
com.google.feedserver.client.TypelessFeedServerClient.setUserCredenti
als(TypelessFeedServerClient.java:357)
        at 
com.google.feedserver.tools.FeedServerClientTool.getUserCredentials(F
eedServerClientTool.java:167)
        at com.google.feedserver.tools.FeedServerClientTool.run
(FeedServerClient
Tool.java:138)
        at com.google.feedserver.tools.FeedServerClientTool.main
(FeedServerClien
tTool.java:90)

-Server Side
2010-3-17 20:14:03 com.google.feedserver.util.FileSystemConfigStoreUtil 
getInputStream
严重: Problems encountered while reading file contents 
conf\feedserver\accounts\FeedConfig\ClientLogin.properties 
(系统找不到指定的
路径。)
2010-3-17 20:14:03 com.google.feedserver.manager.FeedServerProvider 
getCollectionAdapter
严重: File 'D:\MobiDev\Project\google-
feedserver\conf\feedserver\accounts\FeedCo
nfig\ClientLogin.properties' not found.  Please check namespace 'accounts' 
and feedId 'ClientLogin'

What version of the product are you using? On what operating system?
2010-03-17 trunk, Jetty

Original issue reported on code.google.com by aaronche...@gmail.com on 17 Mar 2010 at 12:15

GoogleCodeExporter commented 9 years ago
Got it. The path should be set to:
set FSCT_FEED_BASE=http://127.0.0.1:8080/feedserver/%FSCT_DOMAIN%
set FSCT_USER_FEED_BASE=http://127.0.0.1:8080/feedserver/%FSCT_DOMAIN%/user
set AUTHN_URL=127.0.0.1:8080/feedserver

Original comment by aaronche...@gmail.com on 17 Mar 2010 at 5:36