»  游客: 登录 | 注册   当前位置:  论坛首页 »  云网论坛 »  CWBBS Bug及建议
7101/1页1
发新贴子 回复贴子      浏览上一篇主题    刷新本主题   浏览下一篇主题  您是本帖第 579个阅读者
 主题:急!!!!!!!!setup时出错 [全部贴] [楼主贴] [打印] [收藏] 
gm008
等级:初入江湖
经验:443
信用:65
金币:755
发贴:9
精华:0
注册:2008-9-16
状态:离线
在线:20小时
 (0)     (0)
gm008的个人资料   发送短消息息给gm008   发送电邮给gm008   复制这个帖子   引用回复这个帖子   回复这个帖子      

急!!!!!!!!setup时出错

HTTP Status 500 -

--------------------------------------------------------------------------------

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: 15 in the jsp file: /setup.jsp
ParamUtil cannot be resolved
12:                  java.lang.reflect.*"
13: %>
14: <%
15: String op = ParamUtil.get(request, "op");
16: if(op.equals("select")){
17:  String db = ParamUtil.get(request, "db");
18:  if(db.equals("mysql"))


An error occurred at line: 17 in the jsp file: /setup.jsp
ParamUtil cannot be resolved
14: <%
15: String op = ParamUtil.get(request, "op");
16: if(op.equals("select")){
17:  String db = ParamUtil.get(request, "db");
18:  if(db.equals("mysql"))
19:   response.sendRedirect("setup2_mysql.jsp");
20:  else if(db.equals("oracle"))


An error occurred at line: 25 in the jsp file: /setup.jsp
StrUtil cannot be resolved
22:  else if(db.equals("mssql"))
23:   response.sendRedirect("setup2_mssql.jsp");
24:  else
25:   out.print(StrUtil.Alert_Redirect("璇烽�鎷╂暟鎹簱绫诲瀷!", "setup.jsp"));
26: }
27: %>
28:


An error occurred at line: 30 in the jsp file: /setup.jsp
XMLConfig cannot be resolved to a type
27: %>
28:
29: <%
30: XMLConfig cfg = new XMLConfig("config_cws.xml", false, "utf-8");
31: %>
32: <title>浜戠綉绀惧尯瀹夎</title>
33: <link rel="stylesheet" type="text/css" href="../common.css">


An error occurred at line: 30 in the jsp file: /setup.jsp
XMLConfig cannot be resolved to a type
27: %>
28:
29: <%
30: XMLConfig cfg = new XMLConfig("config_cws.xml", false, "utf-8");
31: %>
32: <title>浜戠綉绀惧尯瀹夎</title>
33: <link rel="stylesheet" type="text/css" href="../common.css">


An error occurred at line: 181 in the jsp file: /setup.jsp
PropertiesUtil cannot be resolved to a type
178:   boolean cacheError = false;
179:   String errorCacheMessage = "";
180:   
181:   PropertiesUtil pu = new PropertiesUtil(cloudHome + "WEB-INF" + File.separator + "log4j.properties");
182:   pu.setValue("log4j.appender.R.File", cloudHome.replaceAll("\\\\","/") + "log/community.log");
183:   pu.saveFile(cloudHome + "WEB-INF" + File.separator + "log4j.properties");
184:   


An error occurred at line: 181 in the jsp file: /setup.jsp
PropertiesUtil cannot be resolved to a type
178:   boolean cacheError = false;
179:   String errorCacheMessage = "";
180:   
181:   PropertiesUtil pu = new PropertiesUtil(cloudHome + "WEB-INF" + File.separator + "log4j.properties");
182:   pu.setValue("log4j.appender.R.File", cloudHome.replaceAll("\\\\","/") + "log/community.log");
183:   pu.saveFile(cloudHome + "WEB-INF" + File.separator + "log4j.properties");
184:   


An error occurred at line: 186 in the jsp file: /setup.jsp
PropertiesUtil cannot be resolved to a type
183:   pu.saveFile(cloudHome + "WEB-INF" + File.separator + "log4j.properties");
184:   
185:   java.net.URL cfgURL = getClass().getClassLoader().getResource("cache.ccf");
186:   PropertiesUtil pucache = new PropertiesUtil(java.net.URLDecoder.decode(cfgURL.getFile()));
187:   pucache.setValue("jcs.auxiliary.DC.attributes.DiskPath", cloudHome.replaceAll("\\\\","/") + "CacheTemp");
188:   pucache.saveFile(java.net.URLDecoder.decode(cfgURL.getFile()));
189:


An error occurred at line: 186 in the jsp file: /setup.jsp
PropertiesUtil cannot be resolved to a type
183:   pu.saveFile(cloudHome + "WEB-INF" + File.separator + "log4j.properties");
184:   
185:   java.net.URL cfgURL = getClass().getClassLoader().getResource("cache.ccf");
186:   PropertiesUtil pucache = new PropertiesUtil(java.net.URLDecoder.decode(cfgURL.getFile()));
187:   pucache.setValue("jcs.auxiliary.DC.attributes.DiskPath", cloudHome.replaceAll("\\\\","/") + "CacheTemp");
188:   pucache.saveFile(java.net.URLDecoder.decode(cfgURL.getFile()));
189:


An error occurred at line: 239 in the jsp file: /setup.jsp
Global cannot be resolved
236:      if (readable && writable) {
237:       cfg.set("Application.useCache", "true");
238:       cfg.writemodify();
239:       Global.init(); 
240:      } 
241:      else {
242:          cfg.set("Application.useCache", "true");


An error occurred at line: 244 in the jsp file: /setup.jsp
Global cannot be resolved
241:      else {
242:          cfg.set("Application.useCache", "true");
243:       cfg.writemodify();
244:       Global.init(); 
245:      }      
246:      // 妫�煡FileUploadTmp鐩綍涓婁紶鏄惁鏈夎鍐欐潈闄�    
247:      readable = fileUpload.canRead();


An error occurred at line: 334 in the jsp file: /setup.jsp
StrUtil cannot be resolved
331:   }
332:   catch (Exception e) {
333:    e.printStackTrace();
334:    out.print(StrUtil.toHtml(StrUtil.trace(e)));
335:    propError = true;
336:             errorMessage = "妫�煡<tt>" + cloudHome + "</tt>鐩綍鏃跺彂鐢熷紓甯搞�" +
337:     "璇风‘璁や綘瀹夎鐨勬槸浜戠綉璁哄潧绋嬪簭鏄惁瀹屾暣锛�;


An error occurred at line: 334 in the jsp file: /setup.jsp
StrUtil cannot be resolved
331:   }
332:   catch (Exception e) {
333:    e.printStackTrace();
334:    out.print(StrUtil.toHtml(StrUtil.trace(e)));
335:    propError = true;
336:             errorMessage = "妫�煡<tt>" + cloudHome + "</tt>鐩綍鏃跺彂鐢熷紓甯搞�" +
337:     "璇风‘璁や綘瀹夎鐨勬槸浜戠綉璁哄潧绋嬪簭鏄惁瀹屾暣锛�;


Stacktrace:
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:729)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.27


IP:您无权察看 2008-9-22 9:43:34
 操作  楼主   顶端
bluewind
总版主
CWBBS Team
等级:无所不能
经验:17981
信用:14412
金币:33922
发贴:61
精华:0
注册:2006-8-10
状态:离线
在线:2570小时
 (1792)     (2)
bluewind的个人资料   发送短消息息给bluewind   发送电邮给bluewind   复制这个帖子   引用回复这个帖子   回复这个帖子      

回复:急!!!!!!!!setup时出错
有没有检查过web-inf/classes/cache.ccf中的路径是否正确?

----------------------------------------------
努力做最好的JAVA社区软件 QQ:51066962 MSN:redmoonroom@hotmail.com
IP:您无权察看 2008-9-22 10:29:37
 操作  2  楼   顶端
gm008
等级:初入江湖
经验:443
信用:65
金币:755
发贴:9
精华:0
注册:2008-9-16
状态:离线
在线:20小时
 (0)     (0)
gm008的个人资料   发送短消息息给gm008   发送电邮给gm008   复制这个帖子   引用回复这个帖子   回复这个帖子      

回复:急!!!!!!!!setup时出错

又出现了个新错误

欢迎您使用云网社区 版本2.4RC
在安装继续进行前,你的服务器环境必须通过以下所有检查:
    安装工具检测到你正运行在 Apache Tomcat/5.0.28
    你的JDK版本为1.2或者更新。
    你的应用服务器支持servlet 2.2或者更新。
    所有的应用程序包都安装正确。
      云网论坛内核 (forum.jar)
      文本搜索引擎Lucene (lucene.jar)(中文支持)
      JavaMail支持 (mail.jar, activation.jar,)
      JDBC 2.0 扩展 (jdbc2_0-stdext.jar)
    目录D:\tomcat-5.0.28\webapps\orange\bak\无法读入
    目录D:\tomcat-5.0.28\webapps\orange\bak\无法写入
    目录D:\tomcat-5.0.28\webapps\orange\forum\images\theme\无法读入
    目录D:\tomcat-5.0.28\webapps\orange\forum\images\theme\无法写入
安装初始化检查过程中发现错误,请更正,然后重新启动服务器重新开始安装过程。


IP:您无权察看 2008-9-22 11:23:49
 操作  3  楼   顶端
bluewind
总版主
CWBBS Team
等级:无所不能
经验:17981
信用:14412
金币:33922
发贴:61
精华:0
注册:2006-8-10
状态:离线
在线:2570小时
 (1792)     (2)
bluewind的个人资料   发送短消息息给bluewind   发送电邮给bluewind   复制这个帖子   引用回复这个帖子   回复这个帖子      

回复:急!!!!!!!!setup时出错
无法读写的文件夹要赋予相应权限,或者创建

----------------------------------------------
努力做最好的JAVA社区软件 QQ:51066962 MSN:redmoonroom@hotmail.com
IP:您无权察看 2008-9-22 13:09:54
 操作  4  楼   顶端
gm008
等级:初入江湖
经验:443
信用:65
金币:755
发贴:9
精华:0
注册:2008-9-16
状态:离线
在线:20小时
 (0)     (0)
gm008的个人资料   发送短消息息给gm008   发送电邮给gm008   复制这个帖子   引用回复这个帖子   回复这个帖子      

回复:急!!!!!!!!setup时出错

这个问题解决了谢谢版主现在就是

我把下载的文件解压到一个文件夹中将他直接放到tomcat的webapps下不会有问题后台安装都可以正常运行,但是我配成虚拟主机setup时就报最上面我发的哪个错误


IP:您无权察看 2008-9-22 13:19:39
 操作  5  楼   顶端
bluewind
总版主
CWBBS Team
等级:无所不能
经验:17981
信用:14412
金币:33922
发贴:61
精华:0
注册:2006-8-10
状态:离线
在线:2570小时
 (1792)     (2)
bluewind的个人资料   发送短消息息给bluewind   发送电邮给bluewind   复制这个帖子   引用回复这个帖子   回复这个帖子      

回复:急!!!!!!!!setup时出错
虚拟主机中受空间商的权限限制,可能会存在诸多问题,有时需要虚拟主机提供商协助解决,建议采用万网或者时代互联的空间,有网友在这两个上面成功安装过

----------------------------------------------
努力做最好的JAVA社区软件 QQ:51066962 MSN:redmoonroom@hotmail.com
IP:您无权察看 2008-9-22 21:45:14
 操作  6  楼   顶端
两年
版主
等级:初入江湖
经验:654
信用:71
金币:1160
发贴:6
精华:1
注册:2007-1-19
状态:离线
在线:71小时
 (0)     (0)
两年的个人资料   发送短消息息给两年   发送电邮给两年   复制这个帖子   引用回复这个帖子   回复这个帖子   主页      

回复:急!!!!!!!!setup时出错

FTP上传的时候将文件夹的权限改为777

第一种、linux 服务器只需将所需修改文件权限的目录属性修改为为777即可,具体方法如下

右键文件夹-“属性”,如图 1 所示:



将“权限”项中的数字改为“777”,确定即可(前提是您的帐号有修改文件属性的权限),如图  2 所示:




第二种、win主机给 IIS 来宾帐户可读写属性即可,具体方法如下

右键文件夹-属性-安全,如 3 所示:



点“添加”按钮得到如图 4 所示界面:



点“高级”按钮得到如图 5 所示的界面:



点击“立即查找”按钮得到如图 6 所示界面:



从“搜索结果”中找到以“IUSR_”开头的用户点击“确定”,得到如图  7 所示的界面:



接着点“确定”按钮得到如图 8 所示的界面:



点“确定即可”,自此win主机设置 IIS 来宾帐户可读写属性完毕!

参考一下吧


IP:您无权察看 2008-9-23 1:55:47
 操作  7  楼   顶端
7101/1页1
发新贴子 回复贴子
页面运行: 1594 毫秒

Powered by CWBBS 2.4RC  © 2005-2007 Cloud Web Soft  Gzip enabled  wap2.0
站务联系:QQ: 51066962  Email:welcome#cloudwebsoft.com
苏ICP备08105450号