Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 27857 invoked from network); 19 Feb 2008 09:11:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2008 09:11:17 -0000 Received: (qmail 49483 invoked by uid 500); 19 Feb 2008 09:11:12 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 49472 invoked by uid 500); 19 Feb 2008 09:11:12 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 49462 invoked by uid 99); 19 Feb 2008 09:11:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 01:11:12 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 09:10:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B0D7234C03B for ; Tue, 19 Feb 2008 01:10:43 -0800 (PST) Message-ID: <322828537.1203412243620.JavaMail.jira@brutus> Date: Tue, 19 Feb 2008 01:10:43 -0800 (PST) From: "Florian Holeczek (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Commented: (JSPWIKI-185) NullPointerException during deployment In-Reply-To: <14809245.1202910429567.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570146#action_12570146 ] Florian Holeczek commented on JSPWIKI-185: ------------------------------------------ In JSPWIKI-185, Janne wrote: {quote}You should not deploy JSPWiki from a WAR file. It is not guaranteed to work.{quote} You wrote that you're doing this. Try unzipping the WAR file manually to webapps/JSPWiki. Maybe this helps! > NullPointerException during deployment > -------------------------------------- > > Key: JSPWIKI-185 > URL: https://issues.apache.org/jira/browse/JSPWIKI-185 > Project: JSPWiki > Issue Type: Bug > Components: Core & storage > Affects Versions: 2.6.1 > Environment: osx 10.5.2, jvm 1.5.0_13-b05-237, tomcat 5.5.26 > Reporter: iliad > Priority: Minor > > Thanks a lot for helping! I just wanted to have a first look on JSPWiki and got the following problem: > - installed new naked tomcat 5.5.26 > - copied JSPWiki.war into webapps > - http://localhost:8080/JSPWiki/ gives a 404 error page > - catalina.out: > Feb 13, 2008 3:35:42 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent > INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java > Feb 13, 2008 3:35:42 PM org.apache.coyote.http11.Http11BaseProtocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > Feb 13, 2008 3:35:42 PM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 724 ms > Feb 13, 2008 3:35:42 PM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > Feb 13, 2008 3:35:42 PM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.5.26 > Feb 13, 2008 3:35:42 PM org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > Feb 13, 2008 3:35:42 PM org.apache.catalina.startup.HostConfig deployWAR > INFO: Deploying web application archive JSPWiki.war > Starting up background thread: JSPWiki Lucene Indexer. > Starting up background thread: WatchDog for 'JSPWiki'. > Starting up background thread: JSPWiki Lucene Indexer. > Feb 13, 2008 3:35:44 PM org.apache.catalina.core.StandardContext start > SEVERE: Error filterStart > Feb 13, 2008 3:35:44 PM org.apache.catalina.core.StandardContext start > SEVERE: Context [/JSPWiki] startup failed due to previous errors > Background thread error: (stack trace follows) > java.lang.NullPointerException > at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231) > at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711) > at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135) > Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException > at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171) > Feb 13, 2008 3:35:45 PM org.apache.coyote.http11.Http11BaseProtocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Feb 13, 2008 3:35:45 PM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > Feb 13, 2008 3:35:45 PM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=0/23 config=null > Feb 13, 2008 3:35:45 PM org.apache.catalina.storeconfig.StoreLoader load > INFO: Find registry server-registry.xml at classpath resource > Feb 13, 2008 3:35:45 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 3413 ms > Background thread error: (stack trace follows) > java.lang.NullPointerException > at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231) > at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711) > at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135) > Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException > at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171) > Background thread error: (stack trace follows) > java.lang.NullPointerException > at com.ecyrd.jspwiki.util.WatchDog$WatchDogThread.backgroundTask(WatchDog.java:375) > at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135) > Exception in thread "WatchDog for 'JSPWiki'" com.ecyrd.jspwiki.InternalWikiException > at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.