am using ant 1.6.2 version. I am having problem with ant target used to
start tomcat server.
Tomcat server is 5.5.20 version. The target is as follows
<target name="start_tomcat_server" description="starts the tomcat server">
<echo message="starting tomcat server "/>
<exec dir="${local.dir}/Tomcat/bin/ " executable="startup.bat"
resolveexecutable="true" >
</exec>
</target>

I get the the following message , when I run the target

[exec] Result -1723061

The tomcat server does not start.

Iam running this target from eclipse environment version 3.2. Any ideas as
to what could be the reason ??
I googled on this topic , but was not able to find substantial information ,
to solve this problem.

When I use startup.bat(tomcat/bin/startup.bat) , I can start tomcat,without
any problem.

thanks,
Suchitha.

Reply via email to