wso2 / wso2/docker-ei

Can't run micro integrator from master > FATAL Error While performing config changes

Open
#175 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type/Question
Dominant language
Dockerfile
Stars
70
Forks
96
Avg merge
7d 19h
Merged PRs (30d)
1

Description

Description:
I can't run the micro integration with the image built from master branch.

% pwd
˜/git/docker-ei/dockerfiles/alpine/micro-integrator

$ docker build -t wso2mi:1.1.0 .

$ docker run -p 8253:8253 -p 8290:8290 wso2mi:1.1.0

Error obtained:

FATAL {org.wso2.micro.integrator.server.Main} - Error while performing configuration changes
org.wso2.config.mapper.ConfigParserException: Error while creating new directory /home/wso2carbon/wso2mi-1.1.0/backup/conf/passthru-http.properties
at org.wso2.config.mapper.util.FileUtils.writeFile(FileUtils.java:74) ~[config-mapper-1.0.3.jar:1.0.3]
at org.wso2.config.mapper.util.FileUtils.writeDirectory(FileUtils.java:101) ~[config-mapper-1.0.3.jar:1.0.3]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce from dockerfiles/alpine/micro-integrator by building wso2mi:1.1.0 and running it with ports 8253 and 8290 exposed. Start with the config-mapper FileUtils.writeFile/writeDirectory stack trace and the failure creating backup/conf/passthru-http.properties; done means the container starts without the fatal configuration-change error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.