openedge连接问题的java插件

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

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

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
jvm 1    | 2020.08.13 20:48:26 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
jvm 1    | 2020.08.13 20:48:26 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
jvm 1    | 2020.08.13 20:48:26 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
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
jvm 1    | java.io.IOException: Une connexion existante a d¹ Ûtre fermÚe par lÆh¶te distant

这是我的课堂对话:

public class ConnectionAppServer  {
      OpenProcObject opo=null;   
      OpenAppObject oao=null;
    public   OpenProcObject connection(String ruleProc) {
      try {
    this.oao = 
 OpenEdgeAPSConnector.getOpenAppObjectInstance("AppServerDC://localhost:3090");
      } catch (Open4GLException | IOException | InterruptedException e2) {
        // TODO Auto-generated catch block
        System.out.println("erreur de connection");
      }
      try {
        this.opo = oao.createPO(ruleProc);
      } catch (Open4GLException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      } 
      return this.opo;

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

暂无答案!

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

相关问题