- This topic has 7 replies, 3 voices, and was last updated 20 years, 4 months ago by Riyad Kalla.
-
AuthorPosts
-
navisMemberhi,
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.warWhat’s wrong here?
Riyad KallaMemberNavjot,
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.
navisMemberthz 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
Riyad KallaMemberthz 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.
navisMemberThx 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.baknotice 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.
Riyad KallaMemberThat is strange, let me ask the devs about this.
Scott AndersonParticipantThanks for reporting this. I’ve opened a problem report for investigation so we can get it fixed for the next beta.
Riyad KallaMemberFixed in 3.8Beta2.
-
AuthorPosts