This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

One big problem...

 
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]
 
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic