You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/19 05:01:14 UTC

[GitHub] [apisix-java-plugin-runner] kamyam opened a new issue, #223: request help:

kamyam opened a new issue, #223:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/223

   ### Issue description
   为什么使用启动不起来,容量里明明有这个jar包
   ext-plugin:
     cmd: ["java", "-jar","-Xmx1g", "-Xms1g", "/usr/local/apisix/apisix-runner/yhd-java-apisix-runner-1.0.0-SNAPSHOT.jar"]
   
   
   2022/12/19 04:59:29 [warn] 46#46: *15292 [lua] init.lua:386: flush_token(): flush conf token in shared dict, context: ngx.timer
   2022/12/19 04:59:29 [warn] 46#46: *15292 [lua] init.lua:860: flush conf token lrucache, context: ngx.timer
   2022/12/19 04:59:32 [warn] 49#49: *49 [lua] init.lua:973: respawning new runner..., context: ngx.timer
   2022/12/19 04:59:32 [error] 49#320: lua pipe child execvp() failed while executing java (2: No such file or directory)
   2022/12/19 04:59:32 [warn] 49#49: *49 [lua] init.lua:961: runner exited with reason: exit, status: 1, context: ngx.timer
   2022/12/19 04:59:32 [warn] 49#49: *49 [lua] init.lua:386: flush_token(): flush conf token in shared dict, context: ngx.timer
   2022/12/19 04:59:32 [warn] 49#49: *49 [lua] init.lua:860: flush conf token lrucache, context: ngx.timer
   2022/12/19 04:59:32 [warn] 49#49: *49 [lua] init.lua:971: respawn runner 3 seconds later with cmd: ["java","-jar","-Xmx1g","-Xms1g","\/usr\/local\/apisix\/apisix-runner\/yhd-java-apisix-runner-1.0.0-SNAPSHOT.jar"], context: ngx.timer
   
   
   
   
   ### Environment
   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


[GitHub] [apisix-java-plugin-runner] kamyam closed issue #223: request help: 引入java插件之后,启动不了

Posted by GitBox <gi...@apache.org>.
kamyam closed issue #223: request help: 引入java插件之后,启动不了
URL: https://github.com/apache/apisix-java-plugin-runner/issues/223


-- 
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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-java-plugin-runner] kamyam commented on issue #223: request help: 引入java插件之后,启动不了

Posted by GitBox <gi...@apache.org>.
kamyam commented on issue #223:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/223#issuecomment-1357133693

   java路径需要完整的
   
   ext-plugin:
     cmd: ['/usr/local/jdk-11.0.17/bin/java', '-jar', '-Xmx1g', '-Xms1g', '/usr/local/apisix/apisix-runner/yhd-java-apisix-runner-1.0.0-SNAPSHOT.jar']
   


-- 
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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org