• 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
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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]
 
I want my playground back. Here, I'll give you this tiny ad for it:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic