You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by blixt <ro...@gmail.com> on 2007/07/08 17:12:24 UTC

Can't add M2 project in Continuum 1.1alpha2

 Hi,

I'm trying to set up Continuum as my CI server. But no luck so far.
When trying to add my Maven2 project to Continumm 1.1alpha2
all I get is an error (The specified resource isn't a file or the protocol 
used isn't allowed.).

I'm using the http protocol that (as far as I know) should be supported.
This is the URL:

http://svn.mydomain.com/myproject/trunk/myProject/pom.xml

Authentication is required and seems to work, since if I am leaving the
username/pwd textboxes empty it complains about access.

The URL above works in Opera and IE as well as in TortoiseSVN repo-browser.

Any help is highly welcome!!


Kind Regards,
Robert

-- 
View this message in context: http://www.nabble.com/Can%27t-add-M2-project-in-Continuum-1.1alpha2-tf4044782.html#a11489493
Sent from the Continuum - Users mailing list archive at Nabble.com.


Re: Can't add M2 project in Continuum 1.1alpha2

Posted by blixt <ro...@gmail.com>.

>Try removing the userid and password from that.  Continuum will
>remember the credentials you gave it when adding the project.

Still will not work. Below is an exception generated
when I'm trying to add the project...


jvm 1    | 2007-07-09 06:39:50,046 [SocketListener0-3] INFO  DispatcherUtils
            - Unable to find 'webwork.multipart.saveDir' property setting.
Defau
lting to javax.servlet.context.tempdir
jvm 1    | 2007-07-09 06:39:50,046 [SocketListener0-3] WARN 
MultiPartRequest
            - Item is a file upload of 0 size, ignoring
jvm 1    | 2007-07-09 06:39:50,046 [SocketListener0-3] ERROR DispatcherUtils
            - Error setting character encoding to 'UTF-8' - ignoring.
jvm 1    | java.lang.IllegalStateException: getReader() or getInputStream()
call
ed
jvm 1    |      at
org.mortbay.jetty.servlet.ServletHttpRequest.setCharacterEnco
ding(ServletHttpRequest.java:602)
jvm 1    |      at
javax.servlet.ServletRequestWrapper.setCharacterEncoding(Serv
letRequestWrapper.java:112)
jvm 1    |      at
com.opensymphony.webwork.dispatcher.DispatcherUtils.prepare(D
ispatcherUtils.java:392)
jvm 1    |      at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter
(FilterDispatcher.java:160)
jvm 1    |      at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.d
oFilter(WebApplicationHandler.java:821)
jvm 1    |      at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(
PageFilter.java:118)
jvm 1    |      at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(P
ageFilter.java:52)
jvm 1    |      at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.d
oFilter(WebApplicationHandler.java:821)
jvm 1    |      at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFi
lter(ActionContextCleanUp.java:88)
jvm 1    |      at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.d
oFilter(WebApplicationHandler.java:821)
jvm 1    |      at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebA
pplicationHandler.java:471)
jvm 1    |      at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandle
r.java:568)
jvm 1    |      at
org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
jvm 1    |      at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApp
licationContext.java:633)
jvm 1    |      at
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
jvm 1    |      at org.mortbay.http.HttpServer.service(HttpServer.java:909)
jvm 1    |      at
org.mortbay.http.HttpConnection.service(HttpConnection.java:8
16)
jvm 1    |      at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.jav
a:982)
jvm 1    |      at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:83
3)
jvm 1    |      at
org.mortbay.http.SocketListener.handleConnection(SocketListen
er.java:244)
jvm 1    |      at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:35
7)
jvm 1    |      at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:53
4)

-- 
View this message in context: http://www.nabble.com/Can%27t-add-M2-project-in-Continuum-1.1alpha2-tf4044782.html#a11495928
Sent from the Continuum - Users mailing list archive at Nabble.com.


Re: Can't add M2 project in Continuum 1.1alpha2

Posted by Wendy Smoak <ws...@gmail.com>.
On 7/8/07, blixt <ro...@gmail.com> wrote:

> I'm taking a look at continuums log file but can't find
> anything useful. This is my scm connection...
>
> <scm>
> <connection>scm:svn:http://user:mypwd@svn.mydomain.com/myproject/trunk</connection>

Try removing the userid and password from that.  Continuum will
remember the credentials you gave it when adding the project.

-- 
Wendy

Re: Can't add M2 project in Continuum 1.1alpha2

Posted by blixt <ro...@gmail.com>.


>> I'm trying to set up Continuum as my CI server. But no luck so far.
>> When trying to add my Maven2 project to Continumm 1.1alpha2
>> all I get is an error (The specified resource isn't a file or the
>> protocol
>> used isn't allowed.).

>What does the scm connection url look like?  Make sure it's
>'scm:svn:http://' and not just 'http://'.  The log file might have
>more info.

Hi,

I'm taking a look at continuums log file but can't find
anything useful. This is my scm connection...

<scm>
   
<connection>scm:svn:http://user:mypwd@svn.mydomain.com/myproject/trunk</connection>
   
<developerConnection>scm:svn:http://user:mypwd@svn.mydomain.com/myproject/trunk</developerConnection>
    <url>http://user:mypwd@svn.mydomain.com/myproject/trunk</url>
</scm>


Kind Regards,
Robert
-- 
View this message in context: http://www.nabble.com/Can%27t-add-M2-project-in-Continuum-1.1alpha2-tf4044782.html#a11491018
Sent from the Continuum - Users mailing list archive at Nabble.com.


Re: Can't add M2 project in Continuum 1.1alpha2

Posted by Wendy Smoak <ws...@gmail.com>.
On 7/8/07, blixt <ro...@gmail.com> wrote:

> I'm trying to set up Continuum as my CI server. But no luck so far.
> When trying to add my Maven2 project to Continumm 1.1alpha2
> all I get is an error (The specified resource isn't a file or the protocol
> used isn't allowed.).

What does the scm connection url look like?  Make sure it's
'scm:svn:http://' and not just 'http://'.  The log file might have
more info.

-- 
Wendy