我试过,不过不是在weblogic里的,发表的文章如是中文就是?号,而且不知如何改它好...

解决方案 »

  1.   

    你要首先CLASSPATH中加入G:\weblogic\myserver\servletclasses让他能找到这个路径
      

  2.   

    你的jive.properties文件的实际位置要同path参数一致。
      

  3.   

    我的是tomcat,
    path=/tomcat/webapps/jive/WEB-INF/classes/jive.properties
    只要你按照帮助里的安装说明,应该是没有问题的
      

  4.   

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

  5.   

    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. 
      

  6.   

    哈哈,问题是这是一个演示JSP的程序,里面几乎包容了JSP的大部分功能,值得借鉴,如果你安装JIVE2只需要修改一个文件里面的一个语句就可以,即使是支持中文也只需要修改两个文件,在里面加一行语句就可以了。当然JIVE1.2的中文支持就很麻烦了。要修改n个文件,加一个同样的语句。可以看看我在文档区里面的文章。tomcat+jive的安装配置.