You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Markus Wahl <ma...@gmail.com> on 2006/08/16 09:50:59 UTC

Specifying a SVN-URL to a pom rather than upload local pom?

Hi

I have successfully added a maven2 project to continuum by use of "Upload
POM". But that requires my to manually obtain the pom.xml from my SVN
repository first. I would like to try the "M2 POM URL" option instead.

But every URL I try fails. The detailed messages of the failures follows
further below. Can you see what I am doing wrong?
(BTW file https://jsolutions.se/repository/trunk/framework/CRM/EJB/pom.xmldoes
exist, I downloaded it using Firefox prior to testing these
options....)

It seems the test when not behind a proxy comes a bit further (Am I right?).
What is the meaning of message "HTTPS hostname wrong:  should be <
jsolutions.se>"? The provided hostname IS jsolutions.se, so why the error
message?

Also, how can I get Continuum to operate behind an internet proxy? I read
somewhere about making Continuum REACHABLE via a proxy for uses of the web
interface, but that is not a problem for me; users of the web interface will
likely also be behind the internet proxy. Instead, the first problem arises
because Continuum can not connect directly to the SVN server holding the
pom.xml because the SVn server resides on the internet but Continuum resides
behind an internet proxy and must be configured to get pass it first. But I
didn't find any notes or docs about that. Or I just didn't look in the right
places...

So learning how I can configure Continuum to work behind an internet proxy
only saves the first problem, I wouold still have to figure out how to make
the Continuum web interfaces add project dialog download the pom.xml from
the SVN-server by itself. Is that at all possible?

When Continuum operates behind an internet proxy:
URL: https://jsolutions.se/repository/trunk/framework/CRM/EJB/pom.xml
Failure text in the web interface: *[ The URL you provided doesn't exist ]*
Failure from Continuums std-out:
jvm 1    | 2006-08-16 09:35:33,730 [SocketListener0-1] INFO
Validator:url-source           - An error is occurred.
jvm 1    | java.net.ConnectException: Connection timed out: connect
jvm 1    |      at java.net.PlainSocketImpl.socketConnect(Native Method)
jvm 1    |      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java
:333)
jvm 1    |      at java.net.PlainSocketImpl.connectToAddress(
PlainSocketImpl.java:195)
jvm 1    |      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java
:182)
jvm 1    |      at java.net.Socket.connect(Socket.java:516)
jvm 1    |      at java.net.Socket.connect(Socket.java:466)
jvm 1    |      at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
jvm 1    |      at sun.net.www.http.HttpClient.openServer(HttpClient.java
:365)
jvm 1    |      at sun.net.www.http.HttpClient.openServer(HttpClient.java
:477)
jvm 1    |      at sun.net.www.protocol.https.HttpsClient.<init>(
HttpsClient.java:278)
jvm 1    |      at sun.net.www.protocol.https.HttpsClient.New(
HttpsClient.java:335)
jvm 1    |      at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient
(AbstractDelegateHttpsURLCon
nection.java:176)
jvm 1    |      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(
HttpURLConnection.java:747)
jvm 1    |      at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
AbstractDelegateHttpsURLConnection.j
ava:162)
jvm 1    |      at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(
HttpURLConnection.java:916)
jvm 1    |      at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(
HttpsURLConnectionImpl.java:234)
jvm 1    |      at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(
MungedHttpsURL.java:111)
jvm 1    |      at
org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(
UrlSourceValidator.java:63)
jvm 1    |      at
org.codehaus.plexus.formica.DefaultFormManager.validateElements(
DefaultFormManager.java:195)
jvm 1    |      at org.codehaus.plexus.formica.DefaultFormManager.validate(
DefaultFormManager.java:124)
jvm 1    |      at org.codehaus.plexus.formica.DefaultFormManager.validate(
DefaultFormManager.java:114)
jvm 1    |      at
org.codehaus.plexus.formica.action.AbstractEntityAction.execute(
AbstractEntityAction.java:107)
jvm 1    |      at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(
ActionValve.java:68)
jvm 1    |      at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(
AbstractPipeline.java:70)
jvm 1    |      at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
jvm 1    |      at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
jvm 1    |      at javax.servlet.http.HttpServlet.service(HttpServlet.java
:615)
jvm 1    |      at javax.servlet.http.HttpServlet.service(HttpServlet.java
:688)
jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.handle(
ServletHolder.java:358)
jvm 1    |      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:294)
jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:567)
jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
:1807)
jvm 1    |      at org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:525)
jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
:1757)
jvm 1    |      at org.mortbay.http.HttpServer.service(HttpServer.java:879)
jvm 1    |      at org.mortbay.http.HttpConnection.service(
HttpConnection.java:789)
jvm 1    |      at org.mortbay.http.HttpConnection.handleNext(
HttpConnection.java:960)
jvm 1    |      at org.mortbay.http.HttpConnection.handle(
HttpConnection.java:806)
jvm 1    |      at org.mortbay.http.SocketListener.handleConnection(
SocketListener.java:218)
jvm 1    |      at org.mortbay.util.ThreadedServer.handle(
ThreadedServer.java:331)
jvm 1    |      at org.mortbay.util.ThreadPool$PoolThread.run(
ThreadPool.java:520)

When Continuum does not operate behind an internet proxy:
URL: https://jsolutions.se/repository/trunk/framework/CRM/EJB/pom.xml
Failure text in the web interface: *[ The URL you provided doesn't exist ]*
Failure from Continuums std-out:
jvm 1    | 2006-08-16 09:42:39,986 [SocketListener0-1] INFO
Validator:url-source           - An error is occurred.
jvm 1    | java.io.IOException: HTTPS hostname wrong:  should be <
jsolutions.se>
jvm 1    |      at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(
HttpsClient.java:490)
jvm 1    |      at sun.net.www.protocol.https.HttpsClient.afterConnect(
HttpsClient.java:415)
jvm 1    |      at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
AbstractDelegateHttpsURLConnection.j
ava:170)
jvm 1    |      at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(
HttpURLConnection.java:916)
jvm 1    |      at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(
HttpsURLConnectionImpl.java:234)
jvm 1    |      at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(
MungedHttpsURL.java:111)
jvm 1    |      at
org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(
UrlSourceValidator.java:63)
jvm 1    |      at
org.codehaus.plexus.formica.DefaultFormManager.validateElements(
DefaultFormManager.java:195)
jvm 1    |      at org.codehaus.plexus.formica.DefaultFormManager.validate(
DefaultFormManager.java:124)
jvm 1    |      at org.codehaus.plexus.formica.DefaultFormManager.validate(
DefaultFormManager.java:114)
jvm 1    |      at
org.codehaus.plexus.formica.action.AbstractEntityAction.execute(
AbstractEntityAction.java:107)
jvm 1    |      at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(
ActionValve.java:68)
jvm 1    |      at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(
AbstractPipeline.java:70)
jvm 1    |      at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
jvm 1    |      at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
jvm 1    |      at javax.servlet.http.HttpServlet.service(HttpServlet.java
:615)
jvm 1    |      at javax.servlet.http.HttpServlet.service(HttpServlet.java
:688)
jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.handle(
ServletHolder.java:358)
jvm 1    |      at org.mortbay.jetty.servlet.Invoker.service(Invoker.java
:184)
jvm 1    |      at javax.servlet.http.HttpServlet.service(HttpServlet.java
:688)
jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.handle(
ServletHolder.java:358)
jvm 1    |      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:294)
jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:567)
jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
:1807)
jvm 1    |      at org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:525)
jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
:1757)
jvm 1    |      at org.mortbay.http.HttpServer.service(HttpServer.java:879)
jvm 1    |      at org.mortbay.http.HttpConnection.service(
HttpConnection.java:789)
jvm 1    |      at org.mortbay.http.HttpConnection.handleNext(
HttpConnection.java:960)
jvm 1    |      at org.mortbay.http.HttpConnection.handle(
HttpConnection.java:806)
jvm 1    |      at org.mortbay.http.SocketListener.handleConnection(
SocketListener.java:218)
jvm 1    |      at org.mortbay.util.ThreadedServer.handle(
ThreadedServer.java:331)
jvm 1    |      at org.mortbay.util.ThreadPool$PoolThread.run(
ThreadPool.java:520)

-- 
Markus Wahl
0708-221 771

Re: Specifying a SVN-URL to a pom rather than upload local pom?

Posted by Andrew Williams <an...@handyande.co.uk>.
As your https certificate is not quite perfect ("jsolutions.se" is not
the host it is issued to, "localhost.ag9130" is) plexus.formica is failing.

I patched this in formica a couple of months ago and I believe that it
will be included with continuum 1.1.

Andy

Markus Wahl wrote:
> Hi
>
> I have successfully added a maven2 project to continuum by use of "Upload
> POM". But that requires my to manually obtain the pom.xml from my SVN
> repository first. I would like to try the "M2 POM URL" option instead.
>
> But every URL I try fails. The detailed messages of the failures follows
> further below. Can you see what I am doing wrong?
> (BTW file 
> https://jsolutions.se/repository/trunk/framework/CRM/EJB/pom.xmldoes
> exist, I downloaded it using Firefox prior to testing these
> options....)
>
> It seems the test when not behind a proxy comes a bit further (Am I 
> right?).
> What is the meaning of message "HTTPS hostname wrong:  should be <
> jsolutions.se>"? The provided hostname IS jsolutions.se, so why the error
> message?
>
> Also, how can I get Continuum to operate behind an internet proxy? I read
> somewhere about making Continuum REACHABLE via a proxy for uses of the 
> web
> interface, but that is not a problem for me; users of the web 
> interface will
> likely also be behind the internet proxy. Instead, the first problem 
> arises
> because Continuum can not connect directly to the SVN server holding the
> pom.xml because the SVn server resides on the internet but Continuum 
> resides
> behind an internet proxy and must be configured to get pass it first. 
> But I
> didn't find any notes or docs about that. Or I just didn't look in the 
> right
> places...
>
> So learning how I can configure Continuum to work behind an internet 
> proxy
> only saves the first problem, I wouold still have to figure out how to 
> make
> the Continuum web interfaces add project dialog download the pom.xml from
> the SVN-server by itself. Is that at all possible?
>
> When Continuum operates behind an internet proxy:
> URL: https://jsolutions.se/repository/trunk/framework/CRM/EJB/pom.xml
> Failure text in the web interface: *[ The URL you provided doesn't 
> exist ]*
> Failure from Continuums std-out:
> jvm 1    | 2006-08-16 09:35:33,730 [SocketListener0-1] INFO
> Validator:url-source           - An error is occurred.
> jvm 1    | java.net.ConnectException: Connection timed out: connect
> jvm 1    |      at java.net.PlainSocketImpl.socketConnect(Native Method)
> jvm 1    |      at 
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java
> :333)
> jvm 1    |      at java.net.PlainSocketImpl.connectToAddress(
> PlainSocketImpl.java:195)
> jvm 1    |      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java
> :182)
> jvm 1    |      at java.net.Socket.connect(Socket.java:516)
> jvm 1    |      at java.net.Socket.connect(Socket.java:466)
> jvm 1    |      at 
> sun.net.NetworkClient.doConnect(NetworkClient.java:157)
> jvm 1    |      at sun.net.www.http.HttpClient.openServer(HttpClient.java
> :365)
> jvm 1    |      at sun.net.www.http.HttpClient.openServer(HttpClient.java
> :477)
> jvm 1    |      at sun.net.www.protocol.https.HttpsClient.<init>(
> HttpsClient.java:278)
> jvm 1    |      at sun.net.www.protocol.https.HttpsClient.New(
> HttpsClient.java:335)
> jvm 1    |      at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient 
>
> (AbstractDelegateHttpsURLCon
> nection.java:176)
> jvm 1    |      at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(
> HttpURLConnection.java:747)
> jvm 1    |      at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
> AbstractDelegateHttpsURLConnection.j
> ava:162)
> jvm 1    |      at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(
> HttpURLConnection.java:916)
> jvm 1    |      at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(
> HttpsURLConnectionImpl.java:234)
> jvm 1    |      at 
> org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(
> MungedHttpsURL.java:111)
> jvm 1    |      at
> org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(
> UrlSourceValidator.java:63)
> jvm 1    |      at
> org.codehaus.plexus.formica.DefaultFormManager.validateElements(
> DefaultFormManager.java:195)
> jvm 1    |      at 
> org.codehaus.plexus.formica.DefaultFormManager.validate(
> DefaultFormManager.java:124)
> jvm 1    |      at 
> org.codehaus.plexus.formica.DefaultFormManager.validate(
> DefaultFormManager.java:114)
> jvm 1    |      at
> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(
> AbstractEntityAction.java:107)
> jvm 1    |      at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(
> ActionValve.java:68)
> jvm 1    |      at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(
> AbstractPipeline.java:70)
> jvm 1    |      at 
> org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> jvm 1    |      at 
> org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> jvm 1    |      at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java
> :615)
> jvm 1    |      at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java
> :688)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.handle(
> ServletHolder.java:358)
> jvm 1    |      at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
> WebApplicationHandler.java:294)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.handle(
> ServletHandler.java:567)
> jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
> :1807)
> jvm 1    |      at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(
> WebApplicationContext.java:525)
> jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
> :1757)
> jvm 1    |      at 
> org.mortbay.http.HttpServer.service(HttpServer.java:879)
> jvm 1    |      at org.mortbay.http.HttpConnection.service(
> HttpConnection.java:789)
> jvm 1    |      at org.mortbay.http.HttpConnection.handleNext(
> HttpConnection.java:960)
> jvm 1    |      at org.mortbay.http.HttpConnection.handle(
> HttpConnection.java:806)
> jvm 1    |      at org.mortbay.http.SocketListener.handleConnection(
> SocketListener.java:218)
> jvm 1    |      at org.mortbay.util.ThreadedServer.handle(
> ThreadedServer.java:331)
> jvm 1    |      at org.mortbay.util.ThreadPool$PoolThread.run(
> ThreadPool.java:520)
>
> When Continuum does not operate behind an internet proxy:
> URL: https://jsolutions.se/repository/trunk/framework/CRM/EJB/pom.xml
> Failure text in the web interface: *[ The URL you provided doesn't 
> exist ]*
> Failure from Continuums std-out:
> jvm 1    | 2006-08-16 09:42:39,986 [SocketListener0-1] INFO
> Validator:url-source           - An error is occurred.
> jvm 1    | java.io.IOException: HTTPS hostname wrong:  should be <
> jsolutions.se>
> jvm 1    |      at 
> sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(
> HttpsClient.java:490)
> jvm 1    |      at sun.net.www.protocol.https.HttpsClient.afterConnect(
> HttpsClient.java:415)
> jvm 1    |      at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
> AbstractDelegateHttpsURLConnection.j
> ava:170)
> jvm 1    |      at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(
> HttpURLConnection.java:916)
> jvm 1    |      at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(
> HttpsURLConnectionImpl.java:234)
> jvm 1    |      at 
> org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(
> MungedHttpsURL.java:111)
> jvm 1    |      at
> org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(
> UrlSourceValidator.java:63)
> jvm 1    |      at
> org.codehaus.plexus.formica.DefaultFormManager.validateElements(
> DefaultFormManager.java:195)
> jvm 1    |      at 
> org.codehaus.plexus.formica.DefaultFormManager.validate(
> DefaultFormManager.java:124)
> jvm 1    |      at 
> org.codehaus.plexus.formica.DefaultFormManager.validate(
> DefaultFormManager.java:114)
> jvm 1    |      at
> org.codehaus.plexus.formica.action.AbstractEntityAction.execute(
> AbstractEntityAction.java:107)
> jvm 1    |      at
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(
> ActionValve.java:68)
> jvm 1    |      at
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(
> AbstractPipeline.java:70)
> jvm 1    |      at 
> org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> jvm 1    |      at 
> org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> jvm 1    |      at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java
> :615)
> jvm 1    |      at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java
> :688)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.handle(
> ServletHolder.java:358)
> jvm 1    |      at org.mortbay.jetty.servlet.Invoker.service(Invoker.java
> :184)
> jvm 1    |      at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java
> :688)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHolder.handle(
> ServletHolder.java:358)
> jvm 1    |      at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
> WebApplicationHandler.java:294)
> jvm 1    |      at org.mortbay.jetty.servlet.ServletHandler.handle(
> ServletHandler.java:567)
> jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
> :1807)
> jvm 1    |      at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(
> WebApplicationContext.java:525)
> jvm 1    |      at org.mortbay.http.HttpContext.handle(HttpContext.java
> :1757)
> jvm 1    |      at 
> org.mortbay.http.HttpServer.service(HttpServer.java:879)
> jvm 1    |      at org.mortbay.http.HttpConnection.service(
> HttpConnection.java:789)
> jvm 1    |      at org.mortbay.http.HttpConnection.handleNext(
> HttpConnection.java:960)
> jvm 1    |      at org.mortbay.http.HttpConnection.handle(
> HttpConnection.java:806)
> jvm 1    |      at org.mortbay.http.SocketListener.handleConnection(
> SocketListener.java:218)
> jvm 1    |      at org.mortbay.util.ThreadedServer.handle(
> ThreadedServer.java:331)
> jvm 1    |      at org.mortbay.util.ThreadPool$PoolThread.run(
> ThreadPool.java:520)
>