caojianfei commented on issue #146:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/146#issuecomment-1620032841

   > > > "['java', '-jar', '-DAPISIX_LISTEN_ADDRESS=unix:/tmp/runner.sock', 
'-DAPISIX_CONF_EXPIRE_TIME=3600', '-Xmx4g', '-Xms4g', 
'/usr/local/apisix-runner-bin/apisix-java-plugin-runner.jar']"
   > > 
   > > 
   > > in run model, no need to set it up like this.
   > > From your description of the reproduction steps, I was unable to 
reproduce them.
   > > I think you can check if the `.sock` file exists under `apisix/conf/`.
   > > In run mode, APISIX will generate the sock file under `apisix/conf/` and 
pass the address to the java runner.
   > 
   > Thanks! The problem is solved, jdk is the decompressed version, you need 
to specify the full path of java.
   > 
   > Modify it to the following configuration:
   > 
   > ext-plugin: cmd: ['/home/jdk11/java', '-jar', '-Xmx4g', '-Xms4g', 
'/home/apisix-java-plugin-runner.jar']
   
   我跟你有同样的问题?当时我用完整的java路径还是报同样的错误,你是在修改了java执行路径之后就解决问题了吗?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to