Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Nikolay Chashnikov
Subsystem
J2EE.Tomcat
Affected versions
10.5.2 (107.537)
Fixed in build
110.112  
  • Created by   Benjamin Winterberg
    7 months ago (11 Oct 2011 19:03)
  • Updated by   Maxim Mossienko
    5 months ago (06 Dec 2011 21:21)
 
IDEA-75404 Tomcat Log is empty on exception
2
Issue is visible to: All Users
  The issue is visible to the selected user group only
While running a Tomcat 7 via run configuration directly from Intellij IDEA 10.5.2, I got annoying issues with the Tomcat Log tab on Mac OSX Lion. Tomcat Log works as long as no exception occurs.

But when an exception occurs in servlet container (e.g. JSP rendering exceptions) Tomcat Log gets cleared. Its just empty, no exceptions are shown. I have to manually look into the log file at this location:

/Users/$USERNAME/Library/Caches/IntelliJIdea10/tomcat/$ARTIFACT/logs/localhost.2011-..log


This is VERY annoying. It seems to be that IDEA looses file handle for the log files in case of exception (log directory will be deleted and recreated?).


This bug does NOT occure on my Windows 7 machine, but its reproducible on Ubuntu Linux.
Comments (7)
 
History
 
Linked Issues (?)
 
Benjamin Winterberg
  Benjamin Winterberg
11 Oct 2011 19:56
7 months ago
Found a similiar Issue: IDEA-43656
mberwanger
  mberwanger
12 Oct 2011 22:20
7 months ago
I'm also seeing this on my linux box - RHEL5_64 / Tomcat 7.0.22 / Intellij 10.5.2 / jdk1.6.0_25
Benjamin Winterberg
  Benjamin Winterberg
12 Oct 2011 22:28
7 months ago
Please vote this up so it gets attention by Jetbrains.
Benjamin Winterberg
  Benjamin Winterberg
13 Oct 2011 21:14
7 months ago
Please provide Fix Version.
Benjamin Winterberg
  Benjamin Winterberg
14 Oct 2011 11:49
7 months ago
This bug is really annoying. Cant wait for IDEA 11 to get this fixed. Please provide fix in IDEA Ultimate 10.5.x...
Nikolay Chashnikov
  Nikolay Chashnikov
18 Oct 2011 10:24
7 months ago
Could you please check if the problem is fixed for you in the latest IDEA 11 EAP build (http://confluence.jetbrains.net/display/IDEADEV/IDEA+11+EAP)? If so we can consider to backport the fix into IDEA 10.5.x updates.
Nathan Maves
  Nathan Maves
29 Oct 2011 03:24
6 months ago
I just checked and this issue seems to be corrected in the 11 EAP.