Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run other's tomcat from my local system

kesava chaitanya
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have successfully deployed and run tomcat
in my localhost;how can i run other's (i mean different host) thru my system(it will be external process) ;can anybody give me code;this is the code i have used for running tomcat;

<project name="MyApp" default="start" basedir=".">
<property name="jboss" location="d:/jboss"/>
<property name="iexplore" location="C:\Program Files"/>
<property name="tomcatpath" location="c:/tomcat/webapps/examples/WEB-INF"/>
<property name="baselib" value="d:/jboss/lib/*.jar" />
<target name="build" description="Compiles all source code">
<javac srcdir="${basedir}/cscsrc" destdir="${tomcatpath}/classes">
<pathelement location="${baselib}/jfreechart-0.9.2.jar" />

<target name="start" depends="build">
<exec executable="${jboss}/bin/run.bat" dir="${jboss}/bin" os="Windows 2000" />


with regards
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic