facebook

EAR deployment problem [Closed]

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

    navis
    Member

    hi,

    I have enterprise application project which consists of several ejb projects and 1 web project.

    When i deploy my EAR using myEclipse -> Add and Remove Deployments

    I chose Exploded Archive option and deploy. The application gets deployed but i the “Deployment Status” block remains blank. No status is updated.

    Now, when i go to deploy dir. The exploded EAR is there. But with some anomalies like i have

    CustomerEJB.jar.myeclipse.bak in addition to CustomerEJB.jar
    myapp.war.myeclipse.bak in addition to myapp.war

    What’s wrong here?

    #208659 Reply

    Riyad Kalla
    Member

    Navjot,
    When you deploy an application that has already been deployed, MyEclipse will ask you if you wish to remove the existing deployment or back it up. The default behavior is to back it up (that is what is happening).

    Also, after you deploy, you need to click on your project again in the deployment window to see the deployment status. Usually something like “Successful” if no errors were encountered.

    #208663 Reply

    navis
    Member

    thz a lot. How can i change this backup behaviour?

    Besides, if you say this is the backup behaviour then why the backup directories are being created only for some directories and not for all? Any help.

    TIA

    #208667 Reply

    Riyad Kalla
    Member

    thz a lot. How can i change this backup behaviour?

    When you open the deployment tool, remove the deployment you have setup for your project. Then go into that directory and remove the BAK files. Now add the deployment back again. If you are not prompted about ‘backing up’ or ‘overwriting’ then you should be all set. Its when you go to Add a new deployment, that the deployment tool checks for an existing deployment and prompts you. I have attached a screenshot:

    Besides, if you say this is the backup behaviour then why the backup directories are being created only for some directories and not for all? Any help.

    I don’t know exactly.

    #208682 Reply

    navis
    Member

    Thx for a quick reply. But when i deploy, in “New Deployment ” screen, backup options are not coming. Never mind, let me try again.

    Ok, i cleaned my deploy DIR. Now i deploy fresh. Hmm…..

    Have a look at my directories that are created when i deploy
    06/17/2004 08:05p <DIR> .myeclipse
    06/17/2004 08:05p <DIR> .settings
    06/17/2004 08:05p <DIR> CustomerEJB.jar
    06/17/2004 08:05p <DIR> CustomerEJB.jar.myeclipse.bak
    06/17/2004 08:05p <DIR> MailerMDB.jar
    06/17/2004 08:05p <DIR> META-INF
    06/17/2004 08:05p <DIR> OrderEJB.jar
    06/17/2004 08:05p <DIR> ProductEJB.jar
    06/17/2004 08:05p <DIR> ProductEJB.jar.myeclipse.bak
    06/17/2004 08:05p <DIR> ShopWeb.war
    06/17/2004 08:05p <DIR> ShopWeb.war.myeclipse.bak

    notice that i have .bak files only for some directories.

    and this behaviour is NOT RANDOM. I tried 2-3 times. .bak files are being generated for ONLY those directories as shown above. Seems funny. Not hindering my work but would like it if you can take a look at this anomaly.

    #208687 Reply

    Riyad Kalla
    Member

    That is strange, let me ask the devs about this.

    #208688 Reply

    Scott Anderson
    Participant

    Thanks for reporting this. I’ve opened a problem report for investigation so we can get it fixed for the next beta.

    #209882 Reply

    Riyad Kalla
    Member

    Fixed in 3.8Beta2.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: EAR deployment problem [Closed]

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