Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load deployment.toml from host #308

Open
carlosruiz005 opened this issue May 16, 2020 · 0 comments
Open

Can't load deployment.toml from host #308

carlosruiz005 opened this issue May 16, 2020 · 0 comments

Comments

@carlosruiz005
Copy link

Description:
I'm trying to load configuration file following the instructions from dockerhub: https://hub.docker.com/r/wso2/wso2am I made this line to run the container:

docker run -it -p 8280:8280 -p 8243:8243 -p 9443:9443 -p 9444:9444 --volume /home/deployment.toml:/home/wso2carbon/wso2am-3.1.0/repository/conf/deployment.toml --name api-manager wso2/wso2am:3.1.0

The container start running but not take the deployment file from host. This is the message from container:

JAVA_HOME environment variable is set to /opt/java/openjdk
CARBON_HOME environment variable is set to /home/wso2carbon/wso2am-3.1.0
Using Java memory options: -Xms256m -Xmx1024m
[2020-05-16 22:16:28,563] WARN {org.wso2.config.mapper.ConfigParser} - deployment.toml not found at /home/wso2carbon/wso2am-3.1.0/repository/conf/deployment.toml

The container said that the file can't be found but I can take that file from that path. Is the file that is in home.

Permission of the deployment.toml from host:

-rwxrwxrwx. 1 root root 7425 may 9 18:15 deployment.toml

Affected Product Version:
WSO2AM-3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant