有谁试通过jive-jsp讨论区程序?

myair 2001-05-22 11:17:00
有谁试通过jive-jsp讨论区程序?

我调试时,他说: he Jive properties were successfully loaded. However, the path field was not set which prevents Jive from being able to save properties to the filesystem. Edit the properties file and add a path field that looks something like: 'path=c:\\path\\to\\jive.properties' or 'path=/path/to/jive.properties'

我的jive.properties是这样写的:
path=G:\\weblogic\\myserver\\servletclasses\\jive.properties

不直出了什么问题?
...全文
171 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
cherami 2001-09-16
  • 打赏
  • 举报
回复
哈哈,问题是这是一个演示JSP的程序,里面几乎包容了JSP的大部分功能,值得借鉴,如果你安装JIVE2只需要修改一个文件里面的一个语句就可以,即使是支持中文也只需要修改两个文件,在里面加一行语句就可以了。当然JIVE1.2的中文支持就很麻烦了。要修改n个文件,加一个同样的语句。可以看看我在文档区里面的文章。tomcat+jive的安装配置.
zengxz 2001-09-14
  • 打赏
  • 举报
回复
我装成功了,修改了里面n多的语句,中文没问题。但是我实在搞不懂,这么差的软件也拿出来卖,好像还搞得比较热闹的!
olvest4000 2001-09-09
  • 打赏
  • 举报
回复
jive是什么?
cherami 2001-09-09
  • 打赏
  • 举报
回复
Weblogic Setup Guide

This installation guide will help you get Jive installed under Weblogic 5.1 (instructions may be applicable for other versions of Weblogic as well).

Server Setup

Because the skins, admin, and installation tools are written in JSP, you need to make sure that JSP and sessions are turned on in your copy of Weblogic. You should consult your Weblogic documentation for more details. However, the setup boils down to entries in your weblogic.properties file similar to the ones below:


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# WEBLOGIC JSP PROPERTIES
# ------------------------------------------------
# Sets up automatic page compilation for JSP. Adjust init
# args for directory locations. You may want to use
# Jikes for fast compilation of pages.
weblogic.httpd.register.*.jsp= weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp= pageCheckSeconds=0, compileCommand=c:/jdk1.3/bin/javac.exe, workingDir=C:/weblogic/myserver/classfiles, keepgenerated=true, verbose=true

# Enables HTTP sessions
weblogic.httpd.session.enable=true




Install Application Files

Add the Jive JAR files to Weblogic's classpath (all the .jar files in the "application" directory of the Jive distribution).

Setup the jive.properties File

Next, copy jive.properties (found in the classes directory of the Jive distribution) to somewhere in your classpath. For example: [WEBLOGIC]\myserver\servletclasses. You need to edit the file and set the path property correctly such as in the example below:


# jive.properties

# Note: you MUST edit this file to make Jive work. After copying this file into the
# the classpath of your servlet engine, change the "path" paramater to the full and exact
# path of where this file exists.

# example: path = /home/web/jrun/classes/jive.properties
# or c:\\path\\dir\\jive.properties
path = c:\\weblogic\\myserver\\servletclasses\\jive.properties





Install Skins
Copy the skins to [WEBLOGIC]\myserver\public_html\skins (or a directory of your choice under public_html).

You're now ready to continue on to the web-based setup tool.

handbread 2001-05-29
  • 打赏
  • 举报
回复
哈哈哈哈
我昨天刚好遇到跟你一样的问题
怎么改路径都是报一样的错

后来发现,环境变量里servletclasses的路径设错了
说地明白些:
jive安装版解压缩后已经有一个classes目录了,jive.properties文件就放在里面
我把jive classes目录里的文件都COPY到配置的相关目录后,依照格式修改jive.properties文件中的路径,但程序死活不认,
原来,我classpath中加载的是jive解压缩的那个classes目录,不是真正系统配置过的那个classes目录.
所以,无论我怎么修改jive.properties 运行环境都去调用jive安装版里的那个jive.properties原始文件,你说怎么会对呢?
qiren 2001-05-28
  • 打赏
  • 举报
回复
重起一下服务
ezhb 2001-05-27
  • 打赏
  • 举报
回复
x86(大雪),你装成功了后,论坛可支持中文?
x86 2001-05-24
  • 打赏
  • 举报
回复
我的是tomcat,
path=/tomcat/webapps/jive/WEB-INF/classes/jive.properties
只要你按照帮助里的安装说明,应该是没有问题的
howlet 2001-05-24
  • 打赏
  • 举报
回复
你的jive.properties文件的实际位置要同path参数一致。
dhlxmy 2001-05-22
  • 打赏
  • 举报
回复
你要首先CLASSPATH中加入G:\weblogic\myserver\servletclasses让他能找到这个路径
ezhb 2001-05-22
  • 打赏
  • 举报
回复
我试过,不过不是在weblogic里的,发表的文章如是中文就是?号,而且不知如何改它好...

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧