You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by Simone Bnà <s....@cineca.it> on 2016/08/29 14:22:44 UTC

change OperatingLimit and MaxRuns default values

Dear taverna staff,

I need to change the "OperatingLimit" and "MaxRuns" default value in Taverna server 2.5.

I found two configuration files in the following places:

/var/lib/tomcat7/webapps/taverna-server/WEB-INF/classes/WEB-INF

/var/lib/tomcat7/webapps/taverna-server/WEB-INF

The file is named tavernaserver.properties.

I modified in both files the "default.runlimit" and "default.operatinglimit" values as below:

# Override the hostname, port and webapp; leave at 'NONE' if no override
# desired. If set, set it to something like:
#      foo.example.com:8000/tav-serv
default.webapp:                 NONE
# User name to use if nothing else specified
default.localusername:  taverna
# How to pick a user name out of a global identity
localusernameregexp:    ^TAVERNAUSER=(.*)$
# General defaults
default.logworkflows:   false
default.logexceptions:  false
default.permitsubmit:   true
default.lifetime:               2880
default.runlimit:               50
default.operatinglimit: 1
default.messageSize:    65536
#taverna.preferredUserUri:      https://some.host:8443/tavernaserver/rest/
http.realmName:         tavernaserver


After the changes I restart the server but if I am doing the following requests

<host>/taverna-server/rest/policy/operatingLimit

<host>/taverna-server/rest/policy/runLimit

I get the default taverna values, 10 and 100, respectively.

What am I doing wrong?

Best regards,

Simone.

-- 
Simone Bnà, PhD
C++ Software Developer, CINECA
Via Magnanelli 6/3, 40033 Casalecchio di Reno, Italy
office:   +39-0516171938
email: s.bna@scsitaly.com/s.bn@cineca.it

Re: change OperatingLimit and MaxRuns default values

Posted by Alan Williams <al...@googlemail.com>.
Hello Simone

Looking at 
http://dev.mygrid.org.uk/wiki/display/tav250/Administration+Guide it 
suggests that you need to change context.xml

I will check with Donal Fellows tomorrow.

Alan


Re: change OperatingLimit and MaxRuns default values

Posted by alaninmcr <al...@googlemail.com>.
Hello Simone

Donal tells me that the values can be changed in the administration web 
GUI at https://some.host:8443/tavernaserver/admin/

Alan