openedge连接问题的java插件

fdbelqdn  于 2021-07-12  发布在  Java
关注(0)|答案(0)|浏览(271)

最近我为openedge开发了一个sonaraqube插件:我随着语言的进步编写了规则 4gl 然后我引用了 java 从中使用appserver openedge 当我做一个本地测试的时候它就起作用了( java )但是当我把插件安装到 sonarqube 出现错误

  1. jvm 1 | 2020.08.13 20:48:25 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [C:\sonarqube-7.3]: C:\Program Files\Java\jdk1.8.0_261\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\sonarqube-7.3\temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*;C:\sonarqube-7.3\lib\jdbc\h2\h2-1.3.176.jar org.sonar.server.app.WebServer C:\sonarqube-7.3\temp\sq-process2497102236075814669properties
  2. jvm 1 | 2020.08.13 20:48:26 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
  3. jvm 1 | 2020.08.13 20:48:26 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
  4. jvm 1 | 2020.08.13 20:48:26 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
  5. jvm 1 | 2020.08.13 20:48:26 WARN app[][o.e.t.n.Netty4Transport] exception caught on transport layer [[id: 0x066f5f28, L:/127.0.0.1:53117 - R:/127.0.0.1:9009]], closing connection
  6. jvm 1 | java.io.IOException: Une connexion existante a d¹ Ûtre fermÚe par lÆh¶te distant

这是我的课堂对话:

  1. public class ConnectionAppServer {
  2. OpenProcObject opo=null;
  3. OpenAppObject oao=null;
  4. public OpenProcObject connection(String ruleProc) {
  5. try {
  6. this.oao =
  7. OpenEdgeAPSConnector.getOpenAppObjectInstance("AppServerDC://localhost:3090");
  8. } catch (Open4GLException | IOException | InterruptedException e2) {
  9. // TODO Auto-generated catch block
  10. System.out.println("erreur de connection");
  11. }
  12. try {
  13. this.opo = oao.createPO(ruleProc);
  14. } catch (Open4GLException e) {
  15. // TODO Auto-generated catch block
  16. e.printStackTrace();
  17. }
  18. return this.opo;

有人知道为什么会这样吗?我被封锁,因为这周请帮助。我开始这么想 sonarqube 不接受插件内的连接:(

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题