IDEA, Java 7, Tomcat 7 - does it really work for you?

Recently I migrated my project to both Java 7 and Tomcat 7 (both latest version on Window 7, 32bit java).
However IDEA has some problems with this configuration (both 11.1.3 and latest IDEA 12 EAP).

It no longer opens the browser after startup.
Detection of deployment status is shaky at best.

I noticed that the last message in the Server  toolwindow is
   Information: Server startup in 7572 ms

As soon as I switch back to Tomcat 6 (or Java 6) I get an additional line saying
  Connected to server
and everything works fine.

I reported the problem with a detailed screencast of how to reproduce the problem with fresh installations:
http://youtrack.jetbrains.com/issue/IDEA-86628
However the issue seems to have been forgotten.

5 comments
Comment actions Permalink

Hello,

I answered in IDEA-86628, here is the copy:

Sorry for delay with answer.
From your screen cast I can guess that it is the duplicate for IDEA-88167, fixed 3 weeks ago.
I expect the fix to be included into the latest IDEA-12 EAP, can you check with any build 120.116+
The fix has not been backported to 11.1.x stream.

Regards,
Michael

0
Comment actions Permalink

Thanks, indeed it works fine for me in 120.333.

However there's a bad performance regression:
From the first message in the "Server" toolwindow to the opened browser Leda takes almost 20 seconds.
In IDEA 11 that was only about 4 seconds.

I re-start tomcat quite often during development, so this is a major pita.
What can I do to help you improve this?

0
Comment actions Permalink

Indeed, there was the delay of ~10 seconds between Tomcat startup finish and deployment start.
Fixed now, see http://youtrack.jetbrains.com/issue/IDEA-89880 for the details.

0
Comment actions Permalink

Hm, tried 122.31 and indeed deployment start without delay, but ultimately fails with another error.
A resource defined in META-INF/context.xml seems not to be deployed: javax.naming.NameNotFoundException: Name [dagiWebDataSource] is not bound in this Context.
How should I report problems with unreleased builds? (I haven't found any email of you and I'm not sure wether to discuss here or create YouTrack issue.)

0
Comment actions Permalink

Hello,

YouTrack is the best place to talk about any IDEA issues (and as a side effect, the fixed YouTrack issues will be at some point verified by testers).
Please post all the things you have posted in the previous one (except the screen cast :) ).
I aslo need to know exact version of Tomcat you are using -- there is a known bug in the 7.0.x versions before 7.0.22 we are trying to specifically workaround there.

If you set subsystem to J2EE.Tomcat I will be automatically notified from Youtrack.

Regards,
Michael

0

Please sign in to leave a comment.