aspose file tools*
The moose likes JForum and the fly likes I got a problem about jforumLuceneIndex.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Reply locked New topic
Author

I got a problem about jforumLuceneIndex....

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I cannot start jforum...
I got this messages when I am trying to access http://localhost:8080/jforum/forums/list.page

I use Netbean 5.0 + Sun Jave System Application Server

Messages from log file


[#|2550-11-06T13:17:53.625+0700|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=13;|StandardWrapperValve[jforum]: Allocate exception for servlet jforum
javax.servlet.ServletException: Servlet.init() for servlet jforum threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1142)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:756)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
----- Root Cause -----
net.jforum.exceptions.ForumStartupException: Error while starting JForum
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkDelete(SecurityManager.java:990)
at java.io.File.delete(File.java:869)
at org.apache.lucene.store.SimpleFSLock.release(SimpleFSLockFactory.java:126)
at org.apache.lucene.index.IndexReader.unlock(IndexReader.java:907)
at net.jforum.search.LuceneManager.removeLockFile(LuceneManager.java:110)
at net.jforum.search.LuceneManager.init(LuceneManager.java:79)
at net.jforum.search.SearchFacade.init(SearchFacade.java:84)
at net.jforum.ConfigLoader.startSearchIndexer(ConfigLoader.java:265)
at net.jforum.JForumBaseServlet.startApplication(JForumBaseServlet.java:92)
at net.jforum.JForum.init(JForum.java:92)
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:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:756)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
Caused by: net.jforum.exceptions.ForumException: java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\ProjectNew\jforum\build\web\WEB-INF\jforumLuceneIndex\write.lock delete)
... 42 more
Caused by: java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\ProjectNew\jforum\build\web\WEB-INF\jforumLuceneIndex\write.lock delete)
... 42 more
|#]

It completed at Configuration and Installation - wizard, but i cannot start the jforum.
However, I have checked the permission at "jforumLuceneIndex" folder and changed it to full control permission, but it is not work yet. Should I have to do then?
Please help me, i am new in jForum.

Thanks everyone..
[originally posted on jforum.net by chokchon]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Please don't cross-post your questions .... locking.

[originally posted on jforum.net by GatorBait3]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I got a problem about jforumLuceneIndex....
 
Similar Threads
In App Server jndi.lookup fails
web services soap handler IllegalStateExceptionCan't overwrite cause
I got a problem about file permission while i trying to access jforum index.htm
EJB 2 + Sql Server 2000
Sun Java System Application Server - Freemarker template error! parameters.templateDir is undefined