Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Undeployed application

 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondrin if there is a way that I can recover my application directory when I clicked the undeploy link.

I was surprised when I saw the directory was gone, I have a backup but its a week ago... I had many changes.
Hope somebdy can explain where its gone when undeployed, thanks.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, unfortunately, it's gone.

Before starting over, you might want to consider exploring a revision control system like CVS or subversion.
 
Ram Dixit
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody :p

I have by mistake undeployed my web application from Apache Tomcat 5.5.
Now application folder has been deleted form server.

Is there any way to recover my application as I have app folder which is of 10 days before. I have lost all my 1o days effort.
Please someone help me.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read what Ben wrote - it can not be done.

Unless you have a Mac with Leopard OS - and the Time Machine enabled.
 
Ram Dixit
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rene,
But how could it possible.
If someone has by mistake undeployed a web appl.,
Then we java programmers don't have any way to recover it,
Quite strange,
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ram Dixit:
Thanks Rene,
But how could it possible.
If someone has by mistake undeployed a web appl.,
Then we java programmers don't have any way to recover it,
Quite strange,


I hope that a programmer don't program directly to a Application Servers webapp folder.

A developer/web-programmer have an IDE e.g. Eclipse, from where he/she build a web application (WAR, EAR, etc.), and when this 'package' is ready for deploy, it will be deployed to the Application Server of choice.
If somthing went wrong in the deploy or the application doesn't work, you can fix it and then redeploy.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On a production machine, the manager web app should be disabled. On a developer machine, there shouldn't be anything that can't be recreated from version control.

As Ben said, if you're not using a version control system for source code, you're making a big mistake. Using any kind of backup (which is not optional if what you do has any value at all) also helps.
 
Ram Dixit
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,
Rene and Ulf Dittmer,
I will show your posts to my team's PM and TL.
May be,they will now take precaution and will use Version Control System.
But the point is that I am not able to recover my lost files,
means a lot of rework.

That's why I posetd this topic on the forum.
It's really a setback for me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic