The moose likes IDEs, Version Control and other tools and the fly likes Starting Container Managed Security from eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Starting Container Managed Security from eclipse" Watch "Starting Container Managed Security from eclipse" New topic
Author

Starting Container Managed Security from eclipse

M Marin
Ranch Hand

Joined: Feb 20, 2010
Posts: 30
Hello,

I am using Tomcat Container Managed Security. Somehow, if I try to run the application from eclipse, I doesn´t work. Only when I export the project to war format and then I deploy it manually on the server, it does work perfectly. I would like to start the application from eclipse for testing purposes. Does any know what is happening?

Regards,

MR
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 11740

I'm pretty sure I do. Eclipse has no built-in J2EE capabilities. However, the Galileo packaging of Eclipse includes the never-to-be-sufficiently-cursed WTP J2EE plugin.

The WTP plugin works by selectively copying parts of your Tomcat config to a directory within your workspace and using them to launch an embedded version of Tomcat. What makes it curseworthy is the "selectively" part.

I think in your particular case, you need simply to manually refresh that copy. A lot of problems happen for people when they make config changes and don't explicitly inform WTP. It's not very clever about picking them up - or even letting you know what it has.

I used WTP for a short while when my old standby sysdeo plugin was having problems integrating. I really hated it, since I am prone to server enhancements that exceed the WTP's intelligence.

Fortunately, I eventually managed to get back online with sysdeo. Sysdeo uses your original Tomcat config files (ALL of the config files!) as of their latest customization by you and therefore is much better behaved.


A lot the of modern-day software development platforms are designed to permit parcelling out work to those with the best aptitude for it. A lot of modern-day business is predicated on making one person do all the work, regardless of aptitude.
M Marin
Ranch Hand

Joined: Feb 20, 2010
Posts: 30
Thank you,

it is annoying. I lost so many hours of life and the code was fine. It happens so often with WTP.
 
 
subject: Starting Container Managed Security from eclipse
 
MyEclipse, The Clear Choice