facebook

Problem exporting to EAR file

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #264687 Reply

    jklcom99
    Member

    I’m running MyEclipse 5.1. I’m having problem exporting my J2EE enteprise project to an EAR file. It’s like sometime it works, sometime it doesn’t. I’m seeing three different behaviors:

    1) When it does work, an EAR file gets generated and everything is working Ok
    2) An EAR file gets generated, but the file size is very small, only 46k
    3) Won’t even generate the EAR file at all

    What am I doing wrong?

    #264794 Reply

    Riyad Kalla
    Member

    A few things to check:

    1) If you are using any external scripts (like ant) to build or maintain any contents of any of the projects, it’s possible that your workspace is getting out of sync with the files on the file system, which will stop the deployment utility dead in it’s tracks (which would explain #2 and #3). You want to either make sure you are refreshing your projects after running a script, or turn on auto-refresh under Window > Prefs > General > Workspace > Refresh automatically

    2) If you are deploying to a running app server, it’s possible that read-locks on the files you are trying to delete then redeploy are causing the deployer to die. Although we did improve this in 5.1 to make it more resilient so you shouldn’t be seeing this in most cases.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem exporting to EAR file

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