REM ---------------------------------------------------------------------------
REM JOnAS: Java(TM) Open Application Server
REM Copyright (C) 2006 Bull S.A.S.
REM Contact: jonas-team@objectweb.org
REM
REM This library is free software; you can redistribute it and/or
REM modify it under the terms of the GNU Lesser General Public
REM License as published by the Free Software Foundation; either
REM version 2.1 of the License, or (at option) any later version.
REM
REM This library is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
REM Lesser General Public License for more details.
REM
REM You should have received a copy of the GNU Lesser General Public
REM License along with this library; if not, write to the Free Software
REM Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
REM
REM ---------------------------------------------------------------------------
REM $Id$
REM ---------------------------------------------------------------------------

REM Launches a simple test
REM Usage : client.sh multi|multiserial <clientnb> <iterationNb> 0 <type> with
REM  clientnb : the threads nb
REM  iterationNb : the loop nb
REM  type : the sort of test among  Remote CreateRemote LookupCreateRemote MetaData
REM  ex : client.cmd 10 10000 0 LookupCreateRemote
java %JAVA_OPTS% -jar %JONAS_ROOT%\lib\client.jar -carolFile client\carol.properties -traceFile client\traceclient.properties %JONAS_BASE%\apps\autoload\applicall.ear %*