Home Forums OS X Server and Client Discussion Web 10.4.1 – Weblog Not working

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #361928
    Anonymous
    Guest

    So all then sudden after weeks of working (10.4.1 Server), my weblog just decided to stop working. I have no idea what caused it, now I get these errors:

    HTTP Status 500 -
    
    type Exception report
    
    message
    
    description The server encountered an internal error () that prevented it from fulfilling this request.
    
    exception
    
    javax.servlet.ServletException: Servlet.init() for servlet blojsom threw exception
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:963)
            at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
            at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309)
            at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
            at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
            at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
            at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
            at java.lang.Thread.run(Thread.java:552)
    root cause
    
    java.lang.NullPointerException
            at org.blojsom.blog.BlojsomConfiguration.(BlojsomConfiguration.java:148)
            at org.blojsom.servlet.BlojsomBaseServlet.configureBlojsom(BlojsomBaseServlet.java:107)
            at org.blojsom.servlet.BlojsomServlet.init(BlojsomServlet.java:286)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
            at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
            at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309)
            at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
            at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
            at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
            at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
            at java.lang.Thread.run(Thread.java:552)
    Apache Tomcat/4.1.29-LE-jdk14
    
    #361943
    Anonymous
    Guest

    Replaced:
    /Library/Tomcat/blojsom_root/webapps/ROOT

    With a fresh copy… its now working. No idea what happened.

    #362169
    xadmin
    Participant

    fresh? where does one get that?

    #362182
    Ross
    Participant

    [QUOTE BY= xadmin] fresh? where does one get that?[/QUOTE]

    A backup, another box, or install Tiger server on another box/drive, just to get those files.

    #362202
    xadmin
    Participant

    sort of a pain in the ass… I hope 10.4.2 fixes this.

    #362217
    xadmin
    Participant

    Funny, I just did a fresh 10.4 server install, tested Weblog, worked. I applied all the updates (including 10.4.1) and the Weblog was still working. I go about my business, restart the server a couple times for misc reasons, suddenly Weblog doesn’t work again.

    Second xserve with recent 10.4.1 server update has working Weblog, I’m just waiting for it to stop working now…

    As far as replacing the dir with an old copy, I replaced the ROOT dir and it still isn’t working.

    #362316
    Anonymous
    Guest

    I found this posting when my weblog broke with the 10.4.2 update so whatever causes it isn’t fixed. Hopefully I can easily fix it.

    #362419
    Anonymous
    Guest

    This is caused by a blog name with spaces in the shortname.

    Stolen from macosx-server-admin list:

    >> Solution,
    >> Go to /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/
    >> edit blojsom.properties
    >> and remove from the blojsom-users= entry all names with a space in
    >> there..
    >>
    >> Problem solved!

    #362427
    xadmin
    Participant

    Of course in my case, with only a single blog, on 2 different servers, this is not a solution.

    Has anyone else come across a fix for this DUMB bug?

    #362701
    Anonymous
    Guest

    I followed the instructions, removed the spaces, and the weblog FINALLY began to work again. Thanks

    Why is this not on Apple’s site?

    #362716
    xadmin
    Participant

    This does not solve the problem for those of us who do NOT have blogs with spaces in the usernames..

    #365055
    Dagfinn Kolstad
    Participant

    just replace the ROOT folder in weblog dir

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.

Comments are closed