cancel
Showing results for 
Search instead for 
Did you mean: 

Wiki function in Share causes dire issues?

kurt2439
Champ in-the-making
Champ in-the-making
Is the wiki function in Alfresco Labs even worth using? It seems to have many issues – is it better in Labs 3.1? After getting these errors, I could not even login to share or explorer. It would say your authentiction mechism is not accessible or something. Restarting the alfresco server did the trick, but why would this happen in the first place? Perhaps no one has answers to these issues, but is anyone using the wiki within alfresco reliably? Is it better to just use the media wiki plugin? Is anyone using that reliably?


While saving a new wiki page in Alfresco Labs 3 a user got this error

ype Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Error during dispatch: org/apache/log4j/spi/ThrowableInformation
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:194)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
   org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:159)
   org.apache.log4j.Category.forcedLog(Category.java:391)
   org.apache.log4j.Category.log(Category.java:856)
   org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:251)
   org.alfresco.web.framework.render.PresentationUtil.handlePageRenderProblem(PresentationUtil.java:214)
   org.alfresco.web.framework.render.PresentationUtil.renderPage(PresentationUtil.java:89)
   org.alfresco.web.site.servlet.DispatcherServlet.dispatchPage(DispatcherServlet.java:459)
   org.alfresco.web.site.servlet.DispatcherServlet.dispatch(DispatcherServlet.java:336)
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:153)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.

In the catalina.out logs I see this over and over again:

May 7, 2009 4:11:00 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        at java.net.ServerSocket.implAccept(ServerSocket.java:453)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)
        at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:310)
        at java.lang.Thread.run(Thread.java:619)

And also this:
16:14:12,231  ERROR [feed.local.LocalFeedGridJob] java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/alfresco/servic
e/api/activities/templates/org/alfresco/wiki/*?format=json
16:14:12,231  ERROR [activities.feed.AbstractFeedGenerator] Exception during generation of feeds
java.lang.Exception: Server returned HTTP response code: 500 for URL: http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/wiki/*?for
mat=json
        at org.alfresco.repo.activities.feed.local.LocalFeedGridJob.execute(LocalFeedGridJob.java:64)
        at org.alfresco.repo.activities.feed.local.LocalFeedGenerator.generate(LocalFeedGenerator.java:102)
        at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:133)
        at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:56)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
3 REPLIES 3

kevinr
Star Contributor
Star Contributor
Yes it is improved in 3.1. It now uses TinyMCE as the editor also.

Kev

kurt2439
Champ in-the-making
Champ in-the-making
Except Labs 3.1 is the same as Labs 3.0 I discovered recently, so do you mean it is improved in Labs 3.2?

kevinr
Star Contributor
Star Contributor
Yes i believe those changes came after 3.1.

Kev