Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while deploying jforum

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic