On Fri, Mar 25, 2011 at 11:36 AM, Peter Boughton wrote:
...
> It'd be nice if there was a way to run it in a command window, so I
> can both see status and use Ctrl-C to stop it.

You can do that.  Don't remember offhand, but I think it's just

./catalina.sh run

or maybe

./catalina.bat run

When in a console.

You can also start it with java -jar bootstrap.jar or some such... in
ant I do this:

<java  classname="org.apache.catalina.startup.Bootstrap"
classpathref="tomcat.lib.path" fork="true" spawn="${background}"
maxmemory="${tomcat.maxmemory}">
    <jvmarg value="-Dcatalina.base=${tomcat.dir}"/>
    <jvmarg value="-Dcatalina.home=${tomcat.dir}"/>
    <jvmarg 
value="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"/>
        <jvmarg 
value="-Djava.util.logging.config.file=${tomcat.dir}/conf/logging.properties"/>
        <jvmarg line="${tomcat.jvm.args}"/>
</java>

And the ${background} property controls if the process launches in the
foreground or in the background.

:Den

-- 
The whole problem with the world is that fools and fanatics are always
so certain of themselves, and wiser people so full of doubts.
Bertrand Russell

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to