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

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]
 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic