• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Ghost data, after deleting and recreating database with defa

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This happens because you deleted the messages / topics / forums by hand. JForum does a lot of cache, so this explains the need for restarting tomcat. If you were deleting the messages / forums using the Administration / Moderatio interface, this will not happen.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am testing the forum running on my computer. The specs are JForum Rc4 with Tomcat 4.1 (stable ver.), Connection/J 3.0 (stable ver.).

Step 1
First, I populated the forum with categories/topics/posts/users.

Step 2
Secondly, I delete and recreate the forum database, and populate with default values.

Step 3
Then I point my browser to http://localhost:8080/jforum again, but I see categories/topics/users that should not be there as I have already deleted them at step 2. Clearing cookies and closing/reopening browser didn't help. If I click on them, there will be error messages.

After doing some testing, I found that the only way is to restart Tomcat.

I don't expect a need to delete and recreate the database after deployment. Just asking if there is a way to solve this problem?

Sorry, I am doing lots of testing now.

Thanks and Regards,
James Yong




[originally posted on jforum.net by Anonymous]
 
Or we might never have existed at all. Freaky. So we should cherish everything. Even this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic