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

Key: IDEA-11788
Type: Bug Bug
Status: Waiting for Reply Waiting for Reply
Assignee: Eugene Zhuravlev
Reporter: ihpled
Votes: 0
Watchers: 0
Operations

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

Cannot restart debugging after stopping a debugging session with Tomcat 5 under Windows Vista

Created: 03 Mar 07 16:38   Updated: 18 Jul 07 13:51
Component/s: Debugger, J2EE.Deployment and Run.Generic

Environment: Windows Vista Ultimate, IDEA 6.0.4 (build 6148) or SELENA (build 6733), JDK 1.5.0_11 or JDK 1.6.0, Tomcat 5.0.28 or Tomcat 5.5.20 or JBoss 4.0.5GA

Build: 6,148
Severity: High


 Description  « Hide
Using IDEA 6.0.4 (build 6148) under Windows Vista, If you start debugging a simple web application with Tomcat 5.0.28 (local configuration), then stop debugging and try to restart a new debugging session, Tomcat will not restart.
If you look at processes in the task manager, you'll see "java.exe" appear and rapidly disappear.
This issue doesn't apply to normal "run" sessions but only to "debug" ones.
It seems not to be an application server issue because it affects also Tomcat 5.5.20 and JBoss 4.0.5.
The same prolem affect Selena (build 6733) and doesn't disappear forcing IDEA to use JDK 6.
The only workaround I found is restarting IDEA.

 All   Comments   Work Log   Change History      Sort Order:
Eugene Zhuravlev - 14 Mar 07 16:21
Please check in task manager that after the debug session is stopped, the Tomcat's process actually exites.

nima goudarzi - 10 Jul 07 00:27
I'm facing this problem too.
The only way I found to get rid of this bug is to change the debugging mode from socket to shared memory.

Eugene Zhuravlev - 10 Jul 07 14:39
Nima,
Can your problem be described by my post above?

nima goudarzi - 10 Jul 07 22:42
Eugene,
I checked all the processes in the task manager, tomcat is stopped but the debugger cannot be started for the second time.
I think IDEA cannot close the opened socket connection with the server.

Eugene Zhuravlev - 10 Jul 07 22:57
Are there any error messages in console or exceptions in idea.log?

nima goudarzi - 11 Jul 07 00:01
No, nothing
It just open the popup window to compile java files and rebuild the project (this phase goes well), then the popup window is closed and nothing happens.

nima goudarzi - 18 Jul 07 12:38
Any solution ?

Eugene Zhuravlev - 18 Jul 07 13:51
I'd proposed one if that was reproducible here.... Still I think this is not the thing we can influence on. IDEA uses debugging engine provided by JDK and all connections are controlled by this engine, not our code. With application servers it sometimes happens that the server process does not quit and occupies the port, hence the problem with successive attempts to connect.

Could you please take a thread dump of the state when debugger doe not start? To do this you either need to run IDEA with console enabled or use the tool http://www.adaptj.com/root/main/download