This week's book giveaway is in the Agile forum.
We're giving away four copies of Fixing your Scrum and have Ryan Ripley & Todd Miller on-line!
See this thread for details.
Win a copy of Fixing your Scrum this week in the Agile 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

ReDeploying War without re-installing forums

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys I'm trying to include the JForum software into the war that deploys my webapp. Is there anyway to deploy it without losing everything already in my instance of JForum (re-installing).

Is it just the systemGlobals properties file that I need to add into the war (after it's installed the first time) to keep from installing the forum again?

Brian
[originally posted on jforum.net by NingDynasty]
 
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
Actually, it's the jforum-custom.conf file that has all the install configuration stuff. Though it's probably a good idea to include all the stuff from the config directory since people sometimes tweak things there.

Also, you may need to think about the contents of the upload and images/avatar directories. These contain the attachments and avatar images your users may have uploaded.
[originally posted on jforum.net by monroe]
 
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
Is there any way to configure multiple JForum instances to share upload and image directories other than just mapping the folders to a shared drive?
[originally posted on jforum.net by msernatinger]
 
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
Not built in... you MIGHT be able to custom code this in.. but I'm not sure how you'd make this generic.

AFAIK, most applications that need to deal with lots of files either:

Take a big performance hit to store data in databases (and become tied to a much smaller set of DB's that support this well).

Or assume that the cluster application being used has a file syncing mechanism (I think Websphere and some others have this).

Or use some sort of shared file system.

Since all of the user uploaded files associated with jForum are write once, read many... it's not a bad choice to use a shared file system.
[originally posted on jforum.net by monroe]
 
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
Thanks for the bit on the entire config directory!

Now how can I change where jforum appears in my sites structure. I'd just like mysite.com/forum to point to the jforum installation.

There is tons of stuff on here about merging but I can't seem to find how to point it at a different default directory.

Thanks again.

Brian
[originally posted on jforum.net by NingDynasty]
 
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
Just change the name of the app context, presto changeo.
[originally posted on jforum.net by msernatinger]
 
I'm full of tinier men! And a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic