powered by Jive Software

Error when trying to clear logs

Hi,

I`ve installed openfire 3.3.3 rpm on linux centOS 4 VPS.

When I try to clear openfire logs from the admin console I get an error. Do I need to set permission to the log files?

HTTP ERROR: 500org.jivesoftware.util.log.output.io.StreamTarget cannot be cast to org.jivesoftware.util.log.output.io.rotate.RotatingFileTarget

RequestURI=/logviewer.jsp

Caused by:

java.lang.ClassCastException: org.jivesoftware.util.log.output.io.StreamTarget cannot be cast to org.jivesoftware.util.log.output.io.rotate.RotatingFileTarget</h3></h3>
at org.jivesoftware.util.Log.rotateInfoLogFile(Log.java:274)<br/><br/>
at org.jivesoftware.openfire.admin.logviewer_jsp._jspService(logviewer_jsp.java:197)<br/><br/>
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<br/><br/>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br/><br/>
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491)<br/><br/>
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074)<br/><br/>
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)<br/><br/>
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)<br/><br/>
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)<br/><br/>
at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:65)<br/><br/>
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)<br/><br/>
at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:41)<br/><br/>
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)<br/><br/>
at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:69)<br/><br/>
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)<br/><br/>
at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)<br/><br/>
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)<br/><br/>
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)<br/><br/>
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185)<br/><br/>
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br/><br/>
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689)<br/><br/>
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)<br/><br/>
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146)<br/><br/>
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)<br/><br/>
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)<br/><br/>
at org.mortbay.jetty.Server.handle(Server.java:285)<br/><br/>
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457)<br/><br/>
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:751)<br/><br/>
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)<br/><br/>
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)<br/><br/>
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)<br/><br/>
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329)<br/><br/>
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)<br/><br/>

+[Powered by

Jetty://|http://jetty.mortbay.org/]+

Im still getting this error and openfire doesnt write anything in the logs for days.

How can I solve it?

Thanks

bump