Loading
Start Tomcat with ANT

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  How to start Tomcat by using ANT ?


Ans)

 <target name="start-tomcat" if="start.tomcat.jdpa">
   <echo>Starting Tomcat with JDPA on port ${jpda.port}</echo>
    <java jar="${container.home}/bin/bootstrap.jar" fork="true">
        <jvmarg value="-Xms512m"/>
        <jvmarg value="-Xmx1280m"/>
        <jvmarg value="-Dcatalina.home=${container.home}"/>
        <jvmarg value="-Dcatalina.base=${container.home}"/>
        <jvmarg value="-Djava.endorsed.dirs=${container.home}\common\endorsed"/>
        <jvmarg value="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"/>
     <jvmarg value="-Xdebug"/>
     <jvmarg value="-Xrunjdwp:transport=dt_socket,address=5454,server=y,suspend=n"/>
    </java>
  </target>



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

Start Tomcat with ANT


Start Tomcat with ANT

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free