This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

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]
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!