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

QQ登录

只需一步,快速开始

查看: 4153|回复: 12

[结贴] 5.2.7版studio加5.2.7版OA出错

[复制链接]

4

主题

17

帖子

46

积分

新手上路

Rank: 1

积分
46
QQ
发表于 2014-4-29 01:43:07 | 显示全部楼层 |阅读模式
我先下载安装了5.2.7版studio,尝试开发了一个小模块
然后又下载了5.2.7版的办公自动化,按部署说明的方法,覆盖了产品资源和产品数据库
结果发现:
1、原有自建数据表加载不回来了
2、程序执行出错
     协同平台>组织权限>组织管理:打开时报错,显示如下

编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT SA_OPOrg.*,SA_OPPerson as personID,SA_OPPerson.sName as personName,SA_OPPerson.sCode as personCode,SA_OPPerson.sNumb as personNumb,SA_OPPerson.sLoginName as personLoginName,SA_OPPerson.sPassword as personPassword,SA_OPPerson.sMainOrgID as personMainOrgID,SA_OPPerson.sIDCard as personIDCard,SA_OPPerson.sValidState as personValidState,SA_OPPerson.version as personVersion,SA_OPPerson.sSex as personSex,'' as ognName,'' as dptName,'' as posName FROM SA_OPOrg SA_OPOrg optional join SA_OPPerson SA_OPPerson on SA_OPOrg.sPersonID = SA_OPPerson WHERE ((1=0) AND (SA_OPOrg.sValidState = 1)) ORDER BY SA_OPOrg.sSequence asc LIMIT 0, 20
编码: JUSTEP154053; 提示: KSQL语法错误, columns中的列sMail必须包含在select查出列中

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)
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: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:595)
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT SA_OPOrg.*,SA_OPPerson as personID,SA_OPPerson.sName as personName,SA_OPPerson.sCode as personCode,SA_OPPerson.sNumb as personNumb,SA_OPPerson.sLoginName as personLoginName,SA_OPPerson.sPassword as personPassword,SA_OPPerson.sMainOrgID as personMainOrgID,SA_OPPerson.sIDCard as personIDCard,SA_OPPerson.sValidState as personValidState,SA_OPPerson.version as personVersion,SA_OPPerson.sSex as personSex,'' as ognName,'' as dptName,'' as posName FROM SA_OPOrg SA_OPOrg optional join SA_OPPerson SA_OPPerson on SA_OPOrg.sPersonID = SA_OPPerson WHERE ((1=0) AND (SA_OPOrg.sValidState = 1)) ORDER BY SA_OPOrg.sSequence asc LIMIT 0, 20
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 OrgProcedure.queryOPOrg(OrgProcedure.java:46)
... 25 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP154053; 提示: KSQL语法错误, columns中的列sMail必须包含在select查出列中
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.util.Utils.check(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.handleColumns(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.selectSentenceNode(Unknown Source)
at com.justep.system.ksql.parser.QueryParser.start(Unknown Source)
at com.justep.system.ksql.parser.QueryParser.start(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.parse(Unknown Source)
... 30 more



其他模块包括OA中模块,打开时也多有报错,请问怎么解决?

4

主题

17

帖子

46

积分

新手上路

Rank: 1

积分
46
QQ
 楼主| 发表于 2014-4-29 01:43:48 | 显示全部楼层
接上文30 more下,还有报错信息,应字数限制,所以发在这儿

url:/UI/system/service/common/bizAction.j
param:020trueError: {"message":"执行KSQL出错, KSQL: SELECT SA_OPOrg.*,SA_OPPerson as personID,SA_OPPerson.sName as personName,SA_OPPerson.sCode as personCode,SA_OPPerson.sNumb as personNumb,SA_OPPerson.sLoginName as personLoginName,SA_OPPerson.sPassword as personPassword,SA_OPPerson.sMainOrgID as personMainOrgID,SA_OPPerson.sIDCard as personIDCard,SA_OPPerson.sValidState as personValidState,SA_OPPerson.version as personVersion,SA_OPPerson.sSex as personSex,'' as ognName,'' as dptName,'' as posName FROM SA_OPOrg SA_OPOrg optional join SA_OPPerson SA_OPPerson on SA_OPOrg.sPersonID = SA_OPPerson WHERE ((1=0) AND (SA_OPOrg.sValidState = 1)) ORDER BY SA_OPOrg.sSequence asc LIMIT 0, 20,刷新数据失败! ","reason":null,"code":"JUSTEP150210","stack":"java.lang.reflect.InvocationTargetException\n\tat sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\n\tat java.lang.reflect.Method.invoke(Method.java:592)\n\tat com.justep.system.action.Engine.invokeActions(Native Method)\n\tat com.justep.system.action.Engine.invokeActions(Unknown Source)\n\tat com.justep.business.server.BusinessServer.doAction(Unknown Source)\n\tat com.justep.business.server.BusinessServer.doExcute(Unknown Source)\n\tat com.justep.business.server.BusinessServer.excute(Unknown Source)\n\tat com.justep.business.server.BusinessServerServlet.execService(Unknown Source)\n\tat com.justep.business.server.BusinessServerServlet.service(Unknown Source)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.justep.x.bs.BusinessServerServlet.service(Unknown Source)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:595)\nCaused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT SA_OPOrg.*,SA_OPPerson as personID,SA_OPPerson.sName as personName,SA_OPPerson.sCode as personCode,SA_OPPerson.sNumb as personNumb,SA_OPPerson.sLoginName as personLoginName,SA_OPPerson.sPassword as personPassword,SA_OPPerson.sMainOrgID as personMainOrgID,SA_OPPerson.sIDCard as personIDCard,SA_OPPerson.sValidState as personValidState,SA_OPPerson.version as personVersion,SA_OPPerson.sSex as personSex,'' as ognName,'' as dptName,'' as posName FROM SA_OPOrg SA_OPOrg optional join SA_OPPerson SA_OPPerson on SA_OPOrg.sPersonID = SA_OPPerson WHERE ((1=0) AND (SA_OPOrg.sValidState = 1)) ORDER BY SA_OPOrg.sSequence asc LIMIT 0, 20\n\tat com.justep.exception.BusinessException.create(Unknown Source)\n\tat com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)\n\tat com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)\n\tat com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)\n\tat com.justep.system.data.BizData.query(Unknown Source)\n\tat OrgProcedure.queryOPOrg(OrgProcedure.java:46)\n\t... 25 more\nCaused by: com.justep.exception.BusinessException: 编码: JUSTEP154053; 提示: KSQL语法错误, columns中的列sMail必须包含在select查出列中\n\tat com.justep.exception.BusinessException.create(Unknown Source)\n\tat com.justep.util.Utils.check(Unknown Source)\n\tat com.justep.system.ksql.parser.AbstractParser.handleColumns(Unknown Source)\n\tat com.justep.system.ksql.parser.AbstractParser.selectSentenceNode(Unknown Source)\n\tat com.justep.system.ksql.parser.QueryParser.start(Unknown Source)\n\tat com.justep.system.ksql.parser.QueryParser.start(Unknown Source)\n\tat com.justep.system.ksql.parser.AbstractParser.parse(Unknown Source)\n\t... 30 more\n","messages":["编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT SA_OPOrg.*,SA_OPPerson as personID,SA_OPPerson.sName as personName,SA_OPPerson.sCode as personCode,SA_OPPerson.sNumb as personNumb,SA_OPPerson.sLoginName as personLoginName,SA_OPPerson.sPassword as personPassword,SA_OPPerson.sMainOrgID as personMainOrgID,SA_OPPerson.sIDCard as personIDCard,SA_OPPerson.sValidState as personValidState,SA_OPPerson.version as personVersion,SA_OPPerson.sSex as personSex,'' as ognName,'' as dptName,'' as posName FROM SA_OPOrg SA_OPOrg optional join SA_OPPerson SA_OPPerson on SA_OPOrg.sPersonID = SA_OPPerson WHERE ((1=0) AND (SA_OPOrg.sValidState = 1)) ORDER BY SA_OPOrg.sSequence asc LIMIT 0, 20","编码: JUSTEP154053; 提示: KSQL语法错误, columns中的列sMail必须包含在select查出列中"],"url":"/UI/system/service/common/bizAction.j","param":"020true"}
at Object.errorMessage (http://localhost:8080/x5/$v0edddae2cc934dc0a1b2cc55ca3663e0/base/base.js?language=zh_CN:1:44941)
at Object.justep.Request.sendBizRequest2.callback (http://localhost:8080/x5/$vfddc9e8d6cf14121989d775581217403/component/data/data.js?language=zh_CN:1:8040)
at cbf (http://localhost:8080/x5/$v0edddae2cc934dc0a1b2cc55ca3663e0/base/base.js?language=zh_CN:1:57159)
at Object.sendRequest2 (http://localhost:8080/x5/$v0edddae2cc934dc0a1b2cc55ca3663e0/base/base.js?language=zh_CN:1:57403)
at Object.sendBizRequest2 (http://localhost:8080/x5/$v0edddae2cc934dc0a1b2cc55ca3663e0/base/base.js?language=zh_CN:1:92181)
at null._doRefreshData (http://localhost:8080/x5/$vfddc9e8d6cf14121989d775581217403/component/data/data.js?language=zh_CN:1:7416)
at null.doRefreshData (http://localhost:8080/x5/$vfddc9e8d6cf14121989d775581217403/component/data/data.js?language=zh_CN:1:27486)
at null.refreshData (http://localhost:8080/x5/$vfddc9e8d6cf14121989d775581217403/component/data/data.js?language=zh_CN:1:14019)
at Object.mainActivity.refreshListData (http://localhost:8080/x5/$vf3e0675fd6dc44d790c4797cf40bc67c/UI/SA/OPM/organization/mainActivity.js?language=zh_CN:241:11)
at Object.mainActivity.refreshTreeData (http://localhost:8080/x5/$vf3e0675fd6dc44d790c4797cf40bc67c/UI/SA/OPM/organization/mainActivity.js?language=zh_CN:186:16)

4

主题

17

帖子

46

积分

新手上路

Rank: 1

积分
46
QQ
 楼主| 发表于 2014-4-29 01:45:01 | 显示全部楼层
还有studio启动tomcat时也报错


2014-4-29 0:57:01 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\justepX5\X5.2.7_pre\X5.2.7\jdk\bin;.;C:\Windows\system32;C:\Windows;E:\justepX5\X5.2.7_pre\X5.2.7\jdk\jre\bin;C:\Windows\System32;C:\Windows\system32;C:\Windows\Downloaded Program Files\CONFLICT.2;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;c:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\
2014-4-29 0:57:02 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:141)
        at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
        at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
        at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
        at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
        at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
        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 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2014-4-29 0:57:02 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
        at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
        at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
        at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
        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 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2014-4-29 0:57:02 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1501 ms
2014-4-29 0:57:02 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2014-4-29 0:57:02 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
[JUSTEP_HOME in UIServer]: E:\justepX5\X5.2.7_pre\X5.2.7
[JUSTEP_HOME in BusinessServer]: E:\justepX5\X5.2.7_pre\X5.2.7
2014-04-29 00:57:17 BusinessServer debug mode --> true
许可信息
版本:开发版
2014-04-29 00:57:18 加载模块:/SA/OPM/system ...
2014-04-29 00:57:18 加载模块:/SA/OPM ...
2014-04-29 00:57:18 加载模块:/SA ...
2014-04-29 00:57:18 加载模块:/system/logic/action ...
2014-04-29 00:57:18 加载模块:/system/logic ...
2014-04-29 00:57:18 加载模块:/system ...
2014-04-29 00:57:18 加载模块:/system/data ...
2014-04-29 00:57:18 加载模块:/system/ontology ...
2014-04-29 00:57:18 加载模块:/system/logic/fn ...
2014-04-29 00:57:19 加载模块:/SA/OPM/logic/action ...
2014-04-29 00:57:19 加载模块:/SA/OPM/logic ...
2014-04-29 00:57:20 加载模块:/system/logic/code ...
2014-04-29 00:57:20 加载模块:/SA/OPM/logic/code ...
2014-04-29 00:57:20 加载模块:/SA/OPM/logic/code/orgSynchronize ...
2014-04-29 00:57:21 加载模块:/system/config ...
2014-04-29 00:57:21 BusinessServer started
2014-4-29 0:57:21 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2014-4-29 0:57:21 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2014-4-29 0:57:21 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2014-4-29 0:57:21 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2014-4-29 0:57:22 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2014-4-29 0:57:22 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2014-4-29 0:57:22 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory KW
2014-4-29 0:57:22 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2014-4-29 0:57:22 org.apache.coyote.http11.Http11Protocol start
严重: Error starting endpoint
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:141)
        at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
        at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:565)
        at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
        at org.apache.catalina.connector.Connector.start(Connector.java:1087)
        at org.apache.catalina.core.StandardService.start(StandardService.java:534)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2014-4-29 0:57:22 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
        at org.apache.catalina.connector.Connector.start(Connector.java:1094)
        at org.apache.catalina.core.StandardService.start(StandardService.java:534)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2014-4-29 0:57:22 org.apache.catalina.startup.Catalina start
信息: Server startup in 19985 ms
2014-4-29 0:57:22 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:662)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:614)
        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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

39

主题

1379

帖子

2464

积分

金牌会员

Rank: 6Rank: 6

积分
2464
发表于 2014-4-29 08:41:09 | 显示全部楼层
aking2000 发表于 2014-4-29 01:45
还有studio启动tomcat时也报错

楼主的tomcat启动有问题,检查一下数据源和端口

4

主题

17

帖子

46

积分

新手上路

Rank: 1

积分
46
QQ
 楼主| 发表于 2014-4-29 20:32:58 | 显示全部楼层
数据源和端口没问题,就是把OA的文件覆盖了一下5.2.7的文件,然后启动tomcat就开始报错,是不是5.2.7的tomcat和OA的tomcat不是一个版本造成的?

4

主题

17

帖子

46

积分

新手上路

Rank: 1

积分
46
QQ
 楼主| 发表于 2014-4-29 20:34:31 | 显示全部楼层
还是我少装了什么东西?OA没有安装,只是通过文件复制和覆盖

39

主题

1379

帖子

2464

积分

金牌会员

Rank: 6Rank: 6

积分
2464
发表于 2014-4-30 08:41:34 | 显示全部楼层
aking2000 发表于 2014-4-29 20:34
还是我少装了什么东西?OA没有安装,只是通过文件复制和覆盖

直接覆盖就可以啊,你的server.xml里的配置检查过吗?

4

主题

17

帖子

46

积分

新手上路

Rank: 1

积分
46
QQ
 楼主| 发表于 2014-4-30 09:56:44 | 显示全部楼层
apache-tomcat\conf\server.xml
server.rar (2.91 KB, 下载次数: 330)

39

主题

1379

帖子

2464

积分

金牌会员

Rank: 6Rank: 6

积分
2464
发表于 2014-4-30 10:00:26 | 显示全部楼层
aking2000 发表于 2014-4-30 09:56
apache-tomcat\conf\server.xml
  

楼主,我不知道你的数据库应该怎么连接啊,我的意思是你检查一下这个文件里的连接对不对,有的时候,studio里的设置可能是跟这个文件里不一致的

4

主题

17

帖子

46

积分

新手上路

Rank: 1

积分
46
QQ
 楼主| 发表于 2014-4-30 10:01:25 | 显示全部楼层
我用的是x5自带的mysql,需要从server.xml里读数据库链接信息吗?
高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

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

GMT+8, 2024-11-22 17:28 , Processed in 0.058901 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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