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.
path=/tomcat/webapps/jive/WEB-INF/classes/jive.properties
只要你按照帮助里的安装说明,应该是没有问题的
我昨天刚好遇到跟你一样的问题
怎么改路径都是报一样的错后来发现,环境变量里servletclasses的路径设错了
说地明白些:
jive安装版解压缩后已经有一个classes目录了,jive.properties文件就放在里面
我把jive classes目录里的文件都COPY到配置的相关目录后,依照格式修改jive.properties文件中的路径,但程序死活不认,
原来,我classpath中加载的是jive解压缩的那个classes目录,不是真正系统配置过的那个classes目录.
所以,无论我怎么修改jive.properties 运行环境都去调用jive安装版里的那个jive.properties原始文件,你说怎么会对呢?
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# 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.