壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: keofcn

恩信 ERP安装配置好后登录出错

  [复制链接]
 楼主| 发表于 2011/9/15 16:42:49 | 显示全部楼层
jacknan 发表于 2011/9/15 16:24
路径不太对吧,应该是在tomcat/webapps/ERP/web-inf/classes/conf下的配置文件

路径是对的,我设置的是直接转进ERP系统目录,所以前面的那个路径没说
 楼主| 发表于 2011/9/15 16:45:41 | 显示全部楼层
本帖最后由 keofcn 于 2011/9/15 16:46 编辑

我是虚拟机测试的,只有一个恩信的在用,我也奇怪怎么数据库连接数占用那么大...但是感觉好像之前就先出现了那个getConnection(Unknown Source);后面才出现"Too many connections",觉得问题应该在前面
 楼主| 发表于 2011/9/15 16:51:47 | 显示全部楼层
本帖最后由 keofcn 于 2011/9/15 16:52 编辑

查询到LOGIN.JSP显示的源码里最后只到了下面这里,THIS都没完全显示出来
function replaceTexts() {
        for(var q = 0; q < texts.length; q++) {
                texts[q].style.width = texts[q].size * 10 + 'px';
                txtLeft = document.createElement('img'); txtLeft.src = imagesPath + "input_left.gif"; txtLeft.className = "inputCorner";
                txtRight = document.createElement('img'); txtRight.src = imagesPath + "input_right.gif"; txtRight.className = "inputCorner";
                texts[q].parentNode.insertBefore(txtLeft, texts[q]);
                texts[q].parentNode.insertBefore(txtRight, texts[q].nextSibling);
                texts[q].className = "textinput";
                //create hovers
                texts[q].onfocus = function() {
                        this.className = "textinputHovered";
                        th
发表于 2011/9/16 08:20:31 | 显示全部楼层
你都有改动哪些程序? 页面有问题  要不然你用try  catch一下
 楼主| 发表于 2011/9/16 08:29:43 | 显示全部楼层
数据库有改动,导入的时候按网上的代码做过类似改用:示例如下:
1)、查找定位INSERT INTO `ecommerce_cols_bottom`,把该插入语句中的'nseer'全部替换成'hwdz';

      2)、查找定位INSERT INTO `ecommerce_cols_top`,把该插入语句中的'nseer'全部替换成'hwdz';

      3)、查找定位INSERT INTO `ecommerce_colsa`,把该插入语句中的'nseer'全部替换成'hwdz';

      4)、查找定位INSERT INTO `ecommerce_web_base`,把该插入语句中的'nseer'全部替换成'hwdz';

      5)、查找定位INSERT INTO `security_license`,把该插入语句中的'nseer'全部替换成'hwdz';

      6)、查找定位INSERT INTO `security_users`,把该插入语句中的'nseer_admin'全部替换成'hwdz_admin';

      7)、替换“恩信科技开源ERP”成“深圳恒伟电子ERP”;

      8)、替换“恩信科技ERP”成“深圳恒伟电子ERP”;

      9)、查找定位INSERT INTO `unit_info`,把其中的'nseer'替换为'hwdz',,10,替换为,100,,

,然后数据库密码是自己设定的,但是后来我改回恩信的默认密码还是不行.其它的话就没有改动了.

另外:
我用的不是快速安装版的,程序安装是只有JDK6+tomcat7+mysql+恩信
没有装PHP和apache2
 楼主| 发表于 2011/9/16 08:56:50 | 显示全部楼层
昨晚调试一晚不行,后来把数据库用户名密码按恩信的默认给他加了个,然后把连接的那个配置文件给他还原,
今天开机测试LOGIN.JSP可以打开了,不过问题又返回起点了,登录后显示"对不起,附件容量超出限制."
 楼主| 发表于 2011/9/16 09:05:08 | 显示全部楼层
非快速安装还是有好处,LOG文件很详细,
附上现在运行的页面加载进度,麻烦jacknan老大帮我跟进下,先谢谢:

127.0.0.1 - - [16/Sep/2011:09:36:08 +0800] "GET /ERP/style/css/bs.css HTTP/1.1" 404 1015
127.0.0.1 - - [16/Sep/2011:09:36:08 +0800] "GET /ERP/images/ERPPlatform/design/nseer30.gif HTTP/1.1" 404 1078
127.0.0.1 - - [16/Sep/2011:09:36:08 +0800] "GET /ERP/images/ERPPlatform/design/nseer26.gif HTTP/1.1" 404 1078
127.0.0.1 - - [16/Sep/2011:09:36:08 +0800] "GET /ERP/images/ERPPlatform/design/nseer31.gif HTTP/1.1" 404 1078
127.0.0.1 - - [16/Sep/2011:09:36:08 +0800] "GET /ERP/home/image.jsp?Math.radom(); HTTP/1.1" 200 1193
127.0.0.1 - - [16/Sep/2011:09:36:17 +0800] "POST /ERP/work HTTP/1.1" 302 156
127.0.0.1 - - [16/Sep/2011:09:36:17 +0800] "GET /ERP/main/index1.jsp HTTP/1.1" 302 198
127.0.0.1 - - [16/Sep/2011:09:36:17 +0800] "GET /ERP/include/error_msg.jsp?finished_tag=1 HTTP/1.1" 200 2409
127.0.0.1 - - [16/Sep/2011:09:36:37 +0800] "GET /home/login.jsp HTTP/1.1" 404 997
127.0.0.1 - - [16/Sep/2011:09:36:47 +0800] "GET /ERP/style/css/bs.css HTTP/1.1" 404 1015
127.0.0.1 - - [16/Sep/2011:09:36:47 +0800] "GET /ERP/home/login.jsp HTTP/1.1" 200 31582
127.0.0.1 - - [16/Sep/2011:09:36:47 +0800] "GET /ERP/images/empty.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:47 +0800] "GET /ERP/images/P.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:47 +0800] "GET /ERP/images/close.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/L.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/Tminus.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/Lminus.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/I.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/Tplus.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/T.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/jsdoc.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/Lplus.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/open.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/bg_0ltop.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/bg_01.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/bg_0rtop.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/bg_03.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/gb.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/bg_04.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/bg_0lbottom.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/bg_02.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/bg_0rbottom.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer30.gif HTTP/1.1" 404 1078
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer16.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer12.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer13.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer32.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer33.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer26.gif HTTP/1.1" 404 1078
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer31.gif HTTP/1.1" 404 1078
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer20.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer25.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer18.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer24.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer5.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer15.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer17.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/ERPPlatform/design/nseer21.png HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/css/include/nseer_cookie/xml-css.css HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/home/niceforms-default.css HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/javascript/input_control/Check.js HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/main/0427.gif HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/home/image.jsp?Math.radom(); HTTP/1.1" 200 1277
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/home/login1.jpg HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/home/login5.jpg HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/home/login9.jpg HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/home/login3.jpg HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/home/refresh.jsp HTTP/1.1" 200 427
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/home/login6.jpg HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:48 +0800] "GET /ERP/images/home/login2.jpg HTTP/1.1" 304 -
127.0.0.1 - - [16/Sep/2011:09:36:57 +0800] "POST /ERP/work HTTP/1.1" 302 156
127.0.0.1 - - [16/Sep/2011:09:36:57 +0800] "GET /ERP/main/index1.jsp HTTP/1.1" 302 198
127.0.0.1 - - [16/Sep/2011:09:36:57 +0800] "GET /ERP/include/error_msg.jsp?finished_tag=1 HTTP/1.1" 200 2409
发表于 2011/9/16 11:26:08 | 显示全部楼层
LZ你发的这个看不到报错信息?
 楼主| 发表于 2011/9/16 13:00:09 | 显示全部楼层
本帖最后由 keofcn 于 2011/9/16 13:02 编辑

tomcat7-stderr.2011-09-16.log
  1. 2011-09-16 13:26:43 Commons Daemon procrun stderr initialized
  2. 2011-9-16 13:26:46 org.apache.catalina.core.AprLifecycleListener init
  3. 信息: Loaded APR based Apache Tomcat Native library 1.1.22.
  4. 2011-9-16 13:26:46 org.apache.catalina.core.AprLifecycleListener init
  5. 信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
  6. 2011-9-16 13:26:47 org.apache.tomcat.util.digester.SetPropertiesRule begin
  7. 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
  8. 2011-9-16 13:26:49 org.apache.coyote.AbstractProtocol init
  9. 信息: Initializing ProtocolHandler ["http-apr-8008"]
  10. 2011-9-16 13:26:49 org.apache.coyote.AbstractProtocol init
  11. 信息: Initializing ProtocolHandler ["ajp-apr-8009"]
  12. 2011-9-16 13:26:49 org.apache.catalina.startup.Catalina load
  13. 信息: Initialization processed in 4312 ms
  14. 2011-9-16 13:26:49 org.apache.catalina.core.StandardService startInternal
  15. 信息: Starting service Catalina
  16. 2011-9-16 13:26:49 org.apache.catalina.core.StandardEngine startInternal
  17. 信息: Starting Servlet Engine: Apache Tomcat/7.0.21
  18. 2011-9-16 13:27:03 org.apache.catalina.startup.TaglibUriRule body
  19. 信息: TLD skipped. URI: http://fckeditor.net/tags-fckeditor is already defined
  20. 2011-9-16 13:27:03 org.apache.catalina.startup.TaglibUriRule body
  21. 信息: TLD skipped. URI: http://fckeditor.net/tags-fckeditor is already defined
  22. 2011-9-16 13:27:08 org.apache.catalina.startup.HostConfig deployDirectory
  23. 信息: Deploying web application directory host-manager
  24. 2011-9-16 13:27:08 org.apache.catalina.startup.HostConfig deployDirectory
  25. 信息: Deploying web application directory manager
  26. 2011-9-16 13:27:08 org.apache.catalina.startup.HostConfig deployDirectory
  27. 信息: Deploying web application directory ROOT
  28. 2011-9-16 13:27:08 org.apache.coyote.AbstractProtocol start
  29. 信息: Starting ProtocolHandler ["http-apr-8008"]
  30. 2011-9-16 13:27:08 org.apache.coyote.AbstractProtocol start
  31. 信息: Starting ProtocolHandler ["ajp-apr-8009"]
  32. 2011-9-16 13:27:08 org.apache.catalina.startup.Catalina start
  33. 信息: Server startup in 19006 ms
  34. org.apache.jasper.JasperException: /main/index1.jsp (line: 10, column: 122) The JSP specification requires that an attribute name is preceded by whitespace
  35. at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
  36. at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408)
  37. at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:89)
  38. at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:164)
  39. at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:183)
  40. at org.apache.jasper.compiler.ParserController.getPageEncodingForJspSyntax(ParserController.java:479)
  41. at org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:420)
  42. at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:190)
  43. at org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:119)
  44. at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:193)
  45. at org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
  46. at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
  47. at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
  48. at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:644)
  49. at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
  50. at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
  51. at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
  52. at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  53. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
  54. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  55. at include.anti_repeat_submit.SubmitFilter.doFilter(SubmitFilter.java:57)
  56. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  57. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  58. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
  59. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
  60. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  61. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
  62. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
  63. at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
  64. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  65. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
  66. at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269)
  67. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
  68. at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773)
  69. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
  70. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  71. at java.lang.Thread.run(Unknown Source)
复制代码
localhost_access_log.2011-09-16.txt
  1. 127.0.0.1 - - [16/Sep/2011:13:27:09 +0800] "GET /ERP/style/css/bs.css HTTP/1.1" 404 1015
  2. 127.0.0.1 - - [16/Sep/2011:13:27:09 +0800] "GET /ERP/images/ERPPlatform/design/nseer30.gif HTTP/1.1" 404 1078
  3. 127.0.0.1 - - [16/Sep/2011:13:27:09 +0800] "GET /ERP/images/ERPPlatform/design/nseer26.gif HTTP/1.1" 404 1078
  4. 127.0.0.1 - - [16/Sep/2011:13:27:09 +0800] "GET /ERP/images/ERPPlatform/design/nseer31.gif HTTP/1.1" 404 1078
  5. 127.0.0.1 - - [16/Sep/2011:13:27:11 +0800] "GET /ERP/home/refresh.jsp HTTP/1.1" 200 427
  6. 127.0.0.1 - - [16/Sep/2011:13:27:11 +0800] "GET /ERP/home/image.jsp?Math.radom(); HTTP/1.1" 200 1257
  7. 127.0.0.1 - - [16/Sep/2011:13:27:19 +0800] "POST /ERP/work HTTP/1.1" 302 156
  8. 127.0.0.1 - - [16/Sep/2011:13:27:19 +0800] "GET /ERP/main/index1.jsp HTTP/1.1" 302 198
  9. 127.0.0.1 - - [16/Sep/2011:13:27:19 +0800] "GET /ERP/include/error_msg.jsp?finished_tag=1 HTTP/1.1" 200 2409
复制代码
localhost.2011-09-16.log
  1. 2011-9-16 13:27:07 org.apache.catalina.core.ApplicationContext log
  2. 信息: 定时器启动
  3. 2011-9-16 13:27:07 org.apache.catalina.core.ApplicationContext log
  4. 信息: 添加任务调度表
  5. 2011-9-16 13:27:07 org.apache.catalina.core.ApplicationContext log
  6. 信息: org.tuckey.web.filters.urlrewrite.utils.Log ERROR: logLevelConf: null
  7. 2011-9-16 13:27:08 org.apache.catalina.core.ApplicationContext log
  8. 信息: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
复制代码


这三个文件是发觉有报错的,由
localhost_access_log.2011-09-16.txt
的信息可以看出最终错误是从/ERP/main/index1.jsp引发转过去的,但是我不知道是哪个节点了...



发表于 2011/9/17 08:32:25 | 显示全部楼层
/main/index1.jsp   看下这个文件第10行 122是什么内容?
 楼主| 发表于 2011/9/19 08:42:42 | 显示全部楼层
INDEX1.JSP
  1. <!--
  2. *this file is part of nseer ERP
  3. *Copyright (C)2006-2010 Nseer(Beijing) Technology co.LTD/http://www.nseer.com
  4. *
  5. *This program is free software; you can redistribute it and/or
  6. *modify it under the terms of the GNU General Public License
  7. *as published by the Free Software Foundation; either
  8. *version 2 of the License, or (at your option) any later version.
  9. -->
  10. <%@page contentType="text/html; charset=UTF-8" language="java" import ="include.nseer_db.*,java.sql.*"import="java.util.*" import="java.io.*" import="java.text.*"%>
  11. <jsp:useBean id="browercheck" scope="session" class="include.nseer_cookie.BrowerVer"/>
  12. <%
  13. nseer_db ERP_db = new nseer_db((String)session.getAttribute("unit_db_name"));
  14. if(session.getAttribute("human_IDD")==null) response.sendRedirect("../home/login.jsp");
  15. %>
  16. <jsp:useBean id="demo" class="include.tree_index.businessComment" scope="page" />
  17. <%demo.setPath(request);%>
  18. <html>
  19. <head>
  20. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  21. <meta name="ProgId" content="FrontPage.Editor.Document">
  22. <title><%=demo.getLang("ERP","欢迎使用恩信科技开源ERP")%></title>
  23. <script language="JavaScript" type="text/JavaScript">
  24. function MM_reloadPage(init){ //reloads the window if Nav4 resized
  25. if (init==true) with (navigator){if ((appName=="Netscape")&&(parseInt(appVersion)==4)){
  26. document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  27. else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
  28. }
  29. MM_reloadPage(true);
  30. </script>
  31. <Script>
  32. function onClose(){
  33. if(window.screenTop>10000){
  34. var targeturl="auto_logout.jsp"
  35. newwin=window.open("","","scrollbars,Toolbar=yes")
  36. if (document.all){
  37. newwin.moveTo(0,0)
  38. newwin.resizeTo(80,60)
  39. }
  40. newwin.location=targeturl
  41. }
  42. }
  43. window.onunload=onClose
  44. </Script>
  45. <%
  46. String user_ID=(String)session.getAttribute("human_IDD");
  47. int i=0;
  48. int x=0;
  49. int mod_amount=0;
  50. nseer_db db = new nseer_db((String)session.getAttribute("unit_db_name"));
  51. nseer_db db1 = new nseer_db((String)session.getAttribute("unit_db_name"));
  52. String sqla="select * from document_main where value!='开发管理' order by id";
  53. ResultSet rsa=db.executeQuery(sqla);
  54. while(rsa.next()){
  55. String tablename=rsa.getString("reason")+"_view";
  56. String sql1="select * from "+tablename+" where human_ID='"+user_ID+"'";
  57. ResultSet rs1=db1.executeQuery(sql1);
  58. if(rs1.next()&&!rsa.getString("reason").equals("ERPPlatform")&&!rsa.getString("reason").equals("draft")&&!rsa.getString("reason").equals("garbage")){
  59. mod_amount++;
  60. }
  61. }
  62. int height=65;
  63. %>
  64. </head>
  65. <%
  66. ERP_db.close();
  67. db.close();
  68. db1.close();
  69. %>
  70. <frameset rows="<%=height%>,*,20" framespacing="0" border="1" onunload="onClose()" id="indexFrm">
  71. <frame src="index_top1.jsp" name="top" frameborder="no" scrolling="no" marginwidth="1" marginheight="1" target="a">
  72. <frame src="index_middle1.jsp" name="a" frameborder="no" marginwidth="1" marginheight="1">
  73. <frame src="index_bottom1.jsp" name="bottom" frameborder="no" scrolling="no" marginwidth="1" marginheight="1" target="bottom">
  74. <noframes>
  75. <body topmargin="0" leftmargin="0" bgcolor="#b5daff">
  76. </body>
  77. </noframes>
  78. </frameset>
  79. </html>
复制代码
发表于 2011/9/19 10:51:51 | 显示全部楼层
LZ说下你运行环境都是什么的  例如:JDK哪个版本?
 楼主| 发表于 2011/9/19 12:06:20 | 显示全部楼层
tomcat7.0.21+jdk-6u26+mysql 5.1.32+winxp
发表于 2011/9/19 21:32:29 | 显示全部楼层
今天有点事情  明天给你回复。
发表于 2011/9/20 15:18:17 | 显示全部楼层
LZ问题搞定了吗?  
发表于 2011/9/20 15:18:41 | 显示全部楼层
标准配置:tomcat5.0.28+mysql5.1+jdk1.6   
发表于 2011/9/26 13:45:13 | 显示全部楼层
LZ问题已经解决了吗?  其实我建议你还是使用我们网上的公有云ERP,而且购买我们私有云赠送硬件集成服务器,家电即用避免了安装过程。。。
 楼主| 发表于 2011/9/26 15:23:43 | 显示全部楼层
最近有几天没登录,谢谢版主先。。。我再测试下吧
发表于 2011/9/26 16:49:03 | 显示全部楼层
只要是不改动任何地方,直接部署肯定是能正常使用。
发表于 2011/10/14 14:33:28 | 显示全部楼层
LZ最近很长时间没有提问题了{:soso_e160:}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 13:12 , Processed in 0.018619 second(s), 13 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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