• 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

Topics are sometimes invisible until cache is cleared

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running 2.1.6 with the included HSQLDB. Sometimes new topics does'nt appear until I restart jforum or clear the topic cache.

I found that I can repeat the problem by editing an existing post and change it from announce to sticky. That makes the topic disappear, if I change it back to announce it appears again. Clearing its associated cache also makes it appear again.

Is there a way to disable the topic cache?

Thanks
[originally posted on jforum.net by psandboge]
 
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
Registered as a bug: http://www.jforum.net/jira/browse/JF-506

You can disable cache by setting the key "topic.cache.enabled" to "false" at SystemGlobals.properties / jforum-custom.conf

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
Disabling the cache helped.
Many thanks

[originally posted on jforum.net by psandboge]
 
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
We are experiencing same kind of problems even after disabling all caches. I have changed all cache flags to false in my systemglobal.properties:

posts.cache.enabled = false
topic.cache.enabled = false
security.cache.enabled = false
forum.cache.enabled = false


BTW, we are using jforum 2.1.6.

At times we get 'The topic you are trying to see does not exist', but if I restart my server and login I see that topic. Any ideas?
[originally posted on jforum.net by jforumboy]
 
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
These bugs were fixed. You can try the beta of JForum 2.1.7. Get it at http://www.jforum.net/beta/latest_dev.jsp

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
I had this problem, and just found this topic while looking for a solution.

While looking through the systemglobal properties file, I realized that I hadn't given the server process write access to the cache directory. Fixing this seems to have sorted the problem
[originally posted on jforum.net by krogers]
 
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

Rafael Steil wrote:These bugs were fixed. You can try the beta of JForum 2.1.7. Get it at http://www.jforum.net/beta/latest_dev.jsp

Rafael



can you post the changes....
[originally posted on jforum.net by brunogm]
 
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
When the final version is out, yes.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
If you want to look young and thin, hang around old, fat people. Or this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic