JBPM集群:jbpm-console.war未部署在第二个节点

时间:2017-09-19 08:20:34

标签: jboss cluster-computing jbpm

我正在尝试使用mysql构建一个jbpm6.5集群作为db。我正在使用 动物园管理员-3.4.10 螺旋芯0.6.8

我按照以下步骤创建设置

./ bin / helix-admin.sh --zkSvr localhost:2181,localhost:2182,localhost:2183 --addCluster jbpm-domain-cluster

/bin/helix-admin.sh --zkSvr localhost:2181,localhost:2182,localhost:2183 --addNode jbpm-domain-cluster server-one:12345

./ bin / helix-admin.sh --zkSvr localhost:2181,localhost:2182,localhost:2183 --addNode jbpm-domain-cluster server-two:12346

./ bin / helix-admin.sh --zkSvr localhost:2181,localhost:2182,localhost:2183 --addResource jbpm-domain-cluster vfs-repo-domain 1 LeaderStandby AUTO_REBALANCE

./ bin / run-helix-controller.sh --zkSvr localhost:2181,localhost:2182,localhost:2183 --cluster jbpm-domain-cluster 2>& 1> ./controller.log&

节点一开始 ./bin/standalone.sh -c standalone-full-ha.xml -b 10.14.24.161

node-two start ./bin/standalone.sh -Djboss.socket.binding.port-offset = 100 -c standalone-full.xml -b 10.14.24.161

我正在使用以下节点配置 节点一

    <system-properties>
    <property name="org.kie.demo" value="false"/>
    <property name="org.kie.example" value="false"/>
    <property name="org.kie.server.persistence.ds" value="java:jboss/datasources/jbpmDS"/>
    <property name="org.kie.server.persistence.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect"/>
    <property name="jboss.node.name" value="server-one"/>
    <property name="org.uberfire.nio.git.dir" value="/home/rupesh/jbpm6.5Cluster/clustering/server-one"/>
    <property name="org.uberfire.cluster.id" value="jbpm-domain-cluster"/>
    <property name="org.uberfire.cluster.zk" value="localhost:2181,localhost:2182,localhost:2183"/>
    <property name="org.uberfire.cluster.local.id" value="server-one_12345"/>
    <property name="org.uberfire.cluster.vfs.lock" value="vfs-repo-domain"/>
    <property name="org.uberfire.cluster.autostart" value="false"/>
    <property name="org.uberfire.nio.git.daemon.port" value="9418"/>
    <property name="org.uberfire.metadata.index.dir" value="/home/rupesh/jbpm6.5Cluster/clustering/server-one"/>
    <property name="org.uberfire.nio.git.ssh.cert.dir" value="/home/rupesh/jbpm6.5Cluster/clustering/server-one"/>
    <property name="org.quartz.properties" value="/home/rupesh/jbpm6.5Cluster/clustering/quartz/quartz-definition-mysql.properties"/>
</system-properties>

节点二

<system-properties>
    <property name="org.kie.demo" value="false"/>
    <property name="org.kie.example" value="false"/>
    <property name="jboss.node.name" value="server-two" />
    <property name="org.kie.server.persistence.ds" value="java:jboss/datasources/jbpmDS" />
    <property name="org.kie.server.persistence.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect" />
    <property name="org.uberfire.nio.git.dir" value="/home/rupesh/jbpm6.5Cluster/clustering/server-two"/>
    <property name="org.uberfire.cluster.id" value="jbpm-domain-cluster"/>
    <property name="org.uberfire.cluster.zk" value="localhost:2181,localhost:2182,localhost:2183"/>
    <property name="org.uberfire.cluster.local.id" value="server-two_12346"/>
    <property name="org.uberfire.cluster.vfs.lock" value="vfs-repo-domain" />
    <property name="org.uberfire.cluster.autostart" value="false"/>
    <property name="org.uberfire.nio.git.daemon.port" value="9419" />
    <property name="org.uberfire.metadata.index.dir" value="/home/rupesh/jbpm6.5Cluster/clustering/server-two" />
    <property name="org.uberfire.nio.git.ssh.cert.dir" value="/home/rupesh/jbpm6.5Cluster/clustering/server-two"/>
    <property name="org.quartz.properties" value="/home/rupesh/jbpm6.5Cluster/clustering/quartz/quartz-definition-mysql.properties" />
</system-properties>

节点1正常启动,但在启动第二个节点时它会卡住并且jbpm-console永远不会被部署。以下是在第二个节点中打印的最后一个日志

  

2017-09-19 13:31:16,649 INFO [org.apache.helix.messaging.handling.HelixTaskExecutor](ZkClient-EventThread-432-localhost:2181,localhost:2182,localhost:2183)删除NO-OP信息。 mid:7ffff8bb-6b3a-467d-a8c4-49140f1824a6,from:server-two_12346   2017-09-19 13:31:16,653 INFO [org.apache.helix.manager.zk.CallbackHandler](ZkClient-EventThread-432-localhost:2181,localhost:2182,localhost:2183)432 END:INVOKE / jbpm- domain-cluster / INSTANCES / server-two_12346 / MESSAGES listener:org.apache.helix.messaging.handling.HelixTaskExecutor Took:7ms   2017-09-19 13:31:16,653 WARN [org.apache.helix.manager.zk.CallbackHandler](MSC服务主题1-3)跳过处理器的回调:org.apache.helix.messaging.handling.HelixTaskExecutor @ 79bafb4f,路径:/ jbpm-domain-cluster / INSTANCES / server-two_12346 / MESSAGES,预期类型:[CALLBACK,FINALIZE]但是INIT   2017-09-19 13:31:16,653 INFO [org.apache.helix.manager.zk.ZKHelixManager](MSC服务线程1-3)init处理程序:/ jbpm-domain-cluster / INSTANCES / server-two_12346 / MESSAGES, org.apache.helix.messaging.handling.HelixTaskExecutor@79bafb4f   2017-09-19 13:31:16,657 INFO [org.apache.helix.manager.zk.CallbackHandler](ZkClient-EventThread-432-localhost:2181,localhost:2182,localhost:2183)432 START:INVOKE / jbpm- domain-cluster / INSTANCES / server-two_12346 / MESSAGES listener:org.apache.helix.messaging.handling.HelixTaskExecutor   2017-09-19 13:31:16,658 INFO [org.apache.helix.manager.zk.CallbackHandler](ZkClient-EventThread-432-localhost:2181,localhost:2182,localhost:2183)server-two_12346订阅子更改。路径:/ jbpm-domain-cluster / INSTANCES / server-two_12346 / MESSAGES,listener:org.apache.helix.messaging.handling.HelixTaskExecutor@79bafb4f   2017-09-19 13:31:16,661 INFO [org.apache.helix.messaging.handling.HelixTaskExecutor](ZkClient-EventThread-432-localhost:2181,localhost:2182,localhost:2183)没有要处理的消息   2017-09-19 13:31:16,661 INFO [org.apache.helix.manager.zk.CallbackHandler](ZkClient-EventThread-432-localhost:2181,localhost:2182,localhost:2183)432 END:INVOKE / jbpm- domain-cluster / INSTANCES / server-two_12346 / MESSAGES listener:org.apache.helix.messaging.handling.HelixTaskExecutor Took:4ms   2017-09-19 13:35:51,838 ERROR [org.jboss.as.controller.management-operation](管理任务-7)WFLYCTL0348:等待服务容器稳定性[300]秒后的超时。操作将回滚。首先更新服务容器的步骤是添加&#39;在地址&#39; [(&#34;部署&#34; =&gt;&#34; jbpm-console.war&#34;)]&#39;   2017-09-19 13:35:51,841 ERROR [org.jboss.as.server](管理任务-7)WFLYSRV0021:部署部署&#34; jbpm-console.war&#34;回滚时出现以下失败消息:&#34; WFLYCTL0344:操作超时等待服务容器稳定性&#34;   2017-09-19 13:35:51,852 INFO [org.jboss.as.connector.deployers.jdbc](MSC服务主题1-4)WFLYJCA0019:使用driver-name = jbpm-console.war_org.h2停止驱动程序服务。 Driver_1_3   2017-09-19 13:35:51,854 INFO [org.jboss.as.connector.deployers.jdbc](MSC服务线程1-1)WFLYJCA0019:使用driver-name = jbpm-console.war_com.mysql停止驱动程序服务。 fabric.jdbc.FabricMySQLDriver_5_1   2017-09-19 13:35:51,864 INFO [org.jboss.as.connector.deployers.jdbc](MSC服务主题1-4)WFLYJCA0019:使用driver-name = jbpm-console.war_com.mysql停止驱动程序服务。 jdbc.Driver_5_1   2017-09-19 13:35:51,866 INFO [org.jboss.as.webservices](MSC服务主题1-2)WFLYWS0004:停止服务jboss.ws.endpoint。&#34; jbpm-console.war&#34; .CommandWebService   2017-09-19 13:35:51,870 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 78)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:/queue/KIE.SESSION.ALL   2017-09-19 13:35:51,873 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 78)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:jboss / exported / jms / queue / KIE。 SESSION   2017-09-19 13:35:51,874 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 80)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:/queue/KIE.AUDIT.ALL   2017-09-19 13:35:51,874 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 80)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:jboss / exported / jms / queue / KIE。审计   2017-09-19 13:35:51,874 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 81)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:/queue/KIE.SIGNAL   2017-09-19 13:35:51,874 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 81)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:jboss / exported / jms / queue / KIE。信号   2017-09-19 13:35:51,874 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 82)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:jboss / exported / jms / queue / KIE。响应   2017-09-19 13:35:51,875 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 82)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:/queue/KIE.RESPONSE.ALL   2017-09-19 13:35:51,875 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 79)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:jboss / exported / jms / queue / KIE。 EXECUTOR   2017-09-19 13:35:51,875 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 79)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:/queue/KIE.EXECUTOR   2017-09-19 13:35:51,875 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 83)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:/queue/KIE.TASK.ALL   2017-09-19 13:35:51,875 INFO [org.wildfly.extension.messaging-activemq](ServerService线程池 - 83)WFLYMSGAMQ0006:未绑定的消息传递对象到jndi名称java:jboss / exported / jms / queue / KIE。任务   2017-09-19 13:35:56,841 ERROR [org.jboss.as.controller.management-operation](管理任务-7)WFLYCTL0190:步骤处理程序org.jboss.as.server.deployment.DeploymentHandlerUtil$1@152fff29用于操作{&#34;操作&#34; =&GT; &#34;添加&#34;&#34;地址&#34; =&GT; [(&#34;部署&#34; =&gt;&#34; jbpm-console.war&#34;)],&#34;运行时名称&#34; =&GT; &#34;的jbpm-console.war&#34;&#34;启用&#34; =&GT;真,&#34;内容&#34; =&GT; [{&#34;输入流指数&#34; =&GT; 0}],&#34;操作头&#34; =&GT; {&#34;接入机制&#34; =&GT; &#34; HTTP&#34;}&#34;持续性&#34; =&GT;真,&#34;所有者&#34; =&GT; undefined} at address [(&#34; deployment&#34; =&gt;&#34; jbpm-console.war&#34;)]处理操作回滚失败 - java.util.concurrent.TimeoutException:java.util.concurrent .TimeoutException       在org.jboss.as.controller.OperationContextImpl.waitForRemovals(OperationContextImpl.java:511)       at org.jboss.as.controller.AbstractOperationContext $ Step.handleResult(AbstractOperationContext.java:1369)       at org.jboss.as.controller.AbstractOperationContext $ Step.finalizeInternal(AbstractOperationContext.java:1328)       at org.jboss.as.controller.AbstractOperationContext $ Step.finalizeStep(AbstractOperationContext.java:1301)       at org.jboss.as.controller.AbstractOperationContext $ Step.access $ 300(AbstractOperationContext.java:1185)       at org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:767)       在org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:644)       at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)       at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)       at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)       在org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:204)       at org.jboss.as.domain.http.server.DomainApiGenericOperationHandler.handleRequest(DomainApiGenericOperationHandler.java:179)       at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)       在org.jboss.as.domain.http.server.security.SubjectDoAsHandler $ 1.run(SubjectDoAsHandler.java:72)       在org.jboss.as.domain.http.server.security.SubjectDoAsHandler $ 1.run(SubjectDoAsHandler.java:68)       at java.security.AccessController.doPrivileged(Native Method)       在javax.security.auth.Subject.doAs(Subject.java:422)       在org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)       在org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:68)       在org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:63)       at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)       在org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:87)       at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)       at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)       at io.undertow.server.HttpServerExchange $ 1.run(HttpServerExchange.java:793)       在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)       at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)       在java.lang.Thread.run(Thread.java:745)   2017-09-19 13:36:01,842 ERROR [org.jboss.as.controller.management-operation](管理任务-7)WFLYCTL0349:在完成操作时等待[5]秒后等待服务容器稳定性的超时。必须重新启动进程。首先更新服务容器的步骤是添加&#39;在地址&#39; [(&#34;部署&#34; =&gt;&#34; jbpm-console.war&#34;)]&#39;

请帮忙。感谢

1 个答案:

答案 0 :(得分:0)

当时IIRC存在群集问题,因此您可以尝试使用最新的jBPM版本,看看它是否有帮助。