aspose file tools*
The moose likes JForum and the fly likes One big problem... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "One big problem..." Watch "One big problem..." New topic
Author

One big problem...

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One big problem...