Friday, July 31, 2009

Intellij Tomcat Configuration Already Run

Problem:
I have a debug tomcat configuration that i always use. Recently i started having a problem where after killing tomcat, and trying to run it again, i would get the error title "Configuration Already Run" which said "Run configuration 'tomcat local' has been already run. Do you want to redeploy it?". Clicking both yes and no buttons didnt do anything. Tomcat was not re-run.

(i am using tomcat 6, and intellij 8.1.3)

Solution:
This seems like an intellij bug. Confirm that tomcat is really dead by running this at the command line:
taskkill /F /IM tomcat6.exe

If that doesnt fix it, proceed with the workaround:
Open the debug tool panel in intellij, and locate the close button, its a red X above the help button, which is a question mark, its on the left side of the screen. Press the close button to close the debug tool panel. Start the debug tomcat, it should run now.

Wednesday, July 08, 2009