问题描述
最近我为openge开发了sonaraqube插件:
我使用语言进度java
编写了规则,然后使用openedge
的appserver从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
有人知道为什么会这样吗?
数周以来,我一直受阻,请提供帮助。
我开始认为price
不接受插件内的连接:(
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)