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

QQ登录

只需一步,快速开始

查看: 4316|回复: 6

[结贴] X5登录页面,输入用户名密码,提示登录用户不在注册用户...

[复制链接]

19

主题

59

帖子

140

积分

初级会员

Rank: 2

积分
140
QQ
发表于 2021-12-21 17:38:57 | 显示全部楼层 |阅读模式
版本: X5.2.7 小版本号:
数据库: Sybase 服务器操作系统: Linux 应用服务器: Tomcat
客户端操作系统: Windows 7 浏览器: Chrome
本帖最后由 凯歌 于 2021-12-21 19:04 编辑

X5登录页面,输入用户名密码,
当输入正确的密码,页面提示“ 登录用户不在注册用户列表中!”
输入错误的密码:页面提示:“登录名或密码错误”
这个用户以前一直在用的,昨天license到期了,重申申请了license,再一顿折腾启动了x5服务后,用户就报错了。
微信图片_20211221173711.jpg
微信图片_20211221173922.jpg

19

主题

59

帖子

140

积分

初级会员

Rank: 2

积分
140
QQ
 楼主| 发表于 2021-12-21 17:41:25 | 显示全部楼层
2021-12-21 17:24:20
exec KSQL: select r,par,p.* from SA_OPRole par optional join SA_OPPermission p on p.sPermissionRoleID=par and par.sValidState = 1 and p.sValidState=1 join SA_OPRole r on par=r.sParentRole AND
r IN ('00CE50B7490B4AFE83D50E3BF503B280')  --> sql:SELECT  r.sID, par.sID, p.sID AS p, p.sPermissionRoleID AS sPermissionRoleID, p.SPROCESS AS sProcess, p.SACTIVITYFNAME AS sActivityFName, p.SACTIVITY AS sActivity, p.SACTIONSNAMES A
S sActionsNames, p.SACTIONS AS sActions, p.SSEMANTICDP AS sSemanticDP, p.SPERMISSIONKIND AS sPermissionKind, p.SDESCRIPTION AS sDescription, p.SSEQUENCE AS sSequence, p.SVALIDSTATE AS sValidState, p.VERSION AS version FROM SA_OPRole par LEFT JOIN SA_OPPermission p ON  (p.sPermissionRoleID = par.sID) AND (par.SVALIDSTATE = ?) AND (p.SVALIDSTATE = ?)  JOIN (SA_OPRole r LEFT JOIN SA_OPParentRole SA_OPParentRole__1 ON r.sID = SA_OPParentRole__1.sRoleID  ) ON  (par.sID = SA_OPParentRole__1.sParentRoleID) AND ( r.sID IN (?) )  --> binds:[1, 1, 00CE50B7490B4AFE83D50E3BF503B280]
2021-12-21 17:24:20
exec KSQL: select r,par,p.* from SA_OPRole par optional join SA_OPPermission p on p.sPermissionRoleID=par and par.sValidState = 1 and p.sValidState=1 join SA_OPRole r on par=r.sParentRole AND
r IN ('00CE50B7490B4AFE83D50E3BF503B280')  --> sql:SELECT  r.sID, par.sID, p.sID AS p, p.sPermissionRoleID AS sPermissionRoleID, p.SPROCESS AS sProcess, p.SACTIVITYFNAME AS sActivityFName, p.SACTIVITY AS sActivity, p.SACTIONSNAMES A
S sActionsNames, p.SACTIONS AS sActions, p.SSEMANTICDP AS sSemanticDP, p.SPERMISSIONKIND AS sPermissionKind, p.SDESCRIPTION AS sDescription, p.SSEQUENCE AS sSequence, p.SVALIDSTATE AS sValidState, p.VERSION AS version FROM SA_OPRole par LEFT JOIN SA_OPPermission p ON  (p.sPermissionRoleID = par.sID) AND (par.SVALIDSTATE = ?) AND (p.SVALIDSTATE = ?)  JOIN (SA_OPRole r LEFT JOIN SA_OPParentRole SA_OPParentRole__1 ON r.sID = SA_OPParentRole__1.sRoleID  ) ON  (par.sID = SA_OPParentRole__1.sParentRoleID) AND ( r.sID IN (?) )  --> binds:[1, 1, 00CE50B7490B4AFE83D50E3BF503B280]
2021-12-21 17:24:20 sql 执行时间:7ms
2021-12-21 17:24:20 sql 执行时间:7ms
2021-12-21 17:24:20 KSQL 执行时间:11ms
2021-12-21 17:24:20 KSQL 执行时间:11ms
2021-12-21 17:24:20  exec KSQL: select m.*,mt.sCode from SA_OPManagement m optional join SA_OPManageType mt on m.sManageTypeID=mt where '/ORG01.ogn/E5BA649CE13A4446B69CC58DF5EFBD60@ORG01.psm'
like concat(m.sOrgFID, '%') --> sql:SELECT  m.sID AS m, m.SORGID AS sOrgID, m.SORGFID AS sOrgFID, m.SORGNAME AS sOrgName, m.SORGFNAME AS sOrgFName, m.SMANAGEORGID AS sManageOrgID, m.SMANAGEORGNAME AS sManageOrgName, m.
SMANAGEORGFID AS sManageOrgFID, m.SMANAGEORGFNAME AS sManageOrgFName, m.SMANAGETYPEID AS sManageTypeID, m.SCREATORFID AS sCreatorFID, m.SCREATORFNAME AS sCreatorFName, m.SCREATETIME AS sCreateTime, m.VERSION AS version, mt.SCODE AS sCode FROM SA_OPManagement m LEFT JOIN SA_OPManageType mt ON m.SMANAGETYPEID = mt.sID  WHERE ? LIKE m.SORGFID + ? --> binds:[/ORG01.ogn/E5BA649CE13A4446B69CC58DF5EFBD60@ORG01.psm, %]
--> dataModel|M|/system/data
--> fnModelnull
2021-12-21 17:24:20  exec KSQL: select m.*,mt.sCode from SA_OPManagement m optional join SA_OPManageType mt on m.sManageTypeID=mt where '/ORG01.ogn/E5BA649CE13A4446B69CC58DF5EFBD60@ORG01.psm'
like concat(m.sOrgFID, '%') --> sql:SELECT  m.sID AS m, m.SORGID AS sOrgID, m.SORGFID AS sOrgFID, m.SORGNAME AS sOrgName, m.SORGFNAME AS sOrgFName, m.SMANAGEORGID AS sManageOrgID, m.SMANAGEORGNAME AS sManageOrgName, m.
SMANAGEORGFID AS sManageOrgFID, m.SMANAGEORGFNAME AS sManageOrgFName, m.SMANAGETYPEID AS sManageTypeID, m.SCREATORFID AS sCreatorFID, m.SCREATORFNAME AS sCreatorFName, m.SCREATETIME AS sCreateTime, m.VERSION AS version, mt.SCODE AS sCode FROM SA_OPManagement m LEFT JOIN SA_OPManageType mt ON m.SMANAGETYPEID = mt.sID  WHERE ? LIKE m.SORGFID + ? --> binds:[/ORG01.ogn/E5BA649CE13A4446B69CC58DF5EFBD60@ORG01.psm, %]
--> dataModel|M|/system/data
--> fnModelnull
2021-12-21 17:24:20
exec KSQL: select m.*,mt.sCode from SA_OPManagement m optional join SA_OPManageType mt on m.sManageTypeID=mt where '/ORG01.ogn/E5BA649CE13A4446B69CC58DF5EFBD60@ORG01.psm' like concat(m.sOrgFI
D, '%')  --> sql:SELECT  m.sID AS m, m.SORGID AS sOrgID, m.SORGFID AS sOrgFID, m.SORGNAME AS sOrgName, m.SORGFNAME AS sOrgFName, m.SMANAGEORGID AS sManageOrgID, m.SMANAGEORGNAME AS sManageOrgName, m
.SMANAGEORGFID AS sManageOrgFID, m.SMANAGEORGFNAME AS sManageOrgFName, m.SMANAGETYPEID AS sManageTypeID, m.SCREATORFID AS sCreatorFID, m.SCREATORFNAME AS sCreatorFName, m.SCREATETIME AS sCreateTime, m.VERSION AS version, mt.SCODE AS sCode FROM SA_OPManagement m LEFT JOIN SA_OPManageType mt ON m.SMANAGETYPEID = mt.sID  WHERE ? LIKE m.SORGFID + ? --> binds:[/ORG01.ogn/E5BA649CE13A4446B69CC58DF5EFBD60@ORG01.psm, %]
2021-12-21 17:24:20
exec KSQL: select m.*,mt.sCode from SA_OPManagement m optional join SA_OPManageType mt on m.sManageTypeID=mt where '/ORG01.ogn/E5BA649CE13A4446B69CC58DF5EFBD60@ORG01.psm' like concat(m.sOrgFI
D, '%')  --> sql:SELECT  m.sID AS m, m.SORGID AS sOrgID, m.SORGFID AS sOrgFID, m.SORGNAME AS sOrgName, m.SORGFNAME AS sOrgFName, m.SMANAGEORGID AS sManageOrgID, m.SMANAGEORGNAME AS sManageOrgName, m
.SMANAGEORGFID AS sManageOrgFID, m.SMANAGEORGFNAME AS sManageOrgFName, m.SMANAGETYPEID AS sManageTypeID, m.SCREATORFID AS sCreatorFID, m.SCREATORFNAME AS sCreatorFName, m.SCREATETIME AS sCreateTime, m.VERSION AS version, mt.SCODE AS sCode FROM SA_OPManagement m LEFT JOIN SA_OPManageType mt ON m.SMANAGETYPEID = mt.sID  WHERE ? LIKE m.SORGFID + ? --> binds:[/ORG01.ogn/E5BA649CE13A4446B69CC58DF5EFBD60@ORG01.psm, %]
2021-12-21 17:24:20 sql 执行时间:1ms
2021-12-21 17:24:20 sql 执行时间:1ms
2021-12-21 17:24:20 KSQL 执行时间:5ms
2021-12-21 17:24:20 KSQL 执行时间:5ms
2021-12-21 17:24:20 JUSTEP153011, 登录用户不在注册用户列表中!
回复 支持 反对

使用道具 举报

19

主题

59

帖子

140

积分

初级会员

Rank: 2

积分
140
QQ
 楼主| 发表于 2021-12-21 17:42:10 | 显示全部楼层
2021-12-21 17:24:20 action:<?xml version="1.0" encoding="UTF-8"?>
<action xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:justep="http://www.justep.com/x5#" xmlnsxf="http://www.orbeon.com/oxf/processors" xmlns:p="http://www.orbeon.com/oxf/pi
peline" xmlns:xslt="http://www.orbeon.com/oxf/processors" xmlns:xbiz="http://www.justep.com/xbiz#" name="loginAction" process="/SA/OPM/system/systemProcess" activity="mainActivity"><parameters>
<parameter name="name"><simple type="http://www.w3.org/2001/XMLSchema#string">110</simple></parameter>
<parameter name="loginDate"><simple type="http://www.w3.org/2001/XMLSchema#date">2021-12-21</simple></parameter>
<parameter name="options"><xbiz:map><item key="DeviceType"><simple type="http://www.w3.org/2001/XMLSchema#string">计算机</simple></item><item key="OperatingSystem"><simple type="http://www.w3
.org/2001/XMLSchema#string">WINDOWS_7</simple></item></xbiz:map></parameter><parameter name="pwd"><simple type="http://www.w3.org/2001/XMLSchema#string">E10ADC3949BA59ABBE56E057F20F883E</simple></parameter>
<parameter name="lang"><simple type="http://www.w3.org/2001/XMLSchema#string">zh_CN</simple></parameter>
<parameter name="ip"><simple type="http://www.w3.org/2001/XMLSchema#string">10.253.42.222</simple></parameter>
</parameters>
</action>
java.lang.reflect.InvocationTargetException
        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:606)
        at com.justep.system.action.Engine.invokeActions(Native Method)
        at com.justep.system.action.Engine.invokeActions(Unknown Source)
        at com.justep.business.server.BusinessServer.doAction(Unknown Source)
        at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
        at com.justep.business.server.BusinessServer.excute(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: 编码: JUSTEP153011; 提示: 登录用户不在注册用户列表中!
        at com.justep.x.bs.utils.LoaderUtils.a(Unknown Source)
        at com.justep.x.bs.utils.LoaderUtils.regist(Unknown Source)
        at com.justep.system.opm.OrgUtils.login(Native Method)
        at com.justep.system.opm.OrgUtils.login1(Unknown Source)
        at OPMProcedure.login(OPMProcedure.java:111)
        at OPMProcedure.login(OPMProcedure.java:96)
        ... 26 more
Caused by: java.lang.reflect.InvocationTargetException
        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:606)
        ... 31 more
Caused by: com.justep.exception.LicenseException: 编码: JUSTEP153011; 提示: 登录用户不在注册用户列表中!
        at com.justep.exception.LicenseException.create(Unknown Source)
        at com.justep.util.Utils.throwSystemException(Unknown Source)
        at com.justep.utils.Utils.destroy(Native Method)
        at com.justep.utils.Utils.regist(Unknown Source)
        ... 35 more
[root@APP0ATCprc01 conf]#
回复 支持 反对

使用道具 举报

19

主题

59

帖子

140

积分

初级会员

Rank: 2

积分
140
QQ
 楼主| 发表于 2021-12-21 18:29:29 来自手机 | 显示全部楼层
本帖最后由 凯歌 于 2021-12-21 19:03 编辑

服务器关于x5的任何配置都没有修改过,只是输入了新的license就变这样了
另外 请教,如何正确的启动license_server?

回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2021-12-22 09:08:28 | 显示全部楼层
http://bbs.wex5.com/forum.php?mod=viewthread&tid=36070

tomcat的conf/context.xml中system的数据源必须和License Server中sys数据源一致

license-server中的数据源名字必须是sys
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

19

主题

59

帖子

140

积分

初级会员

Rank: 2

积分
140
QQ
 楼主| 发表于 2021-12-22 09:40:58 来自手机 | 显示全部楼层
本帖最后由 凯歌 于 2021-12-22 09:55 编辑

tomcat数据源是在server.xml里面吧?
回复 支持 反对

使用道具 举报

19

主题

59

帖子

140

积分

初级会员

Rank: 2

积分
140
QQ
 楼主| 发表于 2021-12-22 10:26:55 | 显示全部楼层
非常感谢,因为我们库名变了,所以刚才修改了license_server后就可以登录了。再次感谢。请结帖
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 13:03 , Processed in 0.064599 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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