facebook

MyEclipse 6.0 creates an incorrect .ear file on jBoss

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #282673 Reply

    hudara
    Member

    Hi,

    1. I’m using MyEclipse 6.0.1 GA, Build ID: 6.0.1-GA-200710 with jBoss application server.
    2. My EAR project contains several EJB projects and a WAR project.
    3. All these projects uses 3rd party jar files.

    The problem is when deploying the EAR file into jBoss (either exploded or packaged archive). Applerantly the IDE creates a “lib” folder in the Ear file (within its first root level), and put all 3rd party jar files in this folder, causing jBoss to crash at runtime, since it does not find the jars.

    If I copy manually all these jars, and place them directly under the EAR, everything is working fine.

    MyEcplise IDE 5.5.1GA, put these jars directly under the EAR – And it is working fine.
    (NOTE: “Dependent Java Project Deployment Policy” is configured exactly as in IDE 5.5.1GA)

    Any ideas?
    Guy Hudara

    #282720 Reply

    Loyal Water
    Member

    Guy Hudara,
    I would suggest you put all the 3rd party jars in a dependent java project, add this dependent project to your EAR project and then go to Windows > Prefs > MyEclipse > Java Enterprise Project > EAR Project and check “Jars Exported from Dependent Java Project”. That should do the trick here. You can refer to this doc incase you need any help with the steps I mentioned:-
    http://www.myeclipseide.com/documentation/quickstarts/earprojects/

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MyEclipse 6.0 creates an incorrect .ear file on jBoss

You must be logged in to post in the forum log in