主题 : 求助:求助实验了机房N多个机器都是出现一样的错误,请管理员帮忙解决,谢谢!!
级别: 秀才
UID: 6358
积分:71 加为好友
威望: 0 精华: 0
主题:9 回复:17
注册时间:2010-05-04
在线时长:0
1#   发表于:2010-05-12 10:41:04  IP:222.71.*.*
详细错误信息

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 31 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
28:  String webXmlTo = "/WEB-INF/web.xml";
29:  //创建数据库
30:  if ("true".equals(isCreateDb)) {
31:  Install.createDb(dbHost, dbPort, dbName, dbUser, dbPassword);
32:  } else {
33:  Install.changeDbCharset(dbHost, dbPort, dbName, dbUser, dbPassword);
34:  }


An error occurred at line: 33 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
30:  if ("true".equals(isCreateDb)) {
31:  Install.createDb(dbHost, dbPort, dbName, dbUser, dbPassword);
32:  } else {
33:  Install.changeDbCharset(dbHost, dbPort, dbName, dbUser, dbPassword);
34:  }
35:  //创建表
36:  if ("true".equals(isCreateTable)) {


An error occurred at line: 38 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
35:  //创建表
36:  if ("true".equals(isCreateTable)) {
37:  String sqlPath = application.getRealPath(dbFileName);
38:  List<String> sqlList = Install.readSql(sqlPath);
39:  Install.createTable(dbHost, dbPort, dbName, dbUser, dbPassword,
40:  sqlList);
41:  }


An error occurred at line: 39 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
36:  if ("true".equals(isCreateTable)) {
37:  String sqlPath = application.getRealPath(dbFileName);
38:  List<String> sqlList = Install.readSql(sqlPath);
39:  Install.createTable(dbHost, dbPort, dbName, dbUser, dbPassword,
40:  sqlList);
41:  }
42:  //初始化数据


An error occurred at line: 45 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
42:  //初始化数据
43:  if ("true".equals(isInitData)) {
44:  String initPath = application.getRealPath(initFileName);
45:  List<String> initList = Install.readSql(initPath);
46:  Install.createTable(dbHost, dbPort, dbName, dbUser, dbPassword,
47:  initList);
48:  }


An error occurred at line: 46 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
43:  if ("true".equals(isInitData)) {
44:  String initPath = application.getRealPath(initFileName);
45:  List<String> initList = Install.readSql(initPath);
46:  Install.createTable(dbHost, dbPort, dbName, dbUser, dbPassword,
47:  initList);
48:  }
49:  //更新配置


An error occurred at line: 50 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
47:  initList);
48:  }
49:  //更新配置
50:  Install.updateConfig(dbHost, dbPort, dbName, dbUser, dbPassword,
51:  domain, cxtPath, port);
52:  //处理数据库配置文件
53:  String dbXmlPath = application.getRealPath(dbXmlFileName);


An error occurred at line: 54 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
51:  domain, cxtPath, port);
52:  //处理数据库配置文件
53:  String dbXmlPath = application.getRealPath(dbXmlFileName);
54:  Install
55:  .dbXml(dbXmlPath, dbHost, dbPort, dbName, dbUser,
56:  dbPassword);
57:  //处理web.xml


An error occurred at line: 60 in the jsp file: /jeecms/install/install_setup.jsp
Install cannot be resolved
57:  //处理web.xml
58:  String webXmlFromPath = application.getRealPath(webXmlFrom);
59:  String webXmlToPath = application.getRealPath(webXmlTo);
60:  Install.webXml(webXmlFromPath, webXmlToPath);
61: %>
62: 
63: <table width="600" align="center"


Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.
级别: 秀才
UID: 6358
积分:71 加为好友
威望: 0 精华: 0
主题:9 回复:17
注册时间:2010-05-04
在线时长:0
2#   发表于:2010-05-12 10:42:40  IP:222.71.*.*
我们机房的机器实验了大概5台都是出现同样的错误 不知道为什么。。。
级别: 秀才
UID: 6358
积分:71 加为好友
威望: 0 精华: 0
主题:9 回复:17
注册时间:2010-05-04
在线时长:0
3#   发表于:2010-05-12 10:45:29  IP:222.71.*.*
以前成功安装过了一次,不过机房都有还原。。。现在怎么安装也安装不上了。。。在以前没有安装过的机器上实验还是不行
级别: 秀才
UID: 6358
积分:71 加为好友
威望: 0 精华: 0
主题:9 回复:17
注册时间:2010-05-04
在线时长:0
4#   发表于:2010-05-12 11:38:08  IP:222.71.*.*
安装时候出的错  请版主帮忙啊
级别: 秀才
UID: 6358
积分:71 加为好友
威望: 0 精华: 0
主题:9 回复:17
注册时间:2010-05-04
在线时长:0
5#   发表于:2010-05-12 11:39:36  IP:222.71.*.*
TOMCAT 6.0  JDK jdk1.6.0_10  mysql 从本网站主页下的!
级别: 白丁
UID: 3
积分:2415 加为好友
威望: 0 精华: 0
主题:23 回复:1614
注册时间:2009-06-02
在线时长:0
6#   发表于:2010-05-12 20:43:33  IP:220.30.*.*
如果不行就采用手动安装的形式吧
1、拷贝install目录下的web.xml,覆盖web-inf下的同名文件
2、手动建立数据库
3、修改连接池配置文件
4、重启tomcat,访问站点
生命在于折腾!
1 共1页