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

SystemGlobals.properties vs Admin Config?

 
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 am getting ready to test a deployment with jforum to another machine..and I was expecting I could just override property values in SystemGlobal.properites such as:

forum.link
homepage.link
etc..

but when I fire up jforum, these values appear to be ignored.

When I login as admin, as see the values are different..if I change the values in the admin config they take hold..but the systemGobals.properties does not reflect the change..

am I missing something?
without looking at the source..I'm betting the admin console is most likely writing these into the database..further I'm betting that if the DB contains these configs..it uses whats in the db vs the properties file?


For my deployment process of jforum, I was intending to (first time deployment):
Install new JForum war (from download)
run install via webserver. (to get the db built).
replace the config files, and some templates, etc..

is there a better way?


[originally posted on jforum.net by dano]
 
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 it comes to configuration it's two layered. First, jforum will check if the entry is in jforum-custom.properties. That's where all your modifications on the admin panel are stored to ;)

If there's no matching entry there, it will check in the systemglobals.


[originally posted on jforum.net by Sid]
 
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
ahh, thank you much
[originally posted on jforum.net by dano]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic