Resolved: Trying to install crowd, start_crowd.sh: 12: [: unexpected operator Edited

Hi,
I am trying to install Crowd, on Ubuntu 16.04 (64bit) and my MYSQL 5.7 (Uptodate).
I changed crowd-init.properties to existing crowd home folder (Not install path).
when I run ./start_crowd.sh i get:
(and Tomcat is not running)

Apparently to be bash issue!

If I run :~/atlassian-crowd-3.0.1# ./build.sh
Buildfile: build.xml

init:

assistant:
Changing Tomcat's connector port to 8095

BUILD FAILED
java.lang.IllegalAccessError: class com.oopsconsultancy.xmltask.jdk15.XPathAnalyser15 (in unnamed module @0x1188e820) cannot access class com.sun.org.apache.xpath.internal.XPathAPI (in module java.xml) because module java.xml does not export com.sun.org.apache.xpath.internal to unnamed module @0x1188e820

Please advise.

 

 

3 answers

This widget could not be displayed.

Solution:

1. Install Oracle JDK (not Openjdk)

2. run ./build.sh

3. start it: /bin/bash start_crowd.sh

This widget could not be displayed.
Ann Worley Atlassian Team Oct 18, 2017

 

I recommend that you delete the contents of the Crowd home directory and then start over with the steps in Installing Crowd and CrowdID

OpenJDK 1.8 is a supported platform for Crowd: Supported Platforms

The Crowd startup script (start_crowd.sh) is located in the root of the Crowd install dir.

This widget could not be displayed.

There is no error in the start_crowd.sh file.

  • Kill the running tomcat process.
  • The `sh` does not have extensive syntax. Use `bash` command to run your script and everything will be okay.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 27, 2018 in Crowd

The Crowd team is looking for feedback on Server & Data Center customers' identity strategies!

Do you own more than one Server or Data Center product? Do you have challenges provisioning users across your Atlassian products? Are you spending a lot of time integrating each Atlassian product wit...

1,462 views 6 14
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you