Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

One big problem...

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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
  • 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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic