- 浏览: 576738 次
- 性别:
- 来自: 苏州
文章分类
- 全部博客 (260)
- J2EE (28)
- database (7)
- Read Book (6)
- 系统日志 (13)
- Tapestry (2)
- 网站开发 (51)
- DDD (4)
- 设计模式 (3)
- Hibernate (33)
- J2SE (18)
- Servlet (9)
- search (6)
- Spring (12)
- Ruby On Rails (2)
- flex (10)
- quartz (3)
- xmpp (0)
- sfs (1)
- struts (17)
- 工作日志 (9)
- IDE (4)
- mina (5)
- 心得 (1)
- 源码分析 (2)
- Tomcat (1)
- 架构 (2)
- 项目部署 (5)
- 项目管理 (0)
- 并发编程 (2)
- linux (2)
最新评论
-
icolorfulday:
dfafaaffaaf
mappedBy跟JoinColumn/JoinTable -
chenas:
我把数据库里面的第一个字段的id 设置为0,好像这问题及没了
Batch update returned unexpected row count from update [0]; actual row count: 0; -
gyl199006:
java.lang.OutOfMemoryError: Per ...
java.lang.OutOfMemoryError: PermGen space -
yisshengyouni:
额,不知道这么多年过去了,楼主解决没有,
解决了分享哈
could not inspect jdbc autocommit mode -
QQ624654852:
...
hibernatetemplate自动事务
正在重建索引... 错误Failed to check if index is compound; nested exception is java.io.IOException: Lock obtain timed out: Lock@D:\Tomcat 6.0\temp\lucene-dd060d33087287190699cf3f47a115fc-commit.lock org.compass.core.engine.SearchEngineException: Failed to check if index is compound; nested exception is java.io.IOException: Lock obtain timed out: Lock@D:\Tomcat 6.0\temp\lucene-dd060d33087287190699cf3f47a115fc-commit.lock java.io.IOException: Lock obtain timed out: Lock@D:\Tomcat 6.0\temp\lucene-dd060d33087287190699cf3f47a115fc-commit.lock at org.apache.lucene.store.Lock.obtain(Lock.java:56) at org.apache.lucene.store.Lock$With.run(Lock.java:98) at org.apache.lucene.index.LuceneUtils.isCompound(LuceneUtils.java:211) at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.isIndexCompound(DefaultLuceneSearchEngineIndexManager.java:422) at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.verifyIndex(DefaultLuceneSearchEngineIndexManager.java:90) at org.compass.core.impl.DefaultCompass$TransactionalSearchEngineIndexManager$2.doInCompass(DefaultCompass.java:293) at org.compass.core.CompassTemplate.execute(CompassTemplate.java:134) at org.compass.core.CompassTemplate.execute(CompassTemplate.java:117) at org.compass.core.impl.DefaultCompass$TransactionalSearchEngineIndexManager.verifyIndex(DefaultCompass.java:291) at org.compass.core.lucene.engine.manager.ScheduledLuceneSearchEngineIndexManager.verifyIndex(ScheduledLuceneSearchEngineIndexManager.java:98) at org.compass.core.impl.DefaultCompass.(DefaultCompass.java:147) at org.compass.core.impl.DefaultCompass.(DefaultCompass.java:102) at org.compass.core.impl.DefaultCompass.(DefaultCompass.java:95) at org.compass.core.config.CompassConfiguration.buildCompass(CompassConfiguration.java:191) at org.mypackage.service.imp.SearchServiceImp.(SearchServiceImp.java:70) at cn.allobject.struts.action.RebuildSearchIndexAction.index_list_of_books(RebuildSearchIndexAction.java:96) at cn.allobject.struts.action.RebuildSearchIndexAction.execute(RebuildSearchIndexAction.java:73) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at cn.java1995.filter.GZipFilter.doFilter(GZipFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at cn.allobject.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Unknown Source)
最近网站出现了这个问题,,,好郁闷。这是LUCENE的问题。
自己不怎么懂啊。。。只得GOOGLE下啦!
引用
出现以上异常主要有两种原因:
1.系统正在写索引未完成之前,应用程序关闭
解决方法:删除提示的lock文件后重启应用(最好在应用中捕捉到,自动删除)
2.系统中有多个线程或程序在抢用索引
解决方法:增加或改善等待队列机制作,或者出现此错误时先解锁
1.系统正在写索引未完成之前,应用程序关闭
解决方法:删除提示的lock文件后重启应用(最好在应用中捕捉到,自动删除)
2.系统中有多个线程或程序在抢用索引
解决方法:增加或改善等待队列机制作,或者出现此错误时先解锁
哎。。。怎么会出现这个问题。。。。看来没希望了。如果要解决这个问题又得叫空间提供商重启服务,那边又会是一堆废话。。。
嘿嘿,自己写个JSP页面,删除了那文件试下了。哈。。。删好,果然,成功了。网站搜索又能使用。哎。。得学习下LUCENE啊。。。不能只知道WHAT不知道HOW啊。
发表评论
-
maven2下载其源代码包并关联
2011-12-21 20:40 3845使用maven下载jar包以及其源码包都很正常,但导入e ... -
maven初体验
2011-12-20 23:35 1098最近使用上了maven,先自己体验一把。 发现了maven的 ... -
使用注解时 打包jar错误
2010-10-21 20:19 1651如何打包成jar 通过ANT打包jar并生成MANIFES ... -
使用JSmooth java转exe总结
2010-10-21 19:52 2298jar 转 exe的工具很多,比较流行的有exe4j 、i ... -
学习Java的各大网站
2010-07-29 21:28 1754java 网址大全 http://www.j ... -
hibernate.connection.provider_class参数
2010-07-28 21:32 2611在c3p0的设置中 有参数hibernate.connect ... -
jquery将滚动条保持在最底部的方法
2010-07-21 21:39 3101jquery将滚动条保持在最底部的方法 -
javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext
2010-07-20 20:31 2209经过tomcat版本变化后,又报出了此异常 java.lan ... -
REST的见解
2009-12-12 17:20 889rest -
LOG4J输出日志文件的位置
2009-07-17 20:49 1661LOG4J的日志文件的位置一般在配置文件中设置。。 可以是绝对 ... -
原来还有个缓存
2009-05-07 23:21 999写了不少代码,但是真正看得过去的代码还没有几个。 缓存这一块 ... -
java.lang.OutOfMemoryError引来的一系列之Java字节码操控
2008-11-14 23:01 1891上一篇BLOG中总结了对Jav ... -
再炒FormBean,VO,DTO,PO....贫血与充血
2008-11-12 22:47 2201太多的地方讨论过这些东西了.. 自从有了OO一说开始,O就变得 ... -
使用泛型DAO引来的一系列之泛型,Class类
2008-11-04 21:51 1586在开发网站过程中就使用了泛型带来的好处..消除了DAO的重复. ... -
Java反射
2008-11-02 19:22 2038Java学习很久.反射还没有正规地学习过. 过去也看看,感觉 ... -
现在该做什么呢?读书!
2008-09-05 14:43 1373学习无止境 学了java,jsp,servlet.说精通谈不 ... -
List 与 Map的转换
2008-08-27 16:21 2485List results = session.find(& ... -
Tapestry4的烦人问题
2008-08-25 18:36 1159最近碰到一个问题.. 怎么跨页提交表单. 效果图. 这 ... -
使用ActiveMQ出错.Table 'mq.activemq_acks' doesn't exis
2008-08-25 17:40 36272008-08-25 11:44:43,250 [MQ S ... -
今日见鬼了
2008-08-04 21:11 1038今日见鬼了.. 代码块中的注释代码也会运行.... 在修改 ...
相关推荐
集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...
The SegmentMerger class combines two or more Segments, represented by an IndexReader ({@link #add}, ... If the compoundFile flag is set, then the segments will be merged into a compound file for Linux.
This powerful, practical book, based on years of proven and profi table experience, shows ... The Compound Effect is a treasure chest of ideas for achieving greater success than you ever thought possible
复合文件结构查看工具的代码,内含复合文件格式定义。
可以用于复杂碰撞边缘的生成,更加精确。
the index to the next icon that will display when cycling. Finally, I fixed a bug that caused the taskbar icon not to display itself when MinimizeToTray was true. Thanks to Lorenz Graf for ...
compound words
Soft compound
The Hadoop market is predicted to grow at a compound annual growth rate over the next several years. Several good tools and guides describe how to deploy Hadoop clusters, but very little ...
复合文档豪华版,支持复杂路径解析,多流打开的compound file,安全高效地检索复合文档中的流。支持路径名打开,如绝对路径 \Video\Data\Video.mp4 相对路径 ..\GUID\GUID.txt 当前路径 .\GUID.txt
extracted compound addresses and telephone numbers, and tidied up the results to put into a new version of the database. Access to the database was through a Sun-based Unix system, and the PCs and ...
- **Making Multiple Decisions**: Explanation of how the `switch` statement works and when it's appropriate to use it instead of nested `if` statements. #### Strings The document explains strings, ...
具有随机收入和周期分红策略的复合泊松风险模型,王乾乾,刘朝林,本文对具有随机收入和周期分红策略的复合泊松风险模型进行了研究。通常,在分红决策时间序列中,保险公司通过分析盈余水平来决定红�
32Compound Option V3.xls
there is huge potential and demand in China market.Obviously, set up a pet hospital is a good choice to provide service to the people who owns pets and a friendly business to pets. So, this report is...
cd ~ /compound-eureka # back to this directory yarn link @compound-finance/eureka 这将大大简化在Alpha开发过程中提取更新的过程。 本地部署 要将化合物测试网应用于开发,请在本地启动ganache,然后运行: ...
一种天然产物挖掘方法在阐明吡咯酰胺类化合物生物合成机理中的应用,郝春霖,虞沂,天然产物生物合成中,发酵液中的一些重要中间体或者结构类似物往往因为含量低、结构不明确等因素而普遍被忽略,这将给目标化合物
**直流复合电机(DC Compound Motor)的工作原理与类型** 直流复合电机是直流电机的一种,它结合了串励和并励两种励磁方式的特点,从而在性能上具备了更广泛的应用范围。这种电机的设计旨在优化扭矩特性,提升启动...
标题中的"compound-sort-helpers_2.9.2-1.0.0.zip"提示我们这是一个软件库或框架的更新版本,可能包含了用于复合排序辅助功能的代码。这个版本号"2.9.2-1.0.0"表明这可能是软件的一个维护更新或者重大升级。通常,...