You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up a development instance fails, either due to a DB connection issue or due to an allegedly missing configuration file.
Steps to reproduce
I have followed the setup instructions to spin up a local development instance, but the last step mvn clean install always fails. When I am root, it fails with the following message:
Connection refused
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30:43 min
[INFO] Finished at: 2021-02-13T00:49:27+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.2.2.Final:deploy (default) on project authoring-server: Failed to execute goal deploy.: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://localhost:9110. The connection failed: Connection refused -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[1]+ Exit 137 yarn run dev (wd: ~/oli/sources/authoring-client)
(wd now: ~/oli/sources/authoring-server)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:13 min
[INFO] Finished at: 2021-02-13T03:47:54+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.2.2.Final:deploy (default) on project authoring-server: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"content-service.war\".undertow-deployment" => "java.lang.RuntimeException: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: /oli/service_config/content-service-conf.json (No such file or directory)
[ERROR] Caused by: java.lang.RuntimeException: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: /oli/service_config/content-service-conf.json (No such file or directory)
[ERROR] Caused by: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: /oli/service_config/content-service-conf.json (No such file or directory)
[ERROR] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: /oli/service_config/content-service-conf.json (No such file or directory)
[ERROR] Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /oli/service_config/content-service-conf.json (No such file or directory)
[ERROR] Caused by: java.io.FileNotFoundException: /oli/service_config/content-service-conf.json (No such file or directory)"}}}}
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I have adjusted...
content-service-conf.json from the template as well as
...to use my domain and replaced those xxxxxxx inside the dataset_db string with values from MYSQL_USER and MYSQL_PASSWORD. What might be missing? The file ~/oli/service_config/content-service-conf.json exists with a chmod setting of 777.
Software information
OS: Ubuntu 20.04.1
Node.js: v14.15.5
yarn: v1.22.10
The text was updated successfully, but these errors were encountered:
Summary
Setting up a development instance fails, either due to a DB connection issue or due to an allegedly missing configuration file.
Steps to reproduce
I have followed the setup instructions to spin up a local development instance, but the last step
mvn clean install
always fails. When I amroot
, it fails with the following message:Connection refused
Otherwise it fails with the following error:
FileNotFoundException: /oli/service_config/content-service-conf.json
I have adjusted...
content-service-conf.json
from the template as well asservice.envs
from the template...to use my domain and replaced those
xxxxxxx
inside thedataset_db
string with values fromMYSQL_USER
andMYSQL_PASSWORD
. What might be missing? The file~/oli/service_config/content-service-conf.json
exists with achmod
setting of777
.Software information
The text was updated successfully, but these errors were encountered: