facebook

MS Access Database Keeps Disappearing after Deployment!

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #282120 Reply

    grungefreak1
    Member

    Hi,

    I am running myEclipse workbench 5.0 and Tomcat 4.

    I am developing a small app. that uses a MS Access database. I place the DB in the directory that my compiled servlet files are which is fine. But each time i “redeploy” the app, I check and my DB is not there anymore.

    There is one thing that may help with this. On myfirst redeployment, there were radio buttons and it asked me to choose e.g. backup redeployments, overwrite redeployments. (Something similar to that anyway). I chose “Backup Redeployments” which was unnecessary, could that be stealing my DB for the backup or something? It’s weird coz I set this up on another pc and it works fine.

    So does anybody know what is happening my database?

    Many thanks in advance.

    GF

    #282125

    Loyal Water
    Member

    GF,
    What app are your deploying and which folder are you placing the DB in ?

    #282128

    grungefreak1
    Member

    @support-nipun wrote:

    GF,
    What app are your deploying and which folder are you placing the DB in ?

    I placed the MSAccess DB in the same directory of Tomcat that servlets go i.e. the package within my web app that my servlets go.

    The application itself is simply a web form that inserts into the database.

    Any ideas?

    GF

    #282209

    Loyal Water
    Member

    GF,
    I guess servlets get recomplied and replaced in that directory thats why the complete directory is getting deletd and recreated. Thats the reason why you DB is being deleted as well. Cant you place it at another location ? Or, you can prevent the scrubbing of your output folder while building. But that will not update the servlets.

    #282228

    grungefreak1
    Member

    @support-nipun wrote:

    GF,
    I guess servlets get recomplied and replaced in that directory thats why the complete directory is getting deletd and recreated. Thats the reason why you DB is being deleted as well. Cant you place it at another location ? Or, you can prevent the scrubbing of your output folder while building. But that will not update the servlets.

    Ok,
    That makes sense, I will try that. The only thing is, on my home PC I use tomcat 6 and this doesn’t happen. It only seems to happen using Tomcat 4 in work.

    GF

    #282260

    Loyal Water
    Member

    Your using the same version of MyEclipse ? Do you have the same set of settings under Preferences ?

    #282262

    grungefreak1
    Member

    @support-nipun wrote:

    Your using the same version of MyEclipse ? Do you have the same set of settings under Preferences ?

    I am actually using different versions of myEclipse so the settings are different. I tried your suggestion anyhow and it worked so thanks a million for that. I simply moved the database to another location and it worked.

    Thanks again.

    GF

    #282268

    Loyal Water
    Member

    Your Welcome.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: MS Access Database Keeps Disappearing after Deployment!

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