kazuto fukuda
kf966****@gmail*****
2010年 6月 22日 (火) 09:10:30 JST
菅谷様 お世話になっております。福田です。 今までバッチファイルで起動していたのを サービスに登録して自動起動するようにしました。 ところが、昨日の夜のスケジュールでのクロール処理が 開始早々エラーで終わってしまいました。 ログは以下の通りです。 2010-06-21 20:00:04,887 [chronos-pool-3-thread-1] INFO jp.sf.fess.helper.SystemHelper - Crawler: Directory=C:\fess\fess-server-3.1.0\webapps\fess Options=[java, -cp, WEB-INF\cmd\resources;WEB-INF\classes;WEB-INF\lib\antlr-2.7.2.jar;WEB-INF\lib\aopalliance-1.0.jar;WEB-INF\lib\args4j-2.0.12.jar;WEB-INF\lib\asm-3.1.jar;WEB-INF\lib\bcmail-jdk16-1.45.jar;WEB-INF\lib\bcprov-jdk16-1.45.jar;WEB-INF\lib\commons-beanutils-1.7.0.jar;WEB-INF\lib\commons-codec-1.3.jar;WEB-INF\lib\commons-collections-3.2.jar;WEB-INF\lib\commons-compress-1.0.jar;WEB-INF\lib\commons-digester-1.6.jar;WEB-INF\lib\commons-el-1.0.jar;WEB-INF\lib\commons-fileupload-1.2.1.jar;WEB-INF\lib\commons-httpclient-3.1.jar;WEB-INF\lib\commons-io-1.4.jar;WEB-INF\lib\commons-lang-2.3.jar;WEB-INF\lib\commons-logging-1.0.3.jar;WEB-INF\lib\commons-validator-1.2.0.jar;WEB-INF\lib\dbflute-runtime-0.9.5.1.jar;WEB-INF\lib\dom4j-1.6.1.jar;WEB-INF\lib\fontbox-1.1.0.jar;WEB-INF\lib\geronimo-annotation_1.0_spec-1.0.jar;WEB-INF\lib\geronimo-ejb_3.0_spec-1.0.jar;WEB-INF\lib\geronimo-interceptor_3.0_spec-1.0.jar;WEB-INF\lib\geronimo-jpa_3.0_spec-1.0.jar;WEB-INF\lib\geronimo-jta_1.1_spec-1.0.jar;WEB-INF\lib\geronimo-stax-api_1.0_spec-1.0.1.jar;WEB-INF\lib\h2-1.2.136.jar;WEB-INF\lib\icu4j-3.8.jar;WEB-INF\lib\javassist-3.4.ga.jar;WEB-INF\lib\jcl-over-slf4j-1.6.0.jar;WEB-INF\lib\jempbox-1.1.0.jar;WEB-INF\lib\jstl-1.1.2.jar;WEB-INF\lib\log4j-1.2.14.jar;WEB-INF\lib\lucene-analyzers-2.9.1.jar;WEB-INF\lib\lucene-core-2.9.1.jar;WEB-INF\lib\lucene-highlighter-2.9.1.jar;WEB-INF\lib\lucene-memory-2.9.1.jar;WEB-INF\lib\lucene-misc-2.9.1.jar;WEB-INF\lib\lucene-queries-2.9.1.jar;WEB-INF\lib\lucene-snowball-2.9.1.jar;WEB-INF\lib\lucene-spellchecker-2.9.1.jar;WEB-INF\lib\metadata-extractor-2.4.0-beta-1.jar;WEB-INF\lib\mobylet-charset-1.0.5.jar;WEB-INF\lib\mobylet-core-1.0.5-patch-20100529.jar;WEB-INF\lib\mobylet-s2extension-1.0.5.jar;WEB-INF\lib\mobylet-taglibs-1.0.5.jar;WEB-INF\lib\nekohtml-1.9.14.jar;WEB-INF\lib\ognl-2.6.9-patch-20070908.jar;WEB-INF\lib\oro-2.0.8.jar;WEB-INF\lib\pdfbox-1.1.0.jar;WEB-INF\lib\poi-3.6.jar;WEB-INF\lib\poi-ooxml-3.6.jar;WEB-INF\lib\poi-ooxml-schemas-3.6.jar;WEB-INF\lib\poi-scratchpad-3.6.jar;WEB-INF\lib\s2-extension-2.4.41.jar;WEB-INF\lib\s2-framework-2.4.41.jar;WEB-INF\lib\s2-robot-0.4.1.jar;WEB-INF\lib\s2-robot-db-0.4.1.jar;WEB-INF\lib\s2-robot-db-h2-0.4.1.jar;WEB-INF\lib\s2-robot-dbflute-runtime-0.9.6.jar;WEB-INF\lib\s2-tiger-2.4.41.jar;WEB-INF\lib\s2chronos-core-1.0.0.jar;WEB-INF\lib\s2chronos-extension-1.0.0.jar;WEB-INF\lib\sa-struts-1.0.4-sp8.jar;WEB-INF\lib\serializer-2.7.1.jar;WEB-INF\lib\slf4j-api-1.6.0.jar;WEB-INF\lib\slf4j-log4j12-1.6.0.jar;WEB-INF\lib\solr-commons-csv-1.4.0.jar;WEB-INF\lib\solr-core-1.4.0.jar;WEB-INF\lib\solr-solrj-1.4.0.jar;WEB-INF\lib\standard-1.1.2.jar;WEB-INF\lib\struts-1.2.9.jar;WEB-INF\lib\tagsoup-1.2.jar;WEB-INF\lib\tika-core-0.7.jar;WEB-INF\lib\tika-parsers-0.7.jar;WEB-INF\lib\wstx-asl-3.2.7.jar;WEB-INF\lib\xalan-2.7.1.jar;WEB-INF\lib\xercesImpl-2.8.1.jar;WEB-INF\lib\xmlbeans-2.3.0.jar;WEB-INF\cmd\lib\geronimo-servlet_2.4_spec-1.0.jar, -Dfess.crawler.process=true, -Dsolr.solr.home=C:\fess\fess-server-3.1.0\solr, -Dsolr.data.dir=C:\fess\fess-server-3.1.0\solr\core1\data, -Dfess.log.file=C:\fess\fess-server-3.1.0\webapps\fess\WEB-INF\logs\fess_crawler.out, -Djava.awt.headless=true, -XX:+UseGCOverheadLimit, -XX:+UseConcMarkSweepGC, -XX:+CMSIncrementalMode, -XX:+UseTLAB, -Xmx512m, -XX:MaxPermSize=128m, jp.sf.fess.exec.Crawler, --sessionId, 20100621200004] 2010-06-21 20:00:04,934 [chronos-pool-1-daemonthread-2] ERROR jp.sf.fess.task.CrawlTask - Failed to execute crawl task. org.seasar.chronos.core.exception.ExecutionRuntimeException: java.util.concurrent.ExecutionException: jp.sf.fess.FessSystemException: Crawler Process terminated. at org.seasar.chronos.core.delegate.MethodInvoker.endInvoke(MethodInvoker.java:285) at org.seasar.chronos.core.task.handler.impl.execute.TaskMethodExecuteHandlerImpl.handleRequest(TaskMethodExecuteHandlerImpl.java:68) at org.seasar.chronos.core.task.strategy.impl.TaskExecuteStrategyImpl.handleRequest(TaskExecuteStrategyImpl.java:548) at org.seasar.chronos.core.task.strategy.impl.TaskExecuteStrategyImpl.execute(TaskExecuteStrategyImpl.java:203) at org.seasar.chronos.core.task.state.impl.TaskExecuteStateStarted.execute(TaskExecuteStateStarted.java:35) at org.seasar.chronos.core.task.state.impl.AbstractTaskExecuteContext.execute(AbstractTaskExecuteContext.java:103) at org.seasar.chronos.core.task.impl.TaskExecutorServiceImpl.execute(TaskExecutorServiceImpl.java:64) at org.seasar.chronos.core.handler.impl.ScheduleExecuteStartHandler.taskExecute(ScheduleExecuteStartHandler.java:163) at org.seasar.chronos.core.handler.impl.ScheduleExecuteStartHandler.access$2(ScheduleExecuteStartHandler.java:160) at org.seasar.chronos.core.handler.impl.ScheduleExecuteStartHandler$TaskExecutorServiceCallable.call(ScheduleExecuteStartHandler.java:85) at org.seasar.chronos.core.handler.impl.ScheduleExecuteStartHandler$TaskExecutorServiceCallable.call(ScheduleExecuteStartHandler.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.util.concurrent.ExecutionException: jp.sf.fess.FessSystemException: Crawler Process terminated. at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.seasar.chronos.core.delegate.MethodInvoker.endInvoke(MethodInvoker.java:283) ... 15 more Caused by: jp.sf.fess.FessSystemException: Crawler Process terminated. at jp.sf.fess.helper.SystemHelper.executeCrawler(SystemHelper.java:161) at jp.sf.fess.task.CrawlTask.doCrawl(CrawlTask.java:211) at jp.sf.fess.task.CrawlTask.doExecute(CrawlTask.java:123) at jp.sf.fess.task.CrawlTask$$EnhancedByS2AOP$$174d4c9.$$doExecute$$invokeSuperMethod$$(CrawlTask$$EnhancedByS2AOP$$174d4c9.java) at jp.sf.fess.task.CrawlTask$$EnhancedByS2AOP$$174d4c9$$MethodInvocation$$doExecute0.proceed(MethodInvocationClassGenerator.java) at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:56) at jp.sf.fess.task.CrawlTask$$EnhancedByS2AOP$$174d4c9$$MethodInvocation$$doExecute0.proceed(MethodInvocationClassGenerator.java) at jp.sf.fess.task.CrawlTask$$EnhancedByS2AOP$$174d4c9.doExecute(CrawlTask$$EnhancedByS2AOP$$174d4c9.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:96) at org.seasar.framework.beans.impl.BeanDescImpl.invoke(BeanDescImpl.java:218) at org.seasar.chronos.core.delegate.MethodInvoker.invoke(MethodInvoker.java:341) at org.seasar.chronos.core.delegate.MethodInvoker$1.call(MethodInvoker.java:178) ... 5 more Caused by: java.io.IOException: Cannot run program "java" (in directory "C:\fess\fess-server-3.1.0\webapps\fess"): CreateProcess error=2, ?w?????t?@? at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at jp.sf.fess.helper.SystemHelper.executeCrawler(SystemHelper.java:143) ... 20 more Caused by: java.io.IOException: CreateProcess error=2, ?w?????t?@? at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 21 more Tomcat のプロパティは以下の通りです。 JVM C:\Program Files\Java\jdk1.6.0_16\jre\bin\server\jvm.dll ClassPath C:\fess\fess-server-3.1.0\bin\bootstrap.jar Options -Dcatalina.base=C:\fess\fess-server-3.1.0 -Dcatalina.home=C:\fess\fess-server-3.1.0 -Djava.endorsed.dirs=C:\fess\fess-server-3.1.0\endorsed -Djava.io.tmpdir=C:\fess\fess-server-3.1.0\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\fess\fess-server-3.1.0\conf\logging.properties -Dsolr.solr.home=C:\fess\fess-server-3.1.0\solr -Dsolr.data.dir=C:\fess\fess-server-3.1.0\solr\core1\data -Dfess.log.file=C:\fess\fess-server-3.1.0\webapps\fess\WEB-INF\logs\fess.out -Djava.awt.headless=true -XX:+UseGCOverheadLimit -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseTLAB -XX:MaxPermSize=128m 原因が不明です。 以上です。よろしくお願いします。