jivejdon配置问题

limbo 13-11-21
    

我下载了jivejdon 4.6。按照install_cn.txt中的步骤配置完后,启动tomcat报错:javax.security.auth.login.LoginException: 没有为JiveJdonRealm配置 LoginModules,在tomcat/conf/jaas.config 文件中只有一句:

JiveJdonRealm {
com.jdon.jivejdon.auth.jaas.JiveJdonLoginMoudle required;
};

请高手指点一二,怎么配置,还有哪里缺少什么配置啊?

    

banq
2013-11-21 14:35

源码目录DOC下中文安装文档,按照步骤安装即可。

limbo
2013-11-21 14:46

2013-11-21 14:35 "@banq"的内容
源码目录DOC下中文安装文档,按照步骤安装即可。 ...


我按照源码doc/install.txt中的步骤安装完成后,打开http://localhost:8080/jivejdon。在tomcat控制台会会出现,


2013-11-21 14:44:52 ERROR [SetupDaoSql.java:56] com.jdon.jivejdon.repository.dao.sql.SetupDaoSql.getSetupValue() - java.sql.SQLException: SQLException: Cannot create JDBC driver of class '' for connect URL 'null'
2013-11-21 14:44:53 INFO [ContainerDirector.java:78] JdonFramework.startup() - Jdon Framework started successfully!
2013-11-21 14:44:53 ERROR [SetupDaoSql.java:56] com.jdon.jivejdon.repository.dao.sql.SetupDaoSql.getSetupValue() - java.sql.SQLException: SQLException: Cannot create JDBC driver of class '' for connect URL 'null'
2013-11-21 14:44:53 ERROR [SetupDaoSql.java:56] com.jdon.jivejdon.repository.dao.sql.SetupDaoSql.getSetupValue() - java.sql.SQLException: SQLException: Cannot create JDBC driver of class '' for connect URL 'null'
2013-11-21 14:44:53 ERROR [SetupDaoSql.java:69] com.jdon.jivejdon.repository.dao.sql.SetupDaoSql.saveSetupValue() - java.sql.SQLException: SQLException: Cannot create JDBC driver of class '' for connect URL 'null'
2013-11-21 14:44:53 ERROR [BlockQueryJDBCTemp.java:138] com.jdon.util.Debug.fetchDatas() - com.jdon.model.query.block.BlockQueryJDBCTemp
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at com.jdon.model.query.block.BlockQueryJDBCTemp.fetchDatas(BlockQueryJDBCTemp.java:112)
at com.jdon.model.query.block.BlockStrategy.getBlockKeys(BlockStrategy.java:229)
at com.jdon.model.query.block.BlockStrategy.getBlock(BlockStrategy.java:173)
at com.jdon.model.query.block.BlockStrategy.getBlock(BlockStrategy.java:151)
at com.jdon.model.query.PageIteratorSolver.getBlock(PageIteratorSolver.java:285)
at com.jdon.model.query.PageIteratorSolver.getPageIterator(PageIteratorSolver.java:247)
at com.jdon.model.query.PageIteratorSolver.getDatas(PageIteratorSolver.java:183)
at com.jdon.model.query.PageIteratorSolver.getPageIterator(PageIteratorSolver.java:212)
at com.jdon.jivejdon.repository.dao.sql.ForumDaoSql.getForums(ForumDaoSql.java:191)
at com.jdon.jivejdon.repository.dao.ForumDao$$FastClassByCGLIB$$fa2d12b2.invoke(<generated>)

banq
2013-11-21 14:50

Cannot create JDBC driver of class '' for connect URL 'null'

这是JDBC没有配置好。
检查WEB-INF\META-INF/context.xml是否配置用户名和密码

JDBC的驱动.jar是否在tomcat/lib目录下。

limbo
2013-11-21 15:58

2013-11-21 14:50 "@banq"的内容
检查WEB-INF\META-INF/context.xml是否配置用户名和密码 ...

恩,是不是版本的问题呢,我换了tomca6,重新配置了一遍,启动正常了,没有报错,但是登陆的时候会提示


十一月 21, 2013 3:49:50 下午 org.apache.catalina.realm.JAASRealm authenticate
SEVERE: Unexpected error
javax.security.auth.login.LoginException: 没有为JiveJdonRealm配置 LoginModules
at javax.security.auth.login.LoginContext.init(LoginContext.java:273)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:418
.....................
ip=127.0.0.1 has 1 times checkErrorIP 5


是不是因为防止Spam,限制登陆的缘故

2Go 1 2 下一页