It seems you make a typo error, it should be :
wrapper.java.additional.6=-Dhttp.proxyHost=10.143.100.81
wrapper.java.additional.7=-Dhttp.proxyPort=8080
Ashley Williams a écrit :
Ok so I added the following args 6 and 7 to my wrapper.conf file as
follows and restarted continuum but I still get a connection timed out
exception:
wrapper.java.additional.1=-Dclassworlds.conf=../../conf/classworlds.conf
wrapper.java.additional.2=-Djava.io.temp=../../temp
wrapper.java.additional.3=-Dplexus.core=../../core
wrapper.java.additional.4=-Dplexus.home=../..
wrapper.java.additional.5=-Dplexus.system.path="%PATH%"
wrapper.java.additional.5.stripquotes=TRUE
wrapper.java.additional.6=-Dhttp.proxyhost=10.143.100.81
wrapper.java.additional.7=-Dhttp.proxyport=8080
The proxy information is the same as in the svn config file so I don't
think I've made a mistake. I've checked the url of the pom.xml file in a
browser from my own machine and it displays fine also. Here is the
exception in wrapper.log:
INFO | jvm 1 | 2007/09/20 11:52:34 | 2007-09-20 11:52:34,865
[SocketListener0-1] INFO Validator:url-source - An error is
occurred.
INFO | jvm 1 | 2007/09/20 11:52:34 | java.net.ConnectException:
Connection timed out
INFO | jvm 1 | 2007/09/20 11:52:34 | at
java.net.PlainSocketImpl.socketConnect(Native Method)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
java.net.Socket.connect(Socket.java:519)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
java.net.Socket.connect(Socket.java:469)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.NetworkClient.doConnect(NetworkClient.java:157)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.http.HttpClient.openServer(HttpClient.java:494)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:278)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:162)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.http.HttpServer.service(HttpServer.java:879)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
INFO | jvm 1 | 2007/09/20 11:52:34 | at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
Emmanuel Venisse <[EMAIL PROTECTED]> wrote on 20/09/2007 09:59:34:
ah ok, I see.
You can configure proxy jvm properties in wrapper.conf by adding
some additional params
Emmanuel
Ashley Williams a écrit :
I have indeed configured svn to work successfully on that machine so I
fully expect continuum to work properly when I add a project. But it's
where continuum tries to download the pom file from the url I typed in
the
'add maven project' form that I get the time out... so this is just
the
http download part of the process before it even gets to the
subversion
side of things.
I believe all I need to do is to configure the company http proxy
somehow.
Emmanuel Venisse <[EMAIL PROTECTED]> wrote on 20/09/2007 09:38:47:
Continuum use the svn command line, so if you fix svn on the
continuum machine with the same user that run continuum, continuum
will
work
Emmanuel
Ashley Williams a écrit :
Hi,
We are using a subversion repository hosted at collabnet and I
whenever I
try to add a maven project by pointing continuum at the pom url, the
wrapper.log file says that it times out after about 5 minutes. I had
a
similar problem with subversion on this machine but modified one of
its
config files to use an http proxy, so I'm hoping that somebody can
point
me towards a similar proxy config option somewhere in the continuum
installation. I also tried exporting http_proxy on that machine but
that
didn't seem to work either.
continuum version 1.03 running on solaris.
Regards
- Ashley
---
This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have received
this e-mail in error) please notify the sender immediately and
delete this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm
for additional EU corporate and regulatory disclosures.
---
This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have received
this e-mail in error) please notify the sender immediately and
delete this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm
for additional EU corporate and regulatory disclosures.
---
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorized copying,
disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional
EU corporate and regulatory disclosures.