0
我想部署一個使用tomcat 7的war文件,但是我得到這些錯誤。Grails,Tomcat部署錯誤
Feb 26, 2013 3:42:48 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$11. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1599)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.performScheduledTasks(DefaultLuceneSearchEngineIndexManager.java:426)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$ScheduledIndexManagerRunnable.run(DefaultLuceneSearchEngineIndexManager.java:527)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
同樣的戰爭在其他機器上正常工作,但它會在生產機器上發生此錯誤。我試着改變apache服務器和jdk在機器上,但沒有效果。有人可以告訴我這是什麼錯誤?
這是'localhost.2013.02.26.log'的輸出嗎?我有'catalina.out'的輸出,但實際上它只是說'應用程序已經停止'。這種停止的原因應該是'localhost' – ThanksForAllTheFish 2013-02-26 11:11:45
localhost.2013.02.26.log是空的,只是一些不相關的東西。不過,我在tomcat7-stderr.2013.02.23.log中發現了同樣的問題。 – 2013-02-26 11:18:27
這個問題似乎與'org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager'有關。你確定必要的'jar'也在生產機器上的類路徑中嗎?我沒有使用Compass和Grails的經驗,但它似乎是一個包裝問題。 – ThanksForAllTheFish 2013-02-26 11:24:09