« Return to Thread: Tomcat 6 Hot Deploy Issue

Re: Tomcat 6 Hot Deploy Issue

by Andrew Arrigoni :: Rate this Message:

Reply to Author | View in Thread

I don't have a tomcat in front of me, but Tomcat is supposed to notice when a JSP file has changed and re-compile it. However, Java changes will need to result in a restart since those class files are loaded into the JVM's Permanent Generation memory when they're used. That's one of the beauties of using a fully baked Application Server like Glassfish or JBoss: It makes the hot-deploy a lot cleaner.

Now, when you make changes, are you changing the files directly in the exploded war? Are you making changes else where then merging it in?

For the JSP issue, an overkill way to handle this is any time you make JSP changes, you can delete Tomcat's working directory. This will get rid of all the compiled JSPs and force Tomcat to do it over. 

As for the Java issues, you will need to redeploy the whole War file. From my experience, deleting the exploded and compressed war files then copying the new one into the webapps directory is enough.

I hope some of that helps!

On Sun, May 24, 2009 at 9:11 PM, Quadir Kareemullah <quadir@...> wrote:
I am using Eclipse, but I believe it is irrelevant since Tomcat is running STANDALONE outside Eclipse.

- Quadir


On Sun, May 24, 2009 at 8:18 PM, <gingin8199@...> wrote:
What IDE are you using?

"Ignorance of certain subjects is a great part in wisdom."  Hugo De Groot

-----Original Message-----
From: Quadir Kareemullah <quadir@...>

Date: Sun, 24 May 2009 19:40:16
To: <ajug-members@...>
Subject: [ajug-members] Tomcat 6 Hot Deploy Issue


_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members




_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members



--
************************************************************************************

9.71 # The believers, men and women, are Auliyâ' (helpers, supporters, friends, protectors) of one another, they enjoin (on the people) Al-Ma'rûf (i.e. Islâmic Monotheism and all that Islâm orders one to do), and forbid (people) from Al-Munkar (i.e. polytheism and disbelief of all kinds, and all that Islâm has forbidden); they perform As-Salât (Iqâmat-as-Salât) and give the Zakât, and obey Allâh and His Messenger. Allâh will have His Mercy on them. Surely Allâh is All-Mighty, All-Wise.
9.72 Allâh has promised to the believers -men and women, - Gardens under which rivers flow to dwell therein forever, and beautiful mansions in Gardens of 'Adn (Eden Paradise). But the greatest bliss is the Good Pleasure of Allâh. That is the supreme success.

-- Qur'an Chapter 3 Verses 185-186

************************************************************************************

_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members



_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members

 « Return to Thread: Tomcat 6 Hot Deploy Issue