Am 16.02.12 11:35, schrieb Donal K. Fellows:
On 14/02/2012 16:02, Markus Plangg wrote:
when submitting a workflow to the taverna server via the server java cli
with:
java -jar
/opt/t2-server-java-cli/target/t2-server-java-cli-0.0.3-jar-with-dependencies.jar
RunWorkflow -w test.t2flow http://url-to-server:8080/taverna-server
i get the following exception:
Exception in thread "main"
uk.org.taverna.server.client.AccessForbiddenException: Access to
http://url-to-server.ac.at:8080/taverna-server/rest/runs/4f7ae328-df14-4430-8f96-164eb12513c2/wd/out/
is forbidden. Either you do not have the required credentials or the
server does not allow the requested operation
[...skip irrelevant stacktrace...]
It works fine with the -r option, so maybe this happens when the client
tries to download the results. The problem may be that there is a
trailing slash at the end of the URL. When I open the URL in a browser
it says "no such directory entry". It works fine without the slash.
Sounds like the trailing slash shouldn't be there. Exactly what version
of the server are you using? Does the client program include any of your
code or is it all stuff that we supplied?
I am using Taverna 2 Server Release 1. However the server uses Version
2.3 of the Taverna command line tool instead of the version 2.2. I
downloaded the client from https://github.com/myGrid/t2-server-java-cli
and copiled it with " mvn package" according to the readme. According to
the created jar filename this is version 0.0.3. No changes were made to
the code.
Does anyone know what the problem could be? A problem in the command
line tool or in the tomcat configuration?
I'm guessing that it is a problem in the command line tool, or
_possibly_ a problem in the server webapp. It's not a Tomcat problem
since I know that Tomcat's good at passing that sort of URL path through
faithfully and that's exactly the response I'd expect when asking for a
non-existent file. (In general, people tend to be more relaxed about
trailing slashes in "filenames" than they ought to be, but I can't
remember whether I've relaxed the server in this area or not; the server
version would be _very_ useful, thanks!)
Donal.
Hope this information helps and thanks for the fast reply.
Markus
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/