Re: gump fails to run
On 2011-03-21, Ludmila Shikhvarg wrote: We had started to use the company proxy. I was afraid you'd say that. Right now the maven repo proxy is not aware of your HTTP proxy settings and there is no way to configure a HTTP proxy, at all. It might be possible to fiddle with Java system properties to make it use the HTTP proxy - or not. Even if it worked (I'm not familiar enough with the underlying httpclient library) you'd still have to add those system properties to the java command invocation when Gump starts the mvn repo proxy, which would require you to modify the Python code. So I see three things that need to be done: (1) Make the mvn repo proxy (which is written in Java and mostly wraps restlets) optionally work with a HTTP proxy. Most likely class to be modified is https://svn.apache.org/repos/asf/gump/mvnrepo/trunk/src/java/org/apache/gump/mvnrepoproxy/restlets/Proxy.java and the Main class a level above to deal with configuration. (2) Make the proxy settings configurable in Gump (likely Python code involved). (3) Pass the settings to the mvn repo proxy when starting it - Python, namely the spawnProxy method in https://svn.apache.org/repos/asf/gump/trunk/python/gump/actor/mvnrepoproxy/proxycontrol.py I can't promise I'll be able to code any of this myself any time soon, sorry. Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: gump fails to run
Thanks Stefan! I'll try and let you know if it would solve the proxy problem. -Ludmila Stefan Bodewig wrote: On 2011-03-21, Ludmila Shikhvarg wrote: We had started to use the company proxy. I was afraid you'd say that. Right now the maven repo proxy is not aware of your HTTP proxy settings and there is no way to configure a HTTP proxy, at all. It might be possible to fiddle with Java system properties to make it use the HTTP proxy - or not. Even if it worked (I'm not familiar enough with the underlying httpclient library) you'd still have to add those system properties to the java command invocation when Gump starts the mvn repo proxy, which would require you to modify the Python code. So I see three things that need to be done: (1) Make the mvn repo proxy (which is written in Java and mostly wraps restlets) optionally work with a HTTP proxy. Most likely class to be modified is https://svn.apache.org/repos/asf/gump/mvnrepo/trunk/src/java/org/apache/gump/mvnrepoproxy/restlets/Proxy.java and the Main class a level above to deal with configuration. (2) Make the proxy settings configurable in Gump (likely Python code involved). (3) Pass the settings to the mvn repo proxy when starting it - Python, namely the spawnProxy method in https://svn.apache.org/repos/asf/gump/trunk/python/gump/actor/mvnrepoproxy/proxycontrol.py I can't promise I'll be able to code any of this myself any time soon, sorry. Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: gump fails to run
Stefan Bodewig wrote: On 2011-03-18, Ludmila Shikhvarg wrote: I've seen another problem after the company network migration: Starting mvn repository proxy Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /repo/m2-snapshot-repository to http://people.apache.org Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /maven/2 to http://download.java.net Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /maven2 to http://repo1.maven.org INFO: Redirecting via client connector to: http://repo1.maven.org/ Mar 17, 2011 7:49:10 AM com.noelios.restlet.ext.httpclient.HttpMethodCall sendRequest WARNING: An error occurred during the communication with the remote HTTP server. java.net.NoRouteToHostException: No route to host at java.net.PlainSocketImpl.socketConnect(Native Method) [...] Mar 17, 2011 7:49:10 AM com.noelios.restlet.LogFilter afterHandle INFO: 2011-03-1707:49:10127.0.0.1 - repo1.maven.org -1 GET / - 1001327 - 83 http://localhost:8192 Apache-Gump/2.3 - --- Failed to start proxy Can anybody help me to solve the problem. Can you reach http://repo1.maven.org/maven2/ with your browser? Are you using a proxy? Yes, I can reach http://repo1.maven.org/maven2/ with a browser, but not able to Downloading: http://localhost:8192/maven2/org/apache/commons/commons-parent/15/commons-parent-15.pom Unable to get resource 'org.apache.commons:commons-parent:pom:15' from repository central (http://repo1.maven.org/maven2): Error transferring file: Invalid Http response We had started to use the company proxy. Ludmila Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: gump fails to run
On 2011-03-18, Ludmila Shikhvarg wrote: I've seen another problem after the company network migration: Starting mvn repository proxy Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /repo/m2-snapshot-repository to http://people.apache.org Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /maven/2 to http://download.java.net Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /maven2 to http://repo1.maven.org INFO: Redirecting via client connector to: http://repo1.maven.org/ Mar 17, 2011 7:49:10 AM com.noelios.restlet.ext.httpclient.HttpMethodCall sendRequest WARNING: An error occurred during the communication with the remote HTTP server. java.net.NoRouteToHostException: No route to host at java.net.PlainSocketImpl.socketConnect(Native Method) [...] Mar 17, 2011 7:49:10 AM com.noelios.restlet.LogFilter afterHandle INFO: 2011-03-1707:49:10127.0.0.1 - repo1.maven.org -1 GET / - 1001327 - 83 http://localhost:8192 Apache-Gump/2.3 - --- Failed to start proxy Can anybody help me to solve the problem. Can you reach http://repo1.maven.org/maven2/ with your browser? Are you using a proxy? Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: gump fails to run
I've seen another problem after the company network migration: Starting mvn repository proxy Running: java -jar /usr/local/mvnrepo/lib/repoproxy.jar 8192 /tmp/tmpfWnWDN.properties Loading prefix map from /tmp/tmpfWnWDN.properties Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /repo/m2-snapshot-repository to http://people.apache.org Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /maven/2 to http://download.java.net Mar 17, 2011 7:49:09 AM org.apache.gump.mvnrepoproxy.HostResolver initialize INFO: Mapping /maven2 to http://repo1.maven.org 2011-03-17 07:49:09.599::INFO: Logging to STDERR via org.mortbay.log.StdErrLog Mar 17, 2011 7:49:10 AM com.noelios.restlet.ext.httpclient.HttpClientHelper start INFO: Starting the HTTP client 2011-03-17 07:49:10.690::INFO: jetty-6.1.5 2011-03-17 07:49:10.715::INFO: Started SelectChannelConnector@0.0.0.0:8192 Mar 17, 2011 7:49:10 AM org.restlet.Redirector handle INFO: Redirecting via client connector to: http://repo1.maven.org/ Mar 17, 2011 7:49:10 AM com.noelios.restlet.ext.httpclient.HttpMethodCall sendRequest WARNING: An error occurred during the communication with the remote HTTP server. java.net.NoRouteToHostException: No route to host at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:320) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:181) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:578) at java.net.Socket.connect(Socket.java:527) at java.net.Socket.init(Socket.java:424) at java.net.Socket.init(Socket.java:279) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1349) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.noelios.restlet.ext.httpclient.HttpMethodCall.sendRequest(HttpMethodCall.java:313) at com.noelios.restlet.http.HttpClientConverter.commit(HttpClientConverter.java:418) at com.noelios.restlet.http.HttpClientHelper.handle(HttpClientHelper.java:108) at org.restlet.Client.handle(Client.java:157) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at com.noelios.restlet.component.ComponentClientDispatcher.doHandle(ComponentClientDispatcher.java:128) at com.noelios.restlet.TemplateDispatcher.handle(TemplateDispatcher.java:126) at com.noelios.restlet.component.ChildClientDispatcher.parentHandle(ChildClientDispatcher.java:137) at com.noelios.restlet.component.ChildClientDispatcher.doHandle(ChildClientDispatcher.java:112) at com.noelios.restlet.TemplateDispatcher.handle(TemplateDispatcher.java:126) at com.noelios.restlet.component.ChildClientDispatcher.parentHandle(ChildClientDispatcher.java:137) at com.noelios.restlet.component.ChildClientDispatcher.doHandle(ChildClientDispatcher.java:112) at com.noelios.restlet.TemplateDispatcher.handle(TemplateDispatcher.java:126) at org.restlet.Redirector.redirectDispatcher(Redirector.java:244) at org.restlet.Redirector.handle(Redirector.java:217) at org.apache.gump.mvnrepoproxy.restlets.Proxy.handle(Proxy.java:57) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at
Re: gump fails to run
On 2011-03-04, Ludmila Shikhvarg wrote: I've faced the problem to start gump today: Execute : svn update --non-interactive out.txt 21 svn: PROPFIND request failed on '/repos/asf/gump/trunk' svn: PROPFIND of '/repos/asf/gump/trunk': could not connect to server (https://svn.apache.org) Process Exit Code : 1 It was running fine yesterday. Any help is appreciated. Likely a transient error. Could be the network or the svn service has been unreachable for a while. http://monitoring.apache.org/status/ Depending on your geographical location svn.apache.org will be either eris (US) or harmonia (NL). Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: gump fails to run
The company network migration on Friday cause this issue. Sorry for a wide distribution. -Ludmila Stefan Bodewig wrote: On 2011-03-04, Ludmila Shikhvarg wrote: I've faced the problem to start gump today: Execute : svn update --non-interactive out.txt 21 svn: PROPFIND request failed on '/repos/asf/gump/trunk' svn: PROPFIND of '/repos/asf/gump/trunk': could not connect to server (https://svn.apache.org) Process Exit Code : 1 It was running fine yesterday. Any help is appreciated. Likely a transient error. Could be the network or the svn service has been unreachable for a while. http://monitoring.apache.org/status/ Depending on your geographical location svn.apache.org will be either eris (US) or harmonia (NL). Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org