| 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: 12513
|
|
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.
|
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
|
 |
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
|
|
|