起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3038|回复: 4

[处理中3] License服务器连不通

[复制链接]

22

主题

73

帖子

173

积分

初级会员

Rank: 2

积分
173
QQ
发表于 2019-12-10 09:02:43 | 显示全部楼层 |阅读模式
本帖最后由 husl 于 2019-12-10 09:17 编辑

一直正常,按照教程修改UIServer默认路径中的x5
3个步骤只做了2步后,1和3,提示:License服务器连不通
撤销修改后仍然提示不通。。
一共修改了3个地方:把x5修改为x6
1.pache-tomcat\webapps\ROOT\index.html
2.新版本修改这个文件的:conf\server.xml,旧版本V3.2.1以前版本修改runtime\UIServer\WEB-INF\justep.xml
3.apache-tomcat\conf\Catalina\localhost\x5.xml,修改为x6.xml


2019-12-10 09:13:15 [main] [com.justep.business.server.BusinessServerServlet] INFO: BusinessServer debug mode --> false
2019-12-10 09:13:16 [main] [org.apache.commons.httpclient.HttpMethodDirector] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
2019-12-10 09:13:16 [main] [org.apache.commons.httpclient.HttpMethodDirector] INFO: Retrying request
2019-12-10 09:13:17 [main] [org.apache.commons.httpclient.HttpMethodDirector] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
2019-12-10 09:13:17 [main] [org.apache.commons.httpclient.HttpMethodDirector] INFO: Retrying request
2019-12-10 09:13:18 [main] [org.apache.commons.httpclient.HttpMethodDirector] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
2019-12-10 09:13:18 [main] [org.apache.commons.httpclient.HttpMethodDirector] INFO: Retrying request
2019-12-10 09:13:19 [main] [com.justep.utils.Utils] ERROR: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:286)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at com.justep.utils.Utils.send(Unknown Source)
at com.justep.business.server.BusinessServer.init0(Native Method)
at com.justep.business.server.BusinessServer.init(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)
2019-12-10 09:13:19 [main] [com.justep.util.Utils] ERROR: JUSTEP153010, License服务器连不通!
2019-12-10 09:13:19 [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: 编码: JUSTEP153010; 提示: License服务器连不通!
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

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2019-12-10 09:37:13 | 显示全部楼层
确认license-server服务启动了吗?
conf\server.xml中配置的license-server的地址正确吗?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

22

主题

73

帖子

173

积分

初级会员

Rank: 2

积分
173
QQ
 楼主| 发表于 2019-12-10 09:49:09 | 显示全部楼层
其他的我都没改过,之前一直都可以的
<license-server>http://localhost:9090/LicenseServer</license-server>
这个端口9090?是默认的吧?

回复 支持 反对

使用道具 举报

22

主题

73

帖子

173

积分

初级会员

Rank: 2

积分
173
QQ
 楼主| 发表于 2019-12-10 09:55:22 | 显示全部楼层
husl 发表于 2019-12-10 09:49
其他的我都没改过,之前一直都可以的
http://localhost:9090/LicenseServer
这个端口9090?是默认的吧?

发现问题所在了,在修改外网地址时把这个原来是注释的取消了。<!--<license-server>http://localhost:9090/LicenseServer</license-server>-->
这个注销掉反而可以了……license-server不需要配置?
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2019-12-10 10:25:58 | 显示全部楼层
不是用的license-server模式就不需要配置这个
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-23 05:51 , Processed in 0.069110 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表