Stubbisms – Tony’s Weblog

January 23, 2008

OSGi, TPTP and Eclipse Live

Filed under: Eclipse, Java — Tags: , , , , — Antony Stubbs @ 9:57 am

I’m currently on a product prototype development team run out of India and as a part of that team I have been thrown into the depths of OSGi. Not having incoutnered it before, I didn’t really immediately comprehend what it was.

However, thanks to the wonders of RSS feeds, I stumbled upon this presentation about Eclipse Equanox, OSGi and how Eclipse uses OSGi as it’s foundation for it’s modular design. The Live page for the presentation is here – Introduction to Eclipse Equinox and OSGi.

It’s all a part of this wonderful site called Eclipse Live, which has several such presentations, including Profiling and Testing Applications Using the [infamous ] Eclipse Test and Performance Tools Platform (TPTP), which I’ve never really managed to use before. But it’s great to now know I can profile applications in Eclipse! Now I just need to figure out how to profile my application running in jetty which gets launched by an Eclipse “external application”. Using an embedded style of Jetty would probably work, but I don’t want to have to go through the drama of changing our setup (plus, it’s not that important for that project).

November 26, 2007

Deployment descriptor of the module yourAppplication.war cannot be loaded

Filed under: Eclipse, Java — Tags: , , , , , — Antony Stubbs @ 6:10 pm

I’ve hit this very annoying Eclipse error several times in the past and usually fluked my way through fixing it and never bothered recording how it was fixed (if I even knew).

“The deployment descriptor of the module yourAppplication.war cannot be loaded”

I remember my colleague once Googled the answer and it was something to do with removing a file, or an entry in a file inside the workspace plugins directory.

Well my EAR project got the error again today after migrating my WAR project to a new workspace manually via file system copying. My Google-Fu must be rusty today because it looked to me like no one had the problem.
On a hunch, I created a new EAR project and added my war to it – worked no problem. Led me to think that it’s the old EAR project’s metadata. So I deleted the project through Eclipse (incl files on disk) and re-imported it from our code repository.
Lo and be-hold Eclipse sorted itself out.

If anyone actually knows the file or entries that have to be reset in the workspace metadata please post.

Blog at