You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "mayunSaicmotor (via GitHub)" <gi...@apache.org> on 2023/12/22 14:18:33 UTC
[I] urgent help request: how to add more vm configurations for the java plugin [apisix-java-plugin-runner]
mayunSaicmotor opened a new issue, #283:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/283
### Description
Dear,
I want to add more vm configuration(--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED) for the cmd, but does not work.
ext-plugin:
cmd: ['java', '-jar', '-Xmx4g', '-Xms4g', '/path/to/apisix-runner-bin/apisix-java-plugin-runner.jar']
I tried the 2 ways , both don't work. Is there anyway to add vm configurations?
cmd: ['/jdk17/bin/java', '--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED', '-jar', '-Xmx1g', '-Xms1g', '/path/to/dubbo-plugin-0.0.1-SNAPSHOT.jar'] # d
cmd: ['/jdk17/bin/java', '--add-opens java.base/java.lang=ALL-UNNAMED', '--add-opens java.base/java.math=ALL-UNNAMED', '--add-opens java.base/java.util=ALL-UNNAMED', '--add-opens java.base/java.lang.reflect=ALL-UNNAMED', '-jar', '-Xmx1g', '-Xms1g', '/path/to/dubbo-plugin-0.0.1-SNAPSHOT.jar']
[https://private-user-images.githubusercontent.com/22955377/291552469-cf714350-5ba6-4989-bebf-eb7845b1a4c5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDMwNzU4MzAsIm5iZiI6MTcwMzA3NTUzMCwicGF0aCI6Ii8yMjk1NTM3Ny8yOTE1NTI0NjktY2Y3MTQzNTAtNWJhNi00OTg5LWJlYmYtZWI3ODQ1YjFhNGM1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjIwVDEyMzIxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjMTEwNmFkZTZhMDJhMjBlNjJlZTAwMDZhOGIzMGZlNzdkYjkwYTJkODlhNTI0ZDczMDJlMzVmZDliYzEyODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FPbjACFIUFX6up9dWiM2v3A0vHvGicwC0h0x45C7u-g](url)
### Environment
- APISIX version (run `apisix version`):0.4.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org