jive3sybase上安装问题

07-07-24 xbzgb
我试着在sybase上面安装,由于表的类型不一致,jiveuser这张表userid定义为int,但是现在一个是admin用户不能登陆,报密码错,另一个就是不能注册报10:25:17,766 ERROR [AccountDaoSql] java.lang.ClassCastException: java.lang.Integer
10:25:17,766 ERROR [ServiceMethodAction] [JdonFramework] error happend system.error
请bang帮忙看看,不胜感谢,另外你那本书现在还有卖的吗?

xbzgb
2007-07-24 11:11
admin登陆详细信息
2007-07-24 11:01:13,438 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework]enter LoginServlet
2007-07-24 11:01:13,438 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework] check cookie
2007-07-24 11:01:13,453 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework]get username from cookie username=null
2007-07-24 11:01:13,453 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework] not found cookie= push login jsp=/account/login.jsp
2007-07-24 11:01:19,610 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework]enter LoginServlet
2007-07-24 11:01:19,610 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework] username and password is not null
2007-07-24 11:01:19,610 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework] forward /JIVE/j_security_check?j_username=admin&j_password=admin
2007-07-24 11:01:19,625 DEBUG [org.jboss.security.plugins.JaasSecurityManager.SecurityRealm] CallbackHandler: org.jboss.security.auth.callback.SecurityAssociationHandler@1fc7b3a
2007-07-24 11:01:19,625 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@fe2509
2007-07-24 11:01:19,625 DEBUG [org.jboss.security.plugins.JaasSecurityManager.SecurityRealm] CachePolicy set to: org.jboss.util.TimedCachePolicy@131767b
2007-07-24 11:01:19,625 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@131767b
2007-07-24 11:01:19,625 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added SecurityRealm, org.jboss.security.plugins.SecurityDomainContext@59b924 to map
2007-07-24 11:01:19,641 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: registering pool with interval 900000 old interval: 9223372036854775807
2007-07-24 11:01:19,641 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about to notify thread: old next: 1185246529641, new next: 1185246529641
2007-07-24 11:01:20,344 DEBUG [org.jboss.security.auth.spi.DatabaseServerLoginModule] Bad password for username=admin
2007-07-24 11:01:45,453 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework]enter LoginServlet
2007-07-24 11:01:45,453 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework] username and password is not null
2007-07-24 11:01:45,453 DEBUG [com.jdon.security.web.LoginServlet] [JdonFramework] forward /JIVE/j_security_check?j_username=admin&j_password=21232f297a57a5a743894a0e4a801fc3
2007-07-24 11:01:45,469 DEBUG [org.jboss.security.auth.spi.DatabaseServerLoginModule] Bad password for username=admin

xbzgb
2007-07-24 11:11
我把md5去掉了

xbzgb
2007-07-24 14:07
没有答复吗?

xbzgb
2007-07-25 14:20
已经能注册用户了,主要是sybase跟mysql表结构上的原因,修改了原代码就可以用了,但是登陆还是有问题,我看了一下估计是user表结构有一个字段是char(50) biany,不知道sybase用什么字段代替,请bang回答,我把这一块搞通后想利用jdon3来做一个通用的网站发布系统

banq
2007-07-25 15:23
你分析有道理,不同数据库对空字符串处理能力方式不一样,sysbase不是很熟悉。

xbzgb
2007-07-25 15:58
谢谢bang根据您的提示解决了这个问题,现在能登陆,不过登陆验证过后保错http404,后台显示没有filiter,不过您安装文档上写的登陆后才配置的抱错如下:
2007-07-25 15:25:15,652 ERROR [com.jdon.container.builder.ContainerRegistry] [JdonFramework] createClass:java.lang.ClassNotFoundException: com.jdon.jivejdon.model.message.upload.UploadFilterManager
2007-07-25 15:25:15,652 WARN [com.jdon.container.pico.PicoContainerWrapper] registe error: uploadfilterManager
2007-07-25 15:25:15,699 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=renderingFilterManager class=com.jdon.jivejdon.model.message.output.RenderingFilterManagerImp
2007-07-25 15:25:15,715 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=forumMessageQueryService class=com.jdon.jivejdon.service.imp.message.ForumMessageQueryServiceImp
2007-07-25 15:25:15,762 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=forumDao class=com.jdon.jivejdon.dao.filter.ForumDaoCache
2007-07-25 15:25:15,762 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=resourceAuthorization class=com.jdon.jivejdon.auth.ResourceAuthorization
2007-07-25 15:25:15,777 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=reBuildIndex class=com.jdon.jivejdon.dao.search.ReBuildIndex
2007-07-25 15:25:15,777 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=operationAuthorization class=com.jdon.jivejdon.auth.OperationAuthorization
2007-07-25 15:25:15,793 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=jtaTransactionUtil class=com.jdon.jivejdon.service.util.JtaTransactionUtil
2007-07-25 15:25:15,793 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework] constructor params size =1
2007-07-25 15:25:15,793 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework] constructor first ParameterType is class java.lang.String
2007-07-25 15:25:15,793 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]parameter type is String s1, String s2
2007-07-25 15:25:15,793 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework] register its constructor value is java:/TransactionManager
2007-07-25 15:25:15,809 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=forumService class=com.jdon.jivejdon.service.imp.ForumServiceImp
2007-07-25 15:25:15,809 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]registe: name=inFilterManager class=com.jdon.jivejdon.manager.filter.InFilterManager
2007-07-25 15:25:15,809 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework] constructor params size =3
2007-07-25 15:25:15,809 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework] constructor first ParameterType is class [Ljava.lang.String;
2007-07-25 15:25:15,809 DEBUG [com.jdon.container.pico.PicoContainerWrapper] [JdonFramework]parameter type is String[] class [Ljava.lang.String;
2007-07-25 15:25:15,809 ERROR [com.jdon.container.builder.ContainerRegistry] [JdonFramework] createClass:java.lang.ClassNotFoundException: com.jdon.jivejdon.model.message.props.PropertyFilterManager
2007-07-25 15:25:15,809 WARN [com.jdon.container.pico.PicoContainerWrapper] registe error: propertyFilterManager

xbzgb
2007-07-25 17:30
查看了原文件包,发现源程序里面少几个filiter的包,但是加进去还是不能显示admin的管理页面,到底还有那一块不对呢?请bang帮助!

xbzgb
2007-07-26 09:18
如果是角色的问题,能不能去掉权限验证呢?

banq
2007-07-26 09:28
当然需要filter包,不能显示管理界面需要看日志错误,JBoss的login-config.xml一定要配置正确,特别是其中SQL,你必须实际模拟运行一下这些SQL语句

xbzgb
2007-07-26 09:36
谢谢bang的答复,JBoss的login-config.xml中的sql都模拟运行过了,没有问题,现在关键是登陆后没有显示,刷新一下又发现用户其实已经登录了,能看到某某用户字样!日志就是没有抱错,所以不太好调试!

xbzgb
2007-07-26 10:03
又发现一个错误不知道有没有影响
2007-07-26 09:40:26,765 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/JIVE]] org.tuckey.web.filters.urlrewrite.utils.Log ERROR: logLevelConf: null
2007-07-26 09:40:26,812 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/JIVE]] org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)

banq
2007-07-26 10:28
>刷新一下又发现用户其实已经登录了
必须是admin用户登录才能看到ADMIn管理界面,看到之前用户登录,必须退出。

xbzgb
2007-07-26 10:32
我就是用admin登录的,关于jivedon有没有详细的开发说明,是不是vip就能看到呢?

xbzgb
2007-07-26 11:19
现在又有新问题了
10:58:28,937 ERROR [SpamFilter] it is spame : processing referrer for /JIVE/foru
m/forumList.shtml referrerUrl=null ip=127.0.0.1

我怎么修改web.xml下的设置都是这个错误

猜你喜欢
2Go 1 2 下一页