[EMAIL PROTECTED] wrote:
> Now my previously saved information/bookmarks are saved in the database
> folder in webapps/longwell-2.4.1/WEB-INF/.../database
> I found if I simply copy this database folder to
> webapps/longwell-2.4.2/WEB-INF/.../database. The previous bookmarks/tags
> do not show up in the new version (longwell-2.4.2).

Is this the only deficiency?  That is, the tag pane is missing on the 
left, and the labels of tags are missing when you browse the data?

I vaguely recall running into this while writing the SemBank upgrade 
tool; I remember compensating for it by simulating the re-upload of all 
the data.  Actually, it might be an internal issue; the loading of tag 
labels is determined here in TagModel.java:

if (m_dir.exists() && !lockFile.exists())
  ...
else
  ...

which doesn't appear to cover the case of if(m_dir.exists() && 
lockFile.exists()) specifically - it instead treats this situation the 
same as if (!m_dir.exists()).  Which, looking at the code, still 
shouldn't be an issue.  But if there's a 'lock-file' file in 
database/system/tags, try removing it and seeing if things load 
properly.  (If that works and you're running the Semantic Bank 
configuration, you'll have to remove all tags/lock-file instances in the 
individual accounts as well).

> Both apps are on the same server but different folders. I orignally
> intended to do an upgrade instead of keeping both versions running but I
> am afraid the new version will overwrite the previously saved data. Please
> let me know if there is a better way to upgrade.

I don't know how you were picturing doing an upgrade.  Unless you were 
using Subversion to manage the application's version, you'd shift your 
database directory around.  Backups are always a good idea, even if I 
proceed to tell you our application isn't designed to delete data 
without being told to do so.

-- 
Ryan Lee                  [EMAIL PROTECTED]
MIT CSAIL Research Staff
http://simile.mit.edu/
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to