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?
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.
<<attachment: donal_k_fellows.vcf>>
------------------------------------------------------------------------------ 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/
