本主题地址:http://bbs.laoer.com/main-read-15-ff8080811cee848c011d471aa96a56ac.html
[楼主] 主题:把天乙论坛移到了Linux下,用户无法登录的问题。。
zhangxy(zhangxy)
[置顶] [锁定] [推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:7
精华:0
积分:36
等级:初出江湖
社区币:100
来自:上海市
注册:2008-01-31
最后登录:11-07 20:18
 
出现了这个问题

2008-10-29 12:48:05,296 [com.laoer.bbscs.web.interceptor.UserLoginInterceptor]-[ERROR] com.laoer.bbscs.exception.BbscsException: java.io.IOException: File './safe/user/21/402881291cdb2a69011cdb3d3e5f0002/UserProFile.txt' could not be created
2008-10-29 12:48:05,297 [com.laoer.bbscs.web.interceptor.UserPermissionInterceptor]-[DEBUG] [actionName:/main,saction:,ajax:html]
2008-10-29 12:48:05,297 [org.apache.catalina.core.ContainerBase.[Catalina].[bbs.bdt.dev].[/].[default]]-[ERROR] Servlet.service() for servlet default threw exception
java.lang.NullPointerException
at com.laoer.bbscs.web.interceptor.UserPermissionInterceptor.intercept(UserPermissionInterceptor.java:117)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at com.laoer.bbscs.web.interceptor.UserLoginInterceptor.intercept(UserLoginInterceptor.java:468)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)


看样子是目录没有写权限,请问在linux下需要把那些目录设置写权限呢,谢谢

------
此帖被 zhangxy 在 2008-10-29 13:37:13 修改过 来自:116.228.220.*
 
2008-10-29 13:36:48
[1楼] 主题:Re:把天乙论坛移到了Linux下,用户无法登录的问题。。
Laoer(laoer)
[推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:2484
精华:20
积分:7270
等级:黄金长老
社区币:100
来自:上海
注册:2006-07-01
最后登录:01-07 18:12
 
安全目录要设置正确,这个目录的权限要设置正确。
 
2008-10-29 13:43:25
[2楼] 主题:Re:把天乙论坛移到了Linux下,用户无法登录的问题。。
zhangxy(zhangxy)
[推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:7
精华:0
积分:36
等级:初出江湖
社区币:100
来自:上海市
注册:2008-01-31
最后登录:11-07 20:18
 
请问安全目录的路径在哪里设置呢。。。麻烦您了。。谢谢
 
2008-10-29 13:50:28
[3楼] 主题:Re:把天乙论坛移到了Linux下,用户无法登录的问题。。
zhangxy(zhangxy)
[推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:7
精华:0
积分:36
等级:初出江湖
社区币:100
来自:上海市
注册:2008-01-31
最后登录:11-07 20:18
 
找到了,谢谢
 
2008-10-29 14:00:59
[4楼] 主题:Re:把天乙论坛移到了Linux下,用户无法登录的问题。。
zhenjia(zhenjia)
[推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:2
精华:0
积分:2
等级:初出江湖
社区币:100
来自:浙江省温州市
注册:2008-10-31
最后登录:10-31 00:10
 
测试这个论坛。
 
2008-10-31 00:12:03
[5楼] 主题:Re:把天乙论坛移到了Linux下,用户无法登录的问题。。
zhenjia(zhenjia)
[推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:2
精华:0
积分:2
等级:初出江湖
社区币:100
来自:浙江省温州市
注册:2008-10-31
最后登录:10-31 00:10
 
不怎样。。。各方面都。。。
 
2008-10-31 00:13:07
[6楼] 主题:Re:把天乙论坛移到了Linux下,用户无法登录的问题。。
tianlincao(tianlincao)
[推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:2
精华:0
积分:6
等级:初出江湖
社区币:100
来自:江西省南昌市
注册:2008-11-05
最后登录:11-07 10:29
 
你说完啊,怎么弄的,我也出现这个问题。。。
 
2008-11-05 12:46:49
[7楼] 主题:Re:把天乙论坛移到了Linux下,用户无法登录的问题。。
zhangxy(zhangxy)
[推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:7
精华:0
积分:36
等级:初出江湖
社区币:100
来自:上海市
注册:2008-01-31
最后登录:11-07 20:18
 
init.properties修改安全目录的路径就可以了
 
2008-11-07 16:04:20
[分页: 1] [只看楼主] [返回]
快速回复
文章标题
文章内容
·用户请确认您发表的言论符合《互联网电子公告服务管理规定》《全国人大常委会关于维护互联网安全的规定》规定,并符合本论坛的主旨。
·本社区用户不得在本社区发表包含破坏宪法和法律、破坏民族团结、捏造或者歪曲事实、宣扬封建迷信、淫秽、色情,及其他违反宪法和法律行政法规的言论。
·本社区用户因为违反本社区规定而触犯中华人民共和国法律的,责任自负。
社区搜索
推荐主题