|
楼主 |
发表于 2017-5-18 14:13:13
|
显示全部楼层
你好,我做了一下测试,下面是提示错误。A系统和B系统不是同一个数据库,出现下面错误是不是因为这个原因。- 2017-05-18 13:49:52 [SQL Time]sql 执行时间:4ms, exec KSQL: select SA_DocNameSpace ,SA_DocNode , SA_DocNameSpace.sDisplayName ,SA_DocNameSpace.sUrl,SA_DocNameSpace.sAccessMode,SA_DocNameSpace.sFlag,SA_DocNameSpace.version from SA_DocNameSpace SA_DocNameSpace OPTIONAL JOIN SA_DocNode SA_DocNode on SA_DocNameSpace = SA_DocNode.sNameSpace where SA_DocNameSpace.sFlag = 1 and SA_DocNode.sFlag = 1 order by SA_DocNameSpace.sDisplayName asc
- --> sql:SELECT SA_DocNameSpace.sID, SA_DocNode.sID, SA_DocNameSpace.sDisplayName AS sDisplayName, SA_DocNameSpace.SURL AS sUrl, SA_DocNameSpace.SACCESSMODE AS sAccessMode, SA_DocNameSpace.sFlag AS sFlag, SA_DocNameSpace.version AS version FROM SA_DocNameSpace SA_DocNameSpace LEFT JOIN SA_DocNode SA_DocNode ON SA_DocNameSpace.sID = SA_DocNode.SNAMESPACE WHERE (SA_DocNameSpace.sFlag = ?) AND (SA_DocNode.SFLAG = ?) ORDER BY SA_DocNameSpace.sDisplayName ASC
- --> binds:[1, 1]
- 2017-5-18 13:49:55 org.apache.catalina.core.StandardWrapperValve invoke
- 严重: Servlet.service() for servlet JustepDocFileServlet threw exception
- org.outerj.daisy.runtime.DaisyRTException: RepositoryException
- at com.justep.doc.httpconnector.HttpConnector.service(Unknown Source)
- at com.justep.doc.httpconnector.FileServlet.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:595)
- Caused by: org.outerj.daisy.repository.DocumentNotFoundException: A document with id 4993-defaultDocNameSpace does not exist.
- at org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.loadDocumentInTransaction(Unknown Source)
- at org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.load(Unknown Source)
- at org.outerj.daisy.repository.commonimpl.CommonRepository.getDocument(Unknown Source)
- at org.outerj.daisy.repository.serverimpl.LocalCommonRepository.getDocument(Unknown Source)
- at org.outerj.daisy.repository.commonimpl.RepositoryImpl.getDocument(Unknown Source)
- at com.justep.doc.httpconnector.handlers.FileInfoHandler.handleRequest(Unknown Source)
- at com.justep.doc.httpconnector.HttpConnector$PathHandler.handle(Unknown Source)
- ... 15 more
- 2017-05-18 13:49:55 action:<?xml version="1.0" encoding="UTF-8"?>
- <action direct-execute="true" process="/SA/doc/system/systemProcess" activity="mainActivity" action-flag="__action_0__" executor="/05CD7F4FC22D4424889BB95CC3283CB3.ogn/10D9DA7045EE420BA09C6411050684B6.dpt/BB401825D0FD4D20841E125113E016D1@10D9DA7045EE420BA09C6411050684B6.psm" execute-context="" name="queryDocInfoByIdAction"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="isHttps"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#Boolean">false</xbiz:simple></parameter><parameter name="host"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[/defaultDocNameSpace]]></xbiz:simple></parameter><parameter name="fileId"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[4993-defaultDocNameSpace]]></xbiz:simple></parameter><parameter name="docVersion"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[last]]></xbiz:simple></parameter></parameters></action>
- java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:592)
- 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: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:595)
- Caused by: com.justep.doc.exception.DocRTException: 编码: JUSTEP300008; 提示: 请求文档服务失败:HTTP/1.1 500 Internal Server Error
- at com.justep.doc.DocUtils.excutePostAction(DocUtils.java:190)
- at com.justep.doc.DocDBHelper.queryDocInfoById(DocDBHelper.java:248)
- at com.justep.doc.DocAdapter.queryDocInfoById(DocAdapter.java:678)
- ... 26 more
复制代码
|
|