Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Crowd Home path as an Environment Variable on Windows 64-bit

Can anyone tell me how to set the Crowd Home path as an Enviornment Variable on Windows 64-bit? It is the actual var name that Crowd expects that is unknown. There doesn't seem to be docs to setup an Environment Variable for Windows, although a comment in the actual crowd-init.properties suggests it can be done as an alternative.

2 answers

1 accepted

0 votes
Answer accepted

The variable name is the same as on *nix systems, and the same as the variable in the tmp file: crowd.home

On my linux system, I was able to set this variable in the tomcat's bin/setenv.sh and have Crowd recognise it.

If you're running Tomcat as a service on Windows, you might find this StackOverflow question and answer useful.

By the way, you can also specify the crowd.home property as a servlet context parameter.

Finally, if you add the line
log4j.logger.com.atlassian.config=DEBUG
to the end of crowd-webapp/WEB-INF/classes/log4j.properties then you'll get some debug information in the log as Crowd tries to read the property from each location.

Thanks Caspar. I apologize for the time it has taken for me to revisit and test this out. I did get this working, but not as I expected.

So for Fisheye, you simply add as a System Environment Variable FISHEYE_INST with a path, just like JAVA_HOME. The comment in crowd-init.properties says that Crowd Home can be run as a system environment variable. So people, like me, are trying to use Crowd.Home as a system environment variable, and it isn't working. I tried CROWD_HOME too; didn't work.

The link to the Stack Overflow article is what helped me. I edited the registry and modified the Options key at: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\Tomcat<X>\Parameters\Java (for 64-bit)

Dcrowd.home=C:\PROGRA~1\Atlassian\APPLIC~1\Crowd

My Crowd Home path is really C:\Program Files\Atlassian\Application Data\Crowd. The registry entry worked. Now when I upgrade Crowd by unzipping and replacing the files in the install folder, this is one less customization I will have to make.

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

☕️ Monday coffee with Jexo: Weekly Atlassian news roundup | 21st June 2021

Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...

68 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you