You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Graham Leggett <mi...@sharp.fm> on 2007/09/06 15:26:41 UTC
The specified resource isn't a file or the protocol used isn't
allowed.
Hi all,
While trying to install Continuum v1.1 beta 2 from scratch on a Windows
machine, I have managed to get it started up and working, and am trying to
enter the first set of projects.
When I enter the POM url of
"https://svn.server/svn/alchemy/Rhapsody/Development/native/trunk/pom.xml"
I get the error:
"The specified resource isn't a file or the protocol used isn't allowed."
The strange part is that if I enter the incorrect username or password, I
get an incorrect username or password error - meaning that continuum
correctly connected to the SSL server, tried to log in, and correctly
parsed the access denied condition.
As soon as access is granted, things seem to go pear shaped. Does anyone
know what may be wrong?
The log generated by the failure looks like this:
INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,961
[SocketListener0-1] INFO DispatcherUtils - Unable to find
'webwork.multipart.saveDir' property setting. Defaulting to
javax.servlet.context.tempdir
INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,977
[SocketListener0-1] WARN MultiPartRequest - Item is a file
upload of 0 size, ignoring
INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,977
[SocketListener0-1] ERROR DispatcherUtils - Error setting
character encoding to 'UTF-8' - ignoring.
INFO | jvm 1 | 2007/09/03 12:35:52 | java.lang.IllegalStateException:
getReader() or getInputStream() called
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.jetty.servlet.ServletHttpRequest.setCharacterEncoding(ServletHttpRequest.java:602)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
javax.servlet.ServletRequestWrapper.setCharacterEncoding(ServletRequestWrapper.java:112)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
com.opensymphony.webwork.dispatcher.DispatcherUtils.prepare(DispatcherUtils.java:392)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:160)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.http.HttpServer.service(HttpServer.java:909)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) INFO
| jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO | jvm 1 | 2007/09/03 12:35:52 | at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Regards,
Graham
--
Re: The specified resource isn't a file or the protocol used isn't
allowed.
Posted by Emmanuel Venisse <em...@venisse.net>.
Hi Graham,
Can you turn on debug logs to see if more informations are available?
Emmanuel
Graham Leggett a écrit :
> Hi all,
>
> While trying to install Continuum v1.1 beta 2 from scratch on a Windows
> machine, I have managed to get it started up and working, and am trying to
> enter the first set of projects.
>
> When I enter the POM url of
> "https://svn.server/svn/alchemy/Rhapsody/Development/native/trunk/pom.xml"
> I get the error:
>
> "The specified resource isn't a file or the protocol used isn't allowed."
>
> The strange part is that if I enter the incorrect username or password, I
> get an incorrect username or password error - meaning that continuum
> correctly connected to the SSL server, tried to log in, and correctly
> parsed the access denied condition.
>
> As soon as access is granted, things seem to go pear shaped. Does anyone
> know what may be wrong?
>
> The log generated by the failure looks like this:
>
> INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,961
> [SocketListener0-1] INFO DispatcherUtils - Unable to find
> 'webwork.multipart.saveDir' property setting. Defaulting to
> javax.servlet.context.tempdir
> INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,977
> [SocketListener0-1] WARN MultiPartRequest - Item is a file
> upload of 0 size, ignoring
> INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,977
> [SocketListener0-1] ERROR DispatcherUtils - Error setting
> character encoding to 'UTF-8' - ignoring.
> INFO | jvm 1 | 2007/09/03 12:35:52 | java.lang.IllegalStateException:
> getReader() or getInputStream() called
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.ServletHttpRequest.setCharacterEncoding(ServletHttpRequest.java:602)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> javax.servlet.ServletRequestWrapper.setCharacterEncoding(ServletRequestWrapper.java:112)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.webwork.dispatcher.DispatcherUtils.prepare(DispatcherUtils.java:392)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:160)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpServer.service(HttpServer.java:909)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) INFO
> | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> Regards,
> Graham
> --
>
>
>
>
>
>
>
Re: The specified resource isn't a file or the protocol used isn't
allowed.
Posted by roan <ro...@oberonassociates.com>.
I too am experiencing similar problems:
* Also get "The specified resource isn't a file or the protocol used isn't
allowed." when try to add a maven2 project
* Also using SVN over https.
* Multi-module project.
* The urls in SCM section in the pom are pointing to the folder that
contains the root pom.xml and they use https protocol too (no scm:svn:https
stuff).
* Deployed war on tomcat-6
* I am reverse proxying continuum via apache 2.0.x following directions on
http://docs.codehaus.org/pages/viewpage.action?pageId=73595
* Windows Server 2003 is the box we had lying around
I have debug turned on for org.apache continuum and a few others ... nothing
shows up in the continuum.log or catalina.out. Like Graham, I also get
access denied if my credentials are incorrect.
Roan
Graham Leggett wrote:
>
> Hi all,
>
> While trying to install Continuum v1.1 beta 2 from scratch on a Windows
> machine, I have managed to get it started up and working, and am trying to
> enter the first set of projects.
>
> When I enter the POM url of
> "https://svn.server/svn/alchemy/Rhapsody/Development/native/trunk/pom.xml"
> I get the error:
>
> "The specified resource isn't a file or the protocol used isn't allowed."
>
> The strange part is that if I enter the incorrect username or password, I
> get an incorrect username or password error - meaning that continuum
> correctly connected to the SSL server, tried to log in, and correctly
> parsed the access denied condition.
>
> As soon as access is granted, things seem to go pear shaped. Does anyone
> know what may be wrong?
>
> The log generated by the failure looks like this:
>
> INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,961
> [SocketListener0-1] INFO DispatcherUtils - Unable to find
> 'webwork.multipart.saveDir' property setting. Defaulting to
> javax.servlet.context.tempdir
> INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,977
> [SocketListener0-1] WARN MultiPartRequest - Item is a file
> upload of 0 size, ignoring
> INFO | jvm 1 | 2007/09/03 12:35:52 | 2007-09-03 12:35:51,977
> [SocketListener0-1] ERROR DispatcherUtils - Error setting
> character encoding to 'UTF-8' - ignoring.
> INFO | jvm 1 | 2007/09/03 12:35:52 | java.lang.IllegalStateException:
> getReader() or getInputStream() called
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.ServletHttpRequest.setCharacterEncoding(ServletHttpRequest.java:602)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> javax.servlet.ServletRequestWrapper.setCharacterEncoding(ServletRequestWrapper.java:112)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.webwork.dispatcher.DispatcherUtils.prepare(DispatcherUtils.java:392)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:160)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpServer.service(HttpServer.java:909)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) INFO
> | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> INFO | jvm 1 | 2007/09/03 12:35:52 | at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> Regards,
> Graham
> --
>
>
>
>
>
>
--
View this message in context: http://www.nabble.com/The-specified-resource-isn%27t-a-file-or-the-protocol-used-isn%27t------allowed.-tf4392195.html#a14218104
Sent from the Continuum - Users mailing list archive at Nabble.com.