aspose file tools*
The moose likes JForum and the fly likes Error while deploying jforum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Error while deploying jforum" Watch "Error while deploying jforum" New topic
Author

Error while deploying jforum

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I have copied the jforum folder into the FTP directory mentioned by my service provider. Its a lInux hosting with tomcat support. When I try to access my site i.e http://stuffuneed.co.in/jforum/
I get the following error

javax.servlet.ServletException: Servlet.init() for servlet jforum threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

root cause
net.jforum.exceptions.ForumStartupException: Error while starting JForum
org.apache.lucene.index.SegmentInfo.<init>(SegmentInfo.java:128)
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:213)
org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:190)
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:610)
org.apache.lucene.index.IndexReader.open(IndexReader.java:185)
root cause
net.jforum.exceptions.ForumException: java.lang.NegativeArraySizeException
org.apache.lucene.index.SegmentInfo.<init>(SegmentInfo.java:128)
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:213)
org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:190)
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:610)
org.apache.lucene.index.IndexReader.open(IndexReader.java:185)
org.apache.lucene.index.IndexReader.open(IndexReader.java:167)

Please let me know if you have any idea about this problem...Thanks in advance

[originally posted on jforum.net by tiger]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
It's hard to say without knowing full details of the environment. A quick guess would be that the FTP process left the directory and files owned by your and not by the web app server user. This means the code can't write to (and maybe read from) from the jforum directory/files.
[originally posted on jforum.net by monroe]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while deploying jforum
 
Similar Threads
I got a problem about jforumLuceneIndex....
Search using Lucene: Unknown format version: -4
I got a problem about file permission while i trying to access jforum index.htm
Integration tests doesn't work after upgrading spring from 2.5.1 to (2.5.6.SEC01)
Document root element missing