koala和drools-guvnor之间的关系问题

发布于 2021-11-20 17:33:43 字数 7832 浏览 804 评论 0

从jboss官网下的drools-guvnor,jbpmn-designer

在jbpmn-designer war/profile下面有个jbpm.xml最下面有,有关外部guvnor的配置:如

<plugin name="ORYX.Plugins.LocalHistory"/>
        <externalloadurl protocol="http" host="localhost:8080"
                         subdomain="drools-guvnor/org.drools.guvnor.Guvnor/oryxeditor" usr="admin" pwd="admin"/>
        <localhostory enabled="true" timeout="60000"/>


koala集成drools-guvnor是为了什么呢》jbpm-designer已经提供了保存,保存为pdf json png jbpm2  等格式的功能。koala直接集成jbpm-designer是不是也可以呢。




还有,我在drools-guvnor和jbpm-designer集成之后出现了问题:新建jbpm流程,这时候编辑器能打开,编辑完毕,保存。但是第二次打开的时候新建的那个流程内容是空的。为何啊。

这个现象同koala集成drools-guvnor和jbpm-designer后,可以编辑流程,但是不能保存,第二次打开还是空的。应该时同样的问题。  请问可以解答吗?



这是新建流程,编辑流程,保存中出现的部分日志:

 

INFO  19-01 15:42:43,738 (LoggingHelper.java:info:49)      USER:admin CHECKING IN asset: [testprocess] UUID: [1f89fdb8-a7c2-48cc-921c-242ca047fbc4]
ERROR 19-01 15:42:43,748 (LoggingHelper.java:error:74)      Connection refused
java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
    at java.net.Socket.connect(Socket.java:579)
    at java.net.Socket.connect(Socket.java:528)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
    at sun.net.www.http.HttpClient.New(HttpClient.java:290)
    at sun.net.www.http.HttpClient.New(HttpClient.java:306)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
    at org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.serialize(BPMN2ProcessHandler.java:185)
    at org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:155)
    at org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:184)
    at org.drools.guvnor.server.RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.java)
    at org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:157)
    at org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetService$Proxy$_$$_WeldClientProxy.java)
    at org.drools.guvnor.server.AssetServiceServlet.checkinVersion(AssetServiceServlet.java:220)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
Jan 19, 2014 3:42:44 PM org.jbpm.designer.server.EditorHandler doGet
INFO: Performing diagram information pre-processing steps.
Jan 19, 2014 3:42:44 PM org.jbpm.designer.server.EditorHandler doGet
INFO: Performing diagram information pre-processing steps.
INFO  19-01 15:42:44,077 (SecurityServiceImpl.java:login:72)      Logging in user [admin]
INFO  19-01 15:42:44,078 (DemoAuthenticator.java:authenticate:65)      Demo login for user (admin) succeeded.
=============== session-admin-1889
Jan 19, 2014 3:42:46 PM org.jbpm.designer.web.server.ThemeServlet getThemeNames
INFO: check connection response code: 200
INFO  19-01 15:42:46,802 (SecurityServiceImpl.java:login:72)      Logging in user [admin]
INFO  19-01 15:42:46,802 (DemoAuthenticator.java:authenticate:65)      Demo login for user (admin) succeeded.
=============== session-admin-1976
=============== session-admin-1976
=============== session-admin-1976
=============== session-admin-1978
=============== session-admin-1980

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文