Joerg:
Thank you so much! Okay, I've removed that error...only to find more... :-( The root problem was Sun Java Studio Creator throws a jsf-portlet.jar file into the project's library. When I remove the jar file and put it in the common/lib as suggested by your earlier post, the classloader issue was gone! Amazing! :-)
However, this surfaced more errors which are outside my project.
This is the first error I am getting now when I startup liferay:
21:08:01,515 INFO [AutoDeployDir:76] Auto deploy scanner started for \home\liferay\deploy
Loading jar:file:/C:/liferay/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/cms-redirects.properties
21:08:21,578 INFO [LuceneFileExtractor:110] Using filter org.apache.jackrabbit.core.query.lucene.TextPlainTextFilter for extension .txt
21:08:27,671 ERROR [IndexConsumer:79] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.kernel.util.MethodInvoker.invoke(MethodInvoker.java:150)
at com.liferay.portal.kernel.util.MethodInvoker.invoke(MethodInvoker.java:47)
at com.liferay.documentlibrary.service.jms.IndexConsumer._onMessage(IndexConsumer.java:84)
at com.liferay.documentlibrary.service.jms.IndexConsumer.onMessage(IndexConsumer.java:76)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:840)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:96)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:165)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:111)
at org.apache.activemq.thread.PooledTaskRunner.access$100(PooledTaskRunner.java:26)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:44)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Unknown Source)
Caused by: com.liferay.portal.kernel.search.SearchException: java.io.IOException: Lock obtain timed out: Lock@C:\liferay
\temp\lucene-b9c5a2ad8637bafb7569d907699aa5c0-write.lock
at com.liferay.documentlibrary.util.IndexerImpl.reIndex(IndexerImpl.java:280)
... 17 more
Caused by: java.io.IOException: Lock obtain timed out: Lock@C:\liferay\temp\lucene-b9c5a2ad8637bafb7569d907699aa5c0-write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:56)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:254)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:244)
at com.liferay.portal.lucene.LuceneUtil.getWriter(LuceneUtil.java:157)
at com.liferay.portal.lucene.LuceneUtil.getWriter(LuceneUtil.java:151)
at com.liferay.documentlibrary.util.IndexerImpl.addFile(IndexerImpl.java:129)
at com.liferay.documentlibrary.util.IndexerImpl.reIndex(IndexerImpl.java:273)
... 17 more
This is the second error showing up:
2007-06-23 21:08:29,406 16 [main] DEBUG org.apache.jasper.servlet.JspServlet . init :: - IMPORTANT: Do not modify the generated servlets
21:08:29,937 ERROR [IndexConsumer:79] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.kernel.util.MethodInvoker.invoke(MethodInvoker.java:150)
at com.liferay.portal.kernel.util.MethodInvoker.invoke(MethodInvoker.java:47)
at com.liferay.documentlibrary.service.jms.IndexConsumer._onMessage(IndexConsumer.java:84)
at com.liferay.documentlibrary.service.jms.IndexConsumer.onMessage(IndexConsumer.java:76)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:840)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:96)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:165)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:111)
at org.apache.activemq.thread.PooledTaskRunner.access$100(PooledTaskRunner.java:26)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:44)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Unknown Source)
Caused by: com.liferay.portal.kernel.search.SearchException: java.io.IOException: Lock obtain timed out: Lock@C:\liferay
\temp\lucene-b9c5a2ad8637bafb7569d907699aa5c0-write.lock
at com.liferay.documentlibrary.util.IndexerImpl.reIndex(IndexerImpl.java:280)
... 17 more
Caused by: java.io.IOException: Lock obtain timed out: Lock@C:\liferay\temp\lucene-b9c5a2ad8637bafb7569d907699aa5c0-write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:56)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:254)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:244)
at com.liferay.portal.lucene.LuceneUtil.getWriter(LuceneUtil.java:157)
at com.liferay.portal.lucene.LuceneUtil.getWriter(LuceneUtil.java:151)
at com.liferay.documentlibrary.util.IndexerImpl.addFile(IndexerImpl.java:129)
at com.liferay.documentlibrary.util.IndexerImpl.reIndex(IndexerImpl.java:273)
... 17 more
Thanks for your earlier suggestions and for your time in assisting me in using Liferay. Any comments regarding these errors would be greatly appreciated.
Russ
Please sign in to flag this as inappropriate.