History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16913
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Assignee: Alexander Chernikov
Reporter: Jon Nichols
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Packaging JSPs of running app causes complete (and very slow) copy of all files on next compile.

Created: 19 Jan 08 12:02   Updated: 17 May 08 19:08
Component/s: J2EE.Deployment and Run.Generic

Environment: Windows XP, Tomcat 5.0

Build: 7,590
Severity: Extreme


 Description  « Hide
During debugging, it is common to make a change to a JSP file and repackage it to see changes immediately. However, when doing so, the next time the app needs to be recompiled, it takes ages as it appear to re-copy all files. If you don't package any files during a running build, recompiling takes virtually no time.

Steps:
1. Launch a web application with JSPs.
2. Make a change to a JSP, right-click and select 'Package File'
3. Reload the web page to see the change.
4. Shutdown the web app and Tomcat. Make a small change to a java file.
5. Launch the web app again, letting it recompile on make.
Result: recompile takes a very long time, and appears stuck in 'Copying file ...' It can take over 5 minutes at times.

Alternately, duplicate the above steps, but remove step 2. The result is that the compilation process takes seconds and launches fine.

This is new in the 7.0 release. In 6.x releases, this problem did not occur.



 All   Comments   Work Log   Change History      Sort Order:
Nikolay Chashnikov - 11 Apr 08 14:04
I cannot reproduce the problem. Alexander, could you please try to reproduce it?

Alexander Chernikov - 21 Apr 08 20:12
Cannot reproduce it in 7590 and 7807.
Jon, could you make CPU snapshot for the time when the slow compilation occurs?
http://support.jetbrains.com/kb/entry!default.jspa?categoryID=5&externalID=192

Alexander Chernikov - 05 May 08 21:47
So, no snapshot? Without more information I will have to close this one.