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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

One big problem...

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When i put new topics in jforum_bd out of normal jforum post page (in one external page out of jforum), i must to restart server to see this post put in jforum_bd, else, if i not restart server, this post is not appear, and, if i agree one post with normal jforum post page, i see this post without problem.

What i can do to fix this problem?, thank you.
[originally posted on jforum.net by MiLLeN]
 
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
For performance reasons jForum cache's a lot of commonly access information in memory. If you add things to the DB outside of jForum, this cache is not updated.

Restarting jForum is the simplest and most reliable method of updating the cache.

However, there are several "clear cache" admin options that you can try to see if they fix this. But some of the cache objects don't get updated so this might not work.

IMHO, the best way to add stuff into the database is via jForum itself. It's not that hard to use the org.apache.HTTPClient classes to programatically post things. This keep the cache happy.
[originally posted on jforum.net by monroe]
 
reply
    Bookmark Topic Watch Topic
  • New Topic