- This topic has 8 replies, 5 voices, and was last updated 18 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
sheenmicroMemberHi,
Last week, before updating to MyEclipse 3.8.1. (from 3.7) we had an EAR project which referenced a web module. This was deployed to OC4J with no probs (using exploded deployment).Since the upgrade we are getting the following error from the ‘parent project’
.. No project modules assigned to enterprise project..The Project-Properties-Project Reference checkbox is ticked for the relevant web project .
The configuration files we have are as follows:-
<b>MyEar_Proj-context.xml</b>
<?xml version=”1.0″ encoding=”UTF-8″?>
<Context docBase=”C:\Tools\oc4j\j2ee\home\applications\MyEar_Proj\MyEar_Proj-web” path=”/MyEar_Proj-web”/><b>MyEar_Proj-application.xml</b>
<?xml version=”1.0″?>
<!DOCTYPE application PUBLIC “-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN” “http://java.sun.com/j2ee/dtds/application_1_2.dtd”><application>
<display-name>Oracle DCM Generated</display-name>
<module>
<web>
<web-uri>MyEar_Proj-web</web-uri>
<context-root>/MyEar_Proj</context-root>
</web>
</module></application>
<b>server.xml -</b>
<application name=”MyEar_Proj” path=”C:\Tools\oc4j\j2ee\home\application-autodeploy\MyEar_Proj.ear” auto-start=”true” />If I delete MyEar_Proj and recreate it, pointing it to MyEar_Proj-web the problem goes away until I restart Eclipse.
Any ideas how to solve this would be most welcome 🙂
sheenmicroMemberaha, Just realised that it was a j2ee version problem. The ‘new’ stuff appeared to have defaulted to j2ee v1.4. It should have been v1.3 .:)
Scott AndersonParticipantThanks for the followup. Yes, the default changed in 3.8.0 as we added 1.4 support. Glad you’re up and running.
sheenmicroMemberWell, sadly this problem has reappeared. Even when the projects are set up as J2ee 1.3, if the project is closed the parent EAR project appears to lose the associated web module
intec93MemberCan someone help please? I am getting this error, “No project modules assigned to enterprise project.”. I created the project in one machine and it worked fine. when I transfered the project to another machine I get the message mentioned above. what should I do? thanks.
gnuphieMemberI am also getting the same error. This is on the same machine (not transferring project). I am working on finding out how to reproduce the problem, but I am definitely getting the “No project modules assigned to enterprise project” error.
Riyad KallaMemberFor the people having a problem with no modules assigned, when you right click on the EAR and go down to MyEclipse then select “Add/Remove Modules”, do you see any modules listed? Are they in your application.xml file as well?
intec93MemberYes, I have the 2 modules listed and both listed in the application.xml.
Riyad KallaMemberAre these 3 projects (EAR, and 2 modules) things you can export and send to me, or no? Can you create a sample set of projects that exhibit this exact same behavior to send to me for testing?
-
AuthorPosts