Re: [xwiki-users] Idea for improvment of Xwiki Watch
Hi Ludovic, I had just missed your prvious post... Thank you very much : it works fine! You just did a mistyping : the parameters are -Dhtttp.proxyUser and -Dhttp.proxyPassword Benoît -----Message d'origine----- De : [email protected] [mailto:[email protected]]De la part de Ludovic Dubost Envoyé : mercredi 6 février 2008 00:05 À : XWiki Users Objet : Re: [xwiki-users] Idea for improvment of Xwiki Watch Hi, We do read the authentication. Here is our code: String proxyUser = System.getProperty("http.proxyUser"); if ((proxyUser!=null)&&(!proxyUser.equals(""))) { String proxyPassword = System.getProperty("http.proxyPassword"); Credentials defaultcreds = new UsernamePasswordCredentials(proxyUser, proxyPassword); client.getState().setProxyCredentials(AuthScope.ANY, defaultcreds); } However I told you -Dhttp.proxyPass and it's -Dhttp.proxyPassword Can you try and tell us what happens ? Ludovic HERICHER Benoit DSIC BUA wrote:
I have asked our network manager to make a trace : It seems that the proxy authentification is not used by the feed plugin and so the proxy doesn't accept to get the data.
Benoît -----Message d'origine----- De : HERICHER Benoit (DSIC BUA) Envoyé : mardi 5 février 2008 11:21 À : XWiki Users Objet : RE: [xwiki-users] Idea for improvment of Xwiki Watch
Hi,
Thank you Anca for your help. But it doesn't solve the problem : I don't understand why. On the page Watch:Reader, i'm asked for the proxy's authentification but no news are read. On the page Watch:Webhome, I select a feed for example googlenews : I'm then directed on the page Watch:Googlenews where I click on the hyperlink "Google News" : that redirects me on news.google.fr with all the news correctly listed.
I guess this could be a problem with the proxy's configuration. Any idea?
Thank you
Benoît
-----Message d'origine----- De : [email protected] [mailto:[email protected]]De la part de [email protected] Envoyé : vendredi 1 février 2008 16:38 À : [email protected] Objet : Re: [xwiki-users] Idea for improvment of Xwiki Watch
Hi there,
XWiki Watch uses the feed plugin to get the feeds from external sources. The feed plugin currently uses the jvm proxy settings so the only thing you have to do is to set the java System proxy when starting XWiki. You can do that either through: -Djava.net.useSystemProxies for a java 1.5+ jvm, which tells the jvm to use the system proxy settings or by supplying: -Dhttp.proxyHost=your_proxy -Dhttp.proxyPort=your_port.
You can read more about it at http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html or http://blogs.sun.com/roller/resources/jcc/Proxies.pdf
Have fun using XWatch, Anca
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
------------------------------------------------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (1)
-
HERICHER Benoit DSIC BUA