Yes this is most certainly a tomcat/ant issue - probably a tomcat issue - 
something in startup.bat since you say that you cannot even run the ide using 
startup.bat  Looks like a misplaced quote someplace in the bat file.


Good luck,
Shaun


-----Original Message-----
From: Pid [mailto:p...@pidster.com] 
Sent: Tuesday, April 21, 2009 2:39 PM
To: Tomcat Users List
Subject: Re: Deploying to Tomcat Server

Sounds like a netbeans / ant problem.
Rather than Tomcat, sorry.

p



Richard Coutinho wrote:
> Is anyone going to respond to my question?
> 
> Sent from my BlackBerry device on the Rogers Wireless Network
> 
> -----Original Message-----
> From: Richard Coutinho <richardcouti...@shaw.ca>
> 
> Date: Mon, 20 Apr 2009 22:43:50 
> To: <users@tomcat.apache.org>
> Cc: <users-i...@tomcat.apache.org>
> Subject: Deploying to Tomcat Server
> 
> 
> Hello:
> 
> I am using Netbeans 6.5 IDE to deploy to Tomcat 4.1 server. This Tomcat
> server cannot be registered with the Netbeans tool as it is an older version
> of Tomcat.
> 
> I follow the instructions and try to start the Tomcat server from the IDE
> [see syntax below]. If I run it from the IDE or simply run the startup.bat
> file I get the following error:-
> -Dsun.io.useCanonCaches=false"
> 
> How can I fix this problem, so that I can start the Tomcat 4.1 server? 
> 
> Thanks 
> Richard
> 
> 
> <target name="startcat4" depends="init">
> <exec
> executable="C:\apache-tomcat-4.1.39\apache-tomcat-4.1.39\bin\startup.bat">
> <env key="CATALINA_HOME"
> value="C:\apache-tomcat-4.1.39\apache-tomcat-4.1.39"/>
> <env key="CATALINA_BASE"
> value="C:\apache-tomcat-4.1.39\apache-tomcat-4.1.39"/>
> </exec>
> 
> </target>
> 
> 
> <target name="run" depends="compile">
> <exec executable="C:\Program Files\Mozilla Firefox\firefox.exe">
> <arg value="http://localhost:8080/WebApplication4/${client.urlPart}"/>
> </exec>
> 
> </target>
> 
> 
> <target name="stopcat4" depends="init">
> <exec
> executable="C:\apache-tomcat-4.1.39\apache-tomcat-4.1.39\bin\shutdown.bat">
> <env key="CATALINA_HOME"
> value="C:\apache-tomcat-4.1.39\apache-tomcat-4.1.39"/>
> <env key="CATALINA_BASE"
> value="C:\apache-tomcat-4.1.39\apache-tomcat-4.1.39"/>
> </exec>
> 
> </target>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to