Could not open ejb-jar.xml in Deployment Descriptor Editor in RAD7
We downloaded our project from JDK 1.5 to JDK 1.4. The step would obviously bring out some issues and the most annoying one I've come to experience so far is when I couldn't open my ejb-jar in the deployment descriptor editor.
The solution was quite tricky. In RAD7, I had to go through the "Resource" perspective and then open the .settings folder. Inside the folder there's a file called org.eclipse.wst.commmon.component. Open that file and make sure your entries look like the following...
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="YOURPROJECT>
<wb-resource deploy-path="/" source-path="/ejbModule"/>
<property name="java-output-path" value="ejbModule"/>
</wb-module>
</project-modules>
I'm not sure if the same problem can be encountered in Eclipse, but for sure it would be a close if not similar solution.