This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat eclipse plugin?

 
John Wallace
Greenhorn
Posts: 17
Java jQuery PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should I use any specific Eclipse plugins when using Eclipse Galileo 20090920-1017 with Tomcat 6.0.20 ??

 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse Galileo JEE already has a pretty good Tomcat server adapter.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18156
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Freddy Wong wrote:Eclipse Galileo JEE already has a pretty good Tomcat server adapter.


Your opinion may vary. Mine does. I find that the WST Tomcat adapter knows more about Tomcat's internals than it should while simultaneously knowing less about them than it needs to. Plus warping the entire environment for the theoretical benefit of people working with a release of Tomcat that went end-of-life over 5 years ago.

I liked the sysdeo plugin a lot better, but it's no longer actively supported, and it doesn't seem to operate reliably under Galileo, so I generally end up launching an external Tomcat and attaching to it.
 
Lalitha Prasad Chennupati
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote: I generally end up launching an external Tomcat and attaching to it.


Why don't you configure Remote Debugging in both Tomcat and eclipse.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18156
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lalitha Prasad Chennupati wrote:
Tim Holloway wrote: I generally end up launching an external Tomcat and attaching to it.


Why don't you configure Remote Debugging in both Tomcat and eclipse.


Because that's doing it the hard way.

Actually, that's exactly what I am doing, and I don't like it. I much preferred sysdeo's approach where it would automatically launch Tomcat with debugging enabled, connect the app(s) under test to that Tomcat's debugger, and not muck around with internal config information so that the debugging config was essentially identical to the "real" config, refuse to pick up on webapps just because they hadn't been originally designed with a webapp-faceted project or lived in places other than where the plug-in wished to find them.

And for 100% certain, not go stuffing application config information inside server.xml, which has been discouraged since Tomcat 3 end-of-lifed, lo those many years ago.

In other words, I consider the WST Tomcat debugging feature to be vastly inferior to sysdeo. It's more cumbersome, more fragile, and less flexible, and I wish sysdeo were still maintaining their plugin so I didn't have to play ping-pong with the software everytime I needed to debug a webapp .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic