Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Jute Powerful Forum  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 出了點問題
alexyu2000

我是多罗,我很可爱

Jute Pro User


发贴: 405
积分: 70
于 2003-01-09 15:08 user profilesend a private message to usersend email to alexyu2000search all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我剛才回帖子
聽起來很誘惑喔.他們的速度好像不錯

出現問題,只好後退再發,又tmd好了,不知為何

(缩略图,点击图片链接看原图)



[img]http://www.nhacks.com/email/email.php?mail_e=q8UtjGduMME%3D&iv=ICTOzCo%3D&domain=TVNO&ext=0[/img][img]http://bbs.dongman.org:8080/post-85-10950836311.gif[/img]
[img]http://bbs.8080.net/upload/17957/17957.jpg[/img]
作者 Re:出了點問題 [Re:alexyu2000]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-09 15:16 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这应该是浏览器的行为错误。没有把board的id传正确,如果数据传正确了是不会有问题的。



作者 Re:出了點問題 [Re:alexyu2000]
alexyu2000

我是多罗,我很可爱

Jute Pro User


发贴: 405
积分: 70
于 2003-01-09 16:10 user profilesend a private message to usersend email to alexyu2000search all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
很嚴重嗎,我出現了2次喔


[img]http://www.nhacks.com/email/email.php?mail_e=q8UtjGduMME%3D&iv=ICTOzCo%3D&domain=TVNO&ext=0[/img][img]http://bbs.dongman.org:8080/post-85-10950836311.gif[/img]
[img]http://bbs.8080.net/upload/17957/17957.jpg[/img]
作者 Re:出了點問題 [Re:alexyu2000]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-09 22:02 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
是快速回复这里出了问题,还是引用回复那里出了问题?你发贴同时上传了附件吗?

你的操作系统是什么(98/2000/xp),浏览器是IE多少(5,6)?




作者 Re:出了點問題 [Re:alexyu2000]
yadan



Jute User


发贴: 226
积分: 30
于 2003-01-09 22:50 user profilesend a private message to usersend email to yadansearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
说实话 我也遇到过这样的问题!
好像就这两天,而且过了一会出现了论坛进不去的问题,
用很大的粗体显示
“Cannot connect localhost 127.0.0.1” 的信息。

后来看到rainman在一个帖子说数据库增加了一个字段,增加了繁体外壳什么的,是不是正好那时候服务器在重启呢?这是一种可能
也有可能是jute的action mapping存在深层的bug,因为有一次我没有登录用快速回复,就出现过“论坛不存在的错误,正确的信息应该是转到登录页面啊。但后来也没有重现。这是第二种可能。
我用win2000 pro sp3+IE5.0.1



作者 Re:出了點問題 [Re:yadan]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-09 23:06 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
如果看到““Cannot connect localhost 127.0.0.1”,这不是Jute的问题,这是Resin在restart。

action mapping的逻辑很简单啊,因为事先都已经约定好了。

我用的都是IE6,所以一直没遇到这种问题。得找一个IE5来测试。




作者 Re:出了點問題 [Re:alexyu2000]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-09 23:13 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
alexyu2000 wrote:
我剛才回帖子
聽起來很誘惑喔.他們的速度好像不錯

出現問題,只好後退再發,又tmd好了,不知為何

看你的图,链接是/post/reply 如果直接输这个链接是肯定出来”讨论区“不在的。




作者 Re:出了點問題 [Re:yadan]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-09 23:18 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
yadan wrote:
说实话 我也遇到过这样的问题!
好像就这两天,而且过了一会出现了论坛进不去的问题,
用很大的粗体显示
“Cannot connect localhost 127.0.0.1” 的信息。

后来看到rainman在一个帖子说数据库增加了一个字段,增加了繁体外壳什么的,是不是正好那时候服务器在重启呢?这是一种可能
也有可能是jute的action mapping存在深层的bug,因为有一次我没有登录用快速回复,就出现过“论坛不存在的错误,正确的信息应该是转到登录页面啊。但后来也没有重现。这是第二种可能。
我用win2000 pro sp3+IE5.0.1


你在什么情况下发生这种情况的?

是快速回复吗?我觉得这个问题肯定是浏览器的原因!因为这个form是"multipart/form-data"类型的。

我马上会修改一下快速回复的模板,把表单类型改成普通的,因为快速回复不能上传附件,并且没有登录或没有权限者将看不到快速回复框。




作者 Re:出了點問題 [Re:alexyu2000]
alexyu2000

我是多罗,我很可爱

Jute Pro User


发贴: 405
积分: 70
于 2003-01-10 08:35 user profilesend a private message to usersend email to alexyu2000search all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不是快速回覆,因為我要上傳圖片的我的是 win2000big5版,ie6


[img]http://www.nhacks.com/email/email.php?mail_e=q8UtjGduMME%3D&iv=ICTOzCo%3D&domain=TVNO&ext=0[/img][img]http://bbs.dongman.org:8080/post-85-10950836311.gif[/img]
[img]http://bbs.8080.net/upload/17957/17957.jpg[/img]
作者 Re:出了點問題 [Re:alexyu2000]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-10 08:42 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
alexyu2000 wrote:
不是快速回覆,因為我要上傳圖片的我的是 win2000big5版,ie6


那有可能是javascript的问题

有这么一段:
function dosubmit() {
document.form1.action = "post/reply?action=Post";
document.form1.target = "_self";
document.form1.submit();
}

(缩略图,点击图片链接看原图)




作者 Re:出了點問題 [Re:rainman]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-10 08:43 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我就怎么也没碰到过这种情况 Sad



作者 Re:出了點問題 [Re:alexyu2000]
yadan



Jute User


发贴: 226
积分: 30
于 2003-01-10 09:14 user profilesend a private message to usersend email to yadansearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
rainman兄不用Sad这样 Smile
下次兄弟们再遇到这条虫子,会仔细研究一下问题所在的。

我说的action mapping有深层的bug,意思是jute的底层框架会不会有些不易发现的bug,比如多线程、serlvet链、多个请求同时到达的处理等。一个底层web框架还是很复杂的,要不struts这些东西也不会出这么多版本。我对此知之甚少,只是瞎猜而已Tongue



作者 Re:出了點問題 [Re:yadan]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-10 09:30 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
呵呵,如果有bug,没线索解决不了就睡不好了。

我感觉这个问题不在底层(Servlet算是中间层啦,我这个Mapping技术很成熟的,都用了一年多了),服务器日志也没有发现不正常,如果问题都出现在上传时,那么有可能是上传模块的问题。因为上传文件的表单Post解析比一般表单复杂多了,我是按照RFC实现的哦,解决了中文问题。我自己上传好像也没出现什么问题啊。




作者 Re:出了點問題 [Re:alexyu2000]
alexyu2000

我是多罗,我很可爱

Jute Pro User


发贴: 405
积分: 70
于 2003-01-10 11:36 user profilesend a private message to usersend email to alexyu2000search all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
看來我是造虫高手阿


[img]http://www.nhacks.com/email/email.php?mail_e=q8UtjGduMME%3D&iv=ICTOzCo%3D&domain=TVNO&ext=0[/img][img]http://bbs.dongman.org:8080/post-85-10950836311.gif[/img]
[img]http://bbs.8080.net/upload/17957/17957.jpg[/img]
作者 Re:出了點問題 [Re:alexyu2000]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-10 11:47 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
是抓虫高手!想起我们公司有个“bug lee”的。



作者 Re:出了點問題 [Re:alexyu2000]
alexyu2000

我是多罗,我很可爱

Jute Pro User


发贴: 405
积分: 70
于 2003-01-10 12:17 user profilesend a private message to usersend email to alexyu2000search all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
哈哈,那我不是Bug yu??


[img]http://www.nhacks.com/email/email.php?mail_e=q8UtjGduMME%3D&iv=ICTOzCo%3D&domain=TVNO&ext=0[/img][img]http://bbs.dongman.org:8080/post-85-10950836311.gif[/img]
[img]http://bbs.8080.net/upload/17957/17957.jpg[/img]
作者 Re:出了點問題 [Re:alexyu2000]
yadan



Jute User


发贴: 226
积分: 30
于 2003-01-10 15:22 user profilesend a private message to usersend email to yadansearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
bug鱼多少钱一斤?呵呵

虫子真的确认了吗?要不rainman睡不着的!哈哈Smile --敬业!admireTongue



作者 Re:出了點問題 [Re:yadan]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-11 03:23 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
应该是上传的时候出问题了,捕捉到的是IO异常,这可能是网络状况引起的,现在在这部分加了调试代码,相信以后再捕捉到这个异常可以知道具体原因了。



作者 Re:出了點問題 [Re:alexyu2000]
coder



CJSDN高级会员


发贴: 140
积分: 110
于 2003-01-12 11:34 user profilesend a private message to usersend email to codersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这个问题和我上次看到的很相似,我上次是查看一个热门帖子。
建议rainman检查是否并发处理的bug,最好能用LoadRunner进行压力测试。



作者 Re:出了點問題 [Re:coder]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-12 11:51 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
并发请求?Servlet Container已经处理掉了这个问题啦!每一个Request由一个线程来处理。

上面的问题已经确定是上传文件的时候数据不正确造成的。

“这个问题和我上次看到的很相似,我上次是查看一个热门帖子。“——最好能提供详细的资料,否则我看了无从下手。你查看热门的帖子,点开看不到了,刷新一下又看到了?页面显示的错误是”版块找不到?“(程序的逻辑很清楚,如果帖子的版块号没有传递正确就显示这个错误信息啊)

我用apache ab,Jmeter都测试过的,Jute的稳定性和速度都很令人满意。用loadrunner好像是牛刀小试了,这软件太大了,我没有哦。




作者 Re:出了點問題 [Re:rainman]
coder



CJSDN高级会员


发贴: 140
积分: 110
于 2003-01-12 13:34 user profilesend a private message to usersend email to codersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
rainman的回复好快啊,看来rainman非常适合做技术支持 Wink

并发请求?Servlet Container已经处理掉了这个问题啦!每一个Request由一个线程来处理。

但是多个Request线程可能访问公共对象。

上面的问题已经确定是上传文件的时候数据不正确造成的。

我相信Jute会越来越好。

“这个问题和我上次看到的很相似,我上次是查看一个热门帖子。“——最好能提供详细的资料,否则我看了无从下手。你查看热门的帖子,点开看不到了,刷新一下又看到了?页面显示的错误是”版块找不到?“(程序的逻辑很清楚,如果帖子的版块号没有传递正确就显示这个错误信息啊)

上次的现象已报告
http://www.cjsdn.com/post/view?bid=23&id=8849&sty=3&keywords=null
现在想起来当时我只有那一个帖子出现这现象(两次),中间我查看别的帖子很正常,第三次查看那一个帖子就OK了。以后再没出现过。

我用apache ab,Jmeter都测试过的,Jute的稳定性和速度都很令人满意。用loadrunner好像是牛刀小试了,这软件太大了,我没有哦。

对于Jute这样好的论坛来说,只有稳定性和速度测试还不够,必须进行并发测试。之所以推荐LoadRunner,是因为它的同步点并发能很好的检测出可能的并发问题。


coder edited on 2003-01-12 13:38

作者 Re:出了點問題 [Re:coder]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-12 22:59 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
了解了!

多个Request线程可能访问公共对象
——这个提法是非常不错的,对Jute来说,比较critical的资源就是数据库连接了。但这部分我想是没有问题的 Smile

出现:Can't contact servlet runner at 127.0.0.1:6802 的原因我想是因为内存不够啊,这台主机上安装了4个Jute,Resin有时候会重新启动。重新启动需要1分钟左右(跟主机有关),重新启动过程中,就会出现这个提示




作者 Re:出了點問題 [Re:rainman]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2003-01-13 05:19 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
rainman wrote:
了解了!

多个Request线程可能访问公共对象
——这个提法是非常不错的,对Jute来说,比较critical的资源就是数据库连接了。但这部分我想是没有问题的 Smile


All the servlet class variables are shared too.



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:出了點問題 [Re:floater]
rainman

阿熊

元老


发贴: 5644
积分: 454
于 2003-01-13 05:59 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
floater wrote:
All the servlet class variables are shared too.


Sure! But I only use static member variables in Servlet class.




作者 Re:出了點問題 [Re:rainman]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2003-01-13 06:13 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
rainman wrote:
Sure! But I only use static member variables in Servlet class.

Hehe, so rather than going down one level to local variables, you move up to static to increase the chance to ... Joking.

Just a kindly reminder for you to check something there, since sometimes I make those boneheaded mistakes and scratch my head. Smile



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923