Hi,
One of the changes that I was trying to make as mentioned below blindly, has
generated the dependent jar files. Same lines were added for cloud-api,
cloud-utils and cloud-framework-config for which it was throwing dependency
errors. Not sure which file's changes helped in generating.. since when I moved
the generated files and tried to generate it again with modified files one by
one, it didnt generate the jar files.
$HOME/apache-cloudstack-4.15.0.0-src/plugins/user-authenticators/ldap/pom.xml
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-server</artifactId>
<version>${project.version}</version>
</dependency>
$HOME/apache-cloudstack-4.15.0.0-src/deps/install-non-oss.sh
mvn install:install-file -Dfile=cloud-server.jar
-DgroupId=org.apache.cloudstack -DartifactId=cloud-server -Dversion=4.15.0.0
-Dpackaging=jar
/root/.m2/repository/org/apache/cloudstack/cloud-server/4.15.0.0
[root@centos8 4.15.0.0]# ls -lrt *.jar
total 3140
-rw-r--r--. 1 root root 3188078 May 29 06:56 cloud-server-4.15.0.0.jar
/root/.m2/repository/org/apache/cloudstack/cloud-api
/root/.m2/repository/org/apache/cloudstack/cloud-util
/root/.m2/repository/org/apache/cloudstack/cloud-framework-config
Now, the below error has come up and currently debugging it. Any pointers for
the same will be helpful.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.688 s <<<
FAILURE! - in org.apache.cloudstack.ldap.LdapUnitConnectionTest
testLdapInteface(org.apache.cloudstack.ldap.LdapUnitConnectionTest) Time
elapsed: 10.688 s <<< ERROR!
com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to
connect to server 35.186.238.101:11389:
IOException(LDAPException(resultCode=91 (connect error), errorMessage='Unable
to establish a connection to server /35.186.238.101:11389 within the configured
timeout of 10000 milliseconds.', ldapSDKVersion=4.0.14,
revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb))
Caused by: java.io.IOException: LDAPException(resultCode=91 (connect error),
errorMessage='Unable to establish a connection to server /35.186.238.101:11389
within the configured timeout of 10000 milliseconds.', ldapSDKVersion=4.0.14,
revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb)
Caused by: com.unboundid.ldap.sdk.LDAPException: Unable to establish a
connection to server /35.186.238.101:11389 within the configured timeout of
10000 milliseconds.
Thanks in advance,
Hema