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

QQ登录

只需一步,快速开始

查看: 1378|回复: 4

[结贴] Bex5用手机浏览访问起步提供的OA办公系统出错

[复制链接]

10

主题

29

帖子

119

积分

初级会员

Rank: 2

积分
119
QQ
发表于 2016-9-8 11:58:43 | 显示全部楼层 |阅读模式
版本: BeX5V3.3 小版本号: 3.3
数据库: MySQL 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: Windows 7 浏览器: Chrome
通过手机浏览器访问起步提供的协同OA办公系统,点击左栏的“工作交办”手机弹出如下的错误:
0908_16.jpg 0908_15.jpg 0908_14.jpg 0908_13.jpg

控制面版上出现以下提示:
2016-09-08 10:41:24 开始-WINDOW生成中间文件: /UI2/OA/personalOffice/process/tasksAssigned/mainActivity.m.w
2016-09-08 10:41:26 加载模块:/UI2/system/components/justep/windowDialog/server ...
2016-09-08 10:41:26 加载模块:/UI2/system/components/justep/windowDialog/server
2016-09-08 10:41:26 结束-WINDOW生成中间文件: /UI2/OA/personalOffice/process/tasksAssigned/mainActivity.m.w
2016-09-08 10:41:26 开始-中间文件生成缓存文件: /UI2/OA/personalOffice/process/tasksAssigned/mainActivity.m.w
2016-09-08 10:41:27 结束-中间文件生成缓存文件: /UI2/OA/personalOffice/process/tasksAssigned/mainActivity.m.w
2016-09-08 10:41:29 加载模块:/OA/personalOffice/process/tasksAssigned ...
2016-09-08 10:41:29 excute stream action, params:{"accept":"application/json","action":"queryOA_TasksAssignedOpAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"columns":"OA_TasksAssigned,fAttachment,fCloser,fCloserID,fCloserMemo,fContent,fCreator,fCreatorID,fCreatorTime,fExecutor,fExecutorID,fLastModifyTime,fName,fStatus,sActive,sGroupID,sMessageNumber,version","limit":-1,"offset":0,"orderBy":"fLastModifyTime DESC","variables":{}},"process":"/OA/personalOffice/process/tasksAssigned/tasksAssignedProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"OA_TasksAssigned","sequence":"OA_TasksAssigned,fAttachment,fCloser,fCloserID,fCloserMemo,fContent,fCreator,fCreatorID,fCreatorTime,fExecutor,fExecutorID,fLastModifyTime,fName,fShowTime,fStatus,sActive,sGroupID,sMessageNumber,version"},"transformIdcolumn":true,"useNamespace":true}}
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.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:723)
        at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        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:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT OA_TasksAssigned.*,SA_Social.sGroupID as sGroupID,SA_Social.sMessageNumber as sMessageNumber,SA_Social_att.sActive as sActive  FROM OA_TasksAssigned OA_TasksAssigned  join (select  SA_Social.sData1, MIN(SA_Social.sGroupID) as sGroupID from SA_Social SA_Social  where  SA_Social.sPersonID = :currentPersonID() AND SA_Social.sTypeID = 'RelativeOrg' AND SA_Social.sValidState = 1   group by SA_Social.sData1) SA_SocialOne on OA_TasksAssigned = SA_SocialOne.sData1 join SA_Social SA_Social on  OA_TasksAssigned = SA_Social.sData1 AND SA_Social.sPersonID = :currentPersonID() AND SA_Social.sTypeID = 'RelativeOrg' AND SA_Social.sValidState = 1 AND SA_Social.sGroupID = SA_SocialOne.sGroupID  optional  join SA_Social SA_Social_att on  OA_TasksAssigned = SA_Social_att.sData1 AND SA_Social_att.sPersonID = :currentPersonID() AND SA_Social_att.sTypeID = 'Focus' AND SA_Social_att.sValidState = 1 WHERE (OA_TasksAssigned.fStatus = '未关闭') ORDER BY fLastModifyTime DESC LIMIT 0, -1
--> sql: SELECT  OA_TasksAssigned.fID AS OA_TasksAssigned, OA_TasksAssigned.FATTACHMENT AS fAttachment, OA_TasksAssigned.FCLOSER AS fCloser, OA_TasksAssigned.FCLOSERID AS fCloserID, OA_TasksAssigned.FCLOSERMEMO AS fCloserMemo, OA_TasksAssigned.FCONTENT AS fContent, OA_TasksAssigned.FCREATOR AS fCreator, OA_TasksAssigned.FCREATORID AS fCreatorID, OA_TasksAssigned.FCREATORTIME AS fCreatorTime, OA_TasksAssigned.FEXECUTOR AS fExecutor, OA_TasksAssigned.FEXECUTORID AS fExecutorID, OA_TasksAssigned.FLASTMODIFYTIME AS fLastModifyTime, OA_TasksAssigned.FNAME AS fName, OA_TasksAssigned.FSTATUS AS fStatus, SA_Social_att.SACTIVE AS sActive, SA_Social.SGROUPID AS sGroupID, SA_Social.SMESSAGENUMBER AS sMessageNumber, OA_TasksAssigned.VERSION AS version FROM OA_TASKSASSIGNED OA_TasksAssigned JOIN (SELECT  SA_Social.SDATA1 AS sData1, MIN(SA_Social.SGROUPID) AS sGroupID FROM SA_Social SA_Social  WHERE  (SA_Social.SPERSONID =  ? ) AND (SA_Social.STYPEID = ?) AND (SA_Social.SVALIDSTATE = ?)    GROUP BY SA_Social.SDATA1) SA_SocialOne ON OA_TasksAssigned.fID = SA_SocialOne.sData1 JOIN SA_Social SA_Social ON  (OA_TasksAssigned.fID = SA_Social.SDATA1) AND (SA_Social.SPERSONID =  ? ) AND (SA_Social.STYPEID = ?) AND (SA_Social.SVALIDSTATE = ?) AND (SA_Social.SGROUPID = SA_SocialOne.sGroupID)  LEFT JOIN SA_Social SA_Social_att ON  (OA_TasksAssigned.fID = SA_Social_att.SDATA1) AND (SA_Social_att.SPERSONID =  ? ) AND (SA_Social_att.STYPEID = ?) AND (SA_Social_att.SVALIDSTATE = ?)   WHERE OA_TasksAssigned.FSTATUS = ?  ORDER BY fLastModifyTime DESC
--> binds: [87930426E1EE42C29F592484CA028A9C, RelativeOrg, 1, 87930426E1EE42C29F592484CA028A9C, RelativeOrg, 1, 87930426E1EE42C29F592484CA028A9C, Focus, 1, 未关闭]
        at com.justep.exception.BusinessException.create(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.BizData.query(Unknown Source)
        at BizProcedure.query(BizProcedure.java:12)
        ... 27 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: SELECT  OA_TasksAssigned.fID AS OA_TasksAssigned, OA_TasksAssigned.FATTACHMENT AS fAttachment, OA_TasksAssigned.FCLOSER AS fCloser, OA_TasksAssigned.FCLOSERID AS fCloserID, OA_TasksAssigned.FCLOSERMEMO AS fCloserMemo, OA_TasksAssigned.FCONTENT AS fContent, OA_TasksAssigned.FCREATOR AS fCreator, OA_TasksAssigned.FCREATORID AS fCreatorID, OA_TasksAssigned.FCREATORTIME AS fCreatorTime, OA_TasksAssigned.FEXECUTOR AS fExecutor, OA_TasksAssigned.FEXECUTORID AS fExecutorID, OA_TasksAssigned.FLASTMODIFYTIME AS fLastModifyTime, OA_TasksAssigned.FNAME AS fName, OA_TasksAssigned.FSTATUS AS fStatus, SA_Social_att.SACTIVE AS sActive, SA_Social.SGROUPID AS sGroupID, SA_Social.SMESSAGENUMBER AS sMessageNumber, OA_TasksAssigned.VERSION AS version FROM OA_TASKSASSIGNED OA_TasksAssigned JOIN (SELECT  SA_Social.SDATA1 AS sData1, MIN(SA_Social.SGROUPID) AS sGroupID FROM SA_Social SA_Social  WHERE  (SA_Social.SPERSONID =  ? ) AND (SA_Social.STYPEID = ?) AND (SA_Social.SVALIDSTATE = ?)    GROUP BY SA_Social.SDATA1) SA_SocialOne ON OA_TasksAssigned.fID = SA_SocialOne.sData1 JOIN SA_Social SA_Social ON  (OA_TasksAssigned.fID = SA_Social.SDATA1) AND (SA_Social.SPERSONID =  ? ) AND (SA_Social.STYPEID = ?) AND (SA_Social.SVALIDSTATE = ?) AND (SA_Social.SGROUPID = SA_SocialOne.sGroupID)  LEFT JOIN SA_Social SA_Social_att ON  (OA_TasksAssigned.fID = SA_Social_att.SDATA1) AND (SA_Social_att.SPERSONID =  ? ) AND (SA_Social_att.STYPEID = ?) AND (SA_Social_att.SVALIDSTATE = ?)   WHERE OA_TasksAssigned.FSTATUS = ?  ORDER BY fLastModifyTime DESC, binds: [87930426E1EE42C29F592484CA028A9C, RelativeOrg, 1, 87930426E1EE42C29F592484CA028A9C, RelativeOrg, 1, 87930426E1EE42C29F592484CA028A9C, Focus, 1, 未关闭]出错
        at com.justep.exception.BusinessException.create(Unknown Source)
        at com.justep.system.ksql.KSQLUtils.execSqlSelect(Unknown Source)
        ... 32 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'x5sys.oa_tasksassigned' doesn't exist
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
        at com.mysql.jdbc.Util.getInstance(Util.java:383)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3847)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1901)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2002)
        at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
        at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
        ... 33 more

打开MySQL数据库,找到相应的数据库表:OA_TasksAssigned和SA_Social,想打开这些表看看表结构如何,结果是打不开,提示如下:
11.jpg 12.jpg

说明这些表不存在。
使用Navicat for MySQL软件照样打不开这些数据库表。
这个问题如何解决?
除了这两个表打不开以外,起步所提供的这个协同OA办公系统还有好多个数据库也打不开。起步能否提供一个无错误的系统表?

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2016-9-8 14:34:25 | 显示全部楼层
如果是平台的开发版版本中默认带的OA,平台提供的工作交办里面提供的演示案例初始化就默认带的有这些表的
如果是从网站上下载的OA的资源,请到http://bbs.wex5.com/forum.php?mod=forumdisplay&fid=104中发帖,或者在Studio中找到ontology文件生成数据库表生成一下
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

10

主题

29

帖子

119

积分

初级会员

Rank: 2

积分
119
QQ
 楼主| 发表于 2016-9-9 00:29:37 | 显示全部楼层
我是网上下载的Bex53.3版本的OA资源,手机浏览器访问的“工作交办”所产生的错误,在控制面版上显示的是系统数据库x5sys中的表间关系的错误,且系统x5sys中的带有oa前缀的表都打不开。在Studio中没能找到相应的系统表x5sys相对应的ontology文件,也就无法生成相关的数据库表。
系统数据库无法打开.png
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2016-9-9 09:41:54 | 显示全部楼层
OA的在BIZ的OA下有ontology
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

10

主题

29

帖子

119

积分

初级会员

Rank: 2

积分
119
QQ
 楼主| 发表于 2016-9-10 09:29:43 | 显示全部楼层
找到相关的ontology,但点击生成数据库表时出错。把mysql\data\x5sys下的oa前缀的数据库表全部删除,再重新生成数据库表成功了。
可以结贴了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 12:47 , Processed in 0.057968 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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