I would really hate the fact if orion/applications/myapp was swiped on the next deployment, since my htdocs are mounted under that directory. And we have customers who uses fileupload for images that are to be displayed. And if the directory is to be swiped everytime we update the application, all images would be lost every time and we would have to move the images to the database instead, which is slower.
 
Johan
----- Original Message -----
Sent: Monday, July 09, 2001 12:35 AM
Subject: Properties survice auto-deploy

I use a frontservlet.properties file in my web-inf directory which is picked
up by my front servlet (naturally). While testing the servlet, I renamed the
file to backServlet.properties, just to exercise the diagnostic code. To my
great surprise it made not difference: the servlet continued to find a file
called frontservlet.properties.

Digging deeper revealed that both frontServlet.properties and
backServlet.properties were present in  orion/applications/myapp. It seems
that when I auto-deployed my myapp.ear into applications/, the orignal file,
frontservlet.properties was not replaced, and the new file
backservlet.properties was added alongside it.

I deleted the old file to get my test over with, but does anybody know why
auto-deploy of myapp.ear does not discard everythng that was in
orion/applications/myapp ?

TIA Bill.

Reply via email to