So do you want to deploy without copying the .war file? One way to do it is 
just to right-click on the project, and click 'Deploy.' It worked for me. 
Either way, you're able to attach the debugger through netbeans.

Either way you deploy your application, you can attach the debugger using 
tomcat with these instructions:
http://bugs.sakaiproject.org/confluence/display/BOOT/Setting+Up+Tomcat+For+Remote+Debugging

To attach the debugger through netbeans, you go to Debug->Attach Debugger. I 
usually do a process attach, and type in the process ID of tomcat in the PID 
option. The socket attach seems less reliable, but this way never failed me.

 - Maciek




________________________________
From: astra123 <sandhya.jayachand...@tcs.com>
To: users@tomcat.apache.org
Sent: Sunday, May 3, 2009 10:32:36 PM
Subject: Re: Deploying a WAR file in tomcat 6


Hi,

Thanks for your response.
I have deployed the WAR file as you said.
Im trying to bring that into NetBeans.


Maciek Rakowski wrote:
> 
> you don't need netbeans to deploy the .war file. You simply put it in your
> .war file in the webapps directory of the tomcat folder, or use tomcat
> manager.
> 
>  - Maciek
> 
> 
> 
> 
> ________________________________
> From: astra123 <sandhya.jayachand...@tcs.com>
> To: users@tomcat.apache.org
> Sent: Monday, April 27, 2009 2:40:24 AM
> Subject: Deploying a WAR file in tomcat 6
> 
> 
> Hi,
> 
> I have downloaded one WAR file from net.
> I need to deploy that in Tomcat 6 which is inside NetBeans 6 IDE.
> 
> Can you please help me to resolve this.
> -- 
> View this message in context:
> http://www.nabble.com/Deploying-a-WAR-file-in-tomcat-6-tp23250903p23250903.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
>      
> 

-- 
View this message in context: 
http://www.nabble.com/Deploying-a-WAR-file-in-tomcat-6-tp23250903p23362241.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


      

Reply via email to