|
本帖最后由 adjust 于 2020-8-4 11:19 编辑
采用license-server模式部署,同一套程序复制一份,放在另外一个服务器中,复制的程序文档服务器指向原程序,Tomcat已删除doc数据库连接与docserver.xml,启动后提示集群的服务超限。具体报错如下:
- 2020-08-04 10:58:29 [main] [com.justep.business.server.BusinessServerServlet] INFO: BusinessServer debug mode --> false
- 2020-08-04 10:58:29 [main] [com.justep.util.Utils] ERROR: JUSTEP153009, 集群的服务超限!
- 2020-08-04 10:58:29 [main] [com.justep.business.server.BusinessServerServlet] ERROR: 编码: JUSTEP150009; 提示: 业务服务器初始化出错
- com.justep.exception.BusinessException: 编码: JUSTEP150009; 提示: 业务服务器初始化出错
- at com.justep.exception.BusinessException.create(Unknown Source)
- at com.justep.business.server.BusinessServerServlet.init(Unknown Source)
- at com.justep.x.bs.BusinessServerServlet.init(Unknown Source)
- at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
- at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
- at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4425)
- at org.apache.catalina.core.StandardContext.start(StandardContext.java:4738)
- at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
- at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
- at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
- at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
- at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
- at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
- at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
- at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
- at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
- at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
- at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
- at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
- at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
- at org.apache.catalina.core.StandardService.start(StandardService.java:525)
- at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
- at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:497)
- at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
- at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
- Caused by: com.justep.exception.LicenseException: 编码: JUSTEP153009; 提示: 集群的服务超限!
- at com.justep.exception.LicenseException.create(Unknown Source)
- at com.justep.util.Utils.throwSystemException(Unknown Source)
- at com.justep.business.server.BusinessServer.init0(Native Method)
- at com.justep.business.server.BusinessServer.init(Unknown Source)
- ... 28 more
复制代码 server配置如下:- <config>
- <version>6982</version>
- <distributed>false</distributed>
- <ui-server>http://localhost:8080/x5</ui-server>
- <!-- 以下配置只适用于BeX5 -->
- <default-user>
- <name>system</name>
- <password>123456</password>
- </default-user>
- <business-server>http://localhsot:8080/BusinessServer</business-server>
- <doc-server>http://192.124.12.76:8080/DocServer</doc-server>
- <auth-server>http://192.124.12.76:8080/BusinessServer</auth-server>
- <report-server>http://localhsot:8080/ReportServer/reportservice</report-server>
-
- <license-server>http://192.124.12.76:9090/LicenseServer</license-server>
- <!--
-
-
- <push-server>http://localhost:8080/PushServer</push-server>
- <mqtt-server>tcp://localhost:1883</mqtt-server>
- <external-address>[请给出服务器的外网地址]</external-address>
- <license-server>http://localhost:9090/LicenseServer</license-server>
- -->
-
- <!-- 微服务:当前要求每个微服务能访问所有的模型资源(包括BIZ和UI), 文档服务器的存储目录共享一个 -->
- <!-- 以下配置是微服务版本需要的
- <micro-service>true</micro-service>
- <gateway>http://192.168.1.40</gateway>
- <gateway-admin>http://192.168.1.40:8001</gateway-admin>
- <local-addr>http://192.168.1.89:8080</local-addr>
- <local-apps>[请给出本地app名, 例如OA,HR,portal,portal2,system, 访问这些biz和ui资源时会转发到当前微服务]</local-apps>
- <redis-host>127.0.0.1</redis-host>
- <redis-port>6379</redis-port>
- <redis-password></redis-password>
- -->
- </config>
复制代码
|
|