Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Redeploy .war in sun AS 8.1 without deleting existing files

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Netbeans 4.1 which is integrated with sun application server 8.1

I want to find out the strategy for redeploying the web application in the sun application server without deleting the existing files in the server.

The web application allows users to upload some image files through the browser. The uploaded images are stored under a directory called "userimages" parellel to WEB-INF.

The problem is that everytime I redeploy the project in the server, it deletes the existing files in the server and creates new files from the .war. I loose all the files that are uploaded by the users.
I would like to know what steps I should follow to retain the files in the server while redeploying.

Thanks a lot.
 
What's brown and sticky? ... a stick. Or a tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic