java - 无法在同一实例中运行 jbpm 7.13.0 和 jboss 7
问题描述
无法在同一实例中运行 jbpm 7.13.0 和 jboss 7。管理控制台已使用端口 9990。如何更改 jbppm 7.13.0 的管理控制台端口。
15:05:15,714 INFO [org.jboss.as] (MSC service thread 1-7) JBAS015951: Admin console listening on http://192.168.10.109:9990
15:05:15,714 ERROR [org.jboss.as] (MSC service thread 1-7) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 105254ms - Started 877 of 992 services (2 services failed or missing dependencies, 105 services are passive or on-demand)
15:05:15,923 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "manageit.war" was rolled back with no failure message
15:05:15,924 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "cisms.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./cisms" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./cisms: JBAS018040: Failed to start context"}}
15:05:15,937 WARN [org.exoplatform.portal.resource.MainResourceResolver] (MSC service thread 1-4) Cannot find servlet context module
15:05:15,939 WARN [org.exoplatform.portal.resource.MainResourceResolver] (MSC service thread 1-4) Cannot find servlet context module
15:05:16,153 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment manageit.war in 229ms
15:05:16,174 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment cisms.war in 249ms
15:05:16,175 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.web.deployment.default-host./cisms: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./cisms: JBAS018040: Failed to start context
15:05:16,177 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./cisms" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./cisms: JBAS018040: Failed to start context"}}}}
15:05:16,223 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
解决方案
转到<jbpm server>/standalone/configuration
并修改standalone.xml 中的socket-binding-group 部分以更改默认的http 端口绑定。
例如:用于将 http 管理端口从 9990 更改为 9992
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
<socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9992}"/>
........
<socket-binding-group>
或者您可以在启动时指定端口偏移量
例如:standalone.bat -Djboss.socket.binding.port-offset=5
这会将所有端口更改 5。即 9990 将变为 9995
推荐阅读
- c++ - 使用模板编程改变容器的类型
- javascript - 两次调用 useState 时更新反应 useState 值不起作用
- java - 如何根据滑块上拇指当前位置的滑块颜色更改 JFXSlider 拇指的颜色?
- django - 在 django 的嵌套序列化程序中加入表?
- html - 我可以在同一个属性上进行多个转换吗?
- javascript - 在 Javascript 中以特定方式镜像复制的画布
- python - 如何按最后一维中的坐标对 3d 张量进行排序(pytorch)
- javascript - 将 UL 拆分为两列,但不要破坏嵌套的 UL
- r - 在 R 中重现此图
- vulkan - Vulkan 计算着色器。平滑 uv 坐标