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

standalone mode java opts -Dnacos.standalone=true not work #1260

Closed
pnboot opened this issue May 24, 2019 · 2 comments
Closed

standalone mode java opts -Dnacos.standalone=true not work #1260

pnboot opened this issue May 24, 2019 · 2 comments

Comments

@pnboot
Copy link
Contributor

pnboot commented May 24, 2019

Issue Description

bug report

Describe what happened (or what feature you want)

standalone mode java opts -Dnacos.standalone=true not work

Describe what you expected to happen

a problem maybe in this code. i will fix it.
https://github.com/alibaba/nacos/blob/develop/core/src/main/java/com/alibaba/nacos/core/utils/SystemUtils.java

public static boolean STANDALONE_MODE = Boolean.getBoolean(STANDALONE_MODE_PROPERTY_NAME);

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

nkorange added a commit that referenced this issue Jun 4, 2019
@nkorange
Copy link
Collaborator

nkorange commented Jun 6, 2019

I think the original code is correct. So did you really encounter this error?

@pnboot
Copy link
Contributor Author

pnboot commented Jun 17, 2019

I think the original code is correct. So did you really encounter this error?

image

sorry , set VM options , not Environment variables

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

2 participants