• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

SystemGlobals.properties vs Admin Config?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
ahh, thank you much
[originally posted on jforum.net by dano]
 
It was the best of times. It was the worst of times. It was a tiny ad.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic