博客首页 | 排行榜 |

天水一方

即日起我的官方博客迁往http://www.kokkowon.cn/ 欢迎光临!!!

个人档案
博文分类
Can you help me?  2007-01-18 15:37
When I use lucene for index appear some errors like following:
caught a class java.io.IOException with message: Cannot rename E:indexdocsegments.new to E:indexdocsegments

I check some infomations by google.but there is not  aways for solve this problem.who can help me?thanks!

今天再仔细看了下,想了下,问题终于有点眉目,原来真的是windos xp 下java虚拟机的问题,数据量才10万条不到,我一同学告诉我说:在linux下100万条都没有出问题。我的下期解决方案就是:采用ant处理这类问题的方法,当异常发生时,线程休眠等待,catch执行重命名。
|
上一篇:难道这就是传说中的iphone | 下一篇:PHP5中调用Java类
以下网友评论只代表其个人观点,不代表本网站的观点或立场