Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 17278 invoked from network); 31 May 2008 08:41:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2008 08:41:20 -0000 Received: (qmail 77313 invoked by uid 500); 31 May 2008 08:41:23 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 77304 invoked by uid 500); 31 May 2008 08:41:23 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 77289 invoked by uid 99); 31 May 2008 08:41:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 May 2008 01:41:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Janne.Jalkanen@ecyrd.com designates 193.64.5.122 as permitted sender) Received: from [193.64.5.122] (HELO mail.ecyrd.com) (193.64.5.122) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 May 2008 08:40:34 +0000 Received: from [192.168.10.162] (cs181005170.pp.htv.fi [82.181.5.170]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.ecyrd.com (Postfix) with ESMTP id DC0F748325 for ; Sat, 31 May 2008 11:40:34 +0300 (EEST) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: References: <73A5E2ED-3A26-4932-82C6-3367A294765A@ecyrd.com> <57CE5CDB-3BF6-4DF2-ADEB-2C3BBF87D3C2@ecyrd.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7507E093-70E3-4D7C-A13A-E77532BA10A4@ecyrd.com> Content-Transfer-Encoding: 7bit From: Janne Jalkanen Subject: Re: JSPWiki v2.6.2 Tomcat/6.0.16 JVM 1.6.0_06-b02 FATAL com.ecyrd.jspwiki.WikiEngine - Failed to start managers. Date: Sat, 31 May 2008 11:40:24 +0300 To: jspwiki-user@incubator.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org Then I have to admit that I am *totally* stymied. You could add a null-check to the offending line to see that if it helps, but that's really just patching the symptom not the problem. If you could run a debugger and check what is going on (or send me a minimal state of the repository that I can use to replicate the problem), that would be of immense help! /Janne On 31 May 2008, at 11:29, Jim Willeke wrote: > There is no "-att subdirectory" > > Not positive if there was an attachment. for the page. > Thanks > -jim > > On Sat, May 31, 2008 at 3:50 AM, Janne Jalkanen > wrote: >> >> Does the page have attachments? And if it does not, can you also >> check the >> repository directly if there is an -att subdirectory and >> whether >> it is empty? >> >> /Janne >> >> On 30 May 2008, at 23:48, Jim Willeke wrote: >> >>> I see nothing on that page. >>> Now it looks like: >>> 2008-05-30 16:43:31,348 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Creating WikiContext for session ID=(null); target=LUMiscTricks >>> 2008-05-30 16:43:31,348 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Do we need to log the user in? false >>> 2008-05-30 16:43:31,348 [main] DEBUG >>> com.ecyrd.jspwiki.WikiSession - >>> Looking up WikiSession for NULL HttpRequest: returning >>> guestSession() >>> 2008-05-30 16:43:31,348 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Creating WikiContext for session ID=(null); target=LUMiscTricks >>> 2008-05-30 16:43:31,348 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Do we need to log the user in? false >>> 2008-05-30 16:43:31,349 [main] DEBUG >>> com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Getting >>> attachments for WikiPage [ldapwiki:LUMiscTricks,ver=1,mod=Sat May 24 >>> 09:26:01 EDT 2008], name=SunOsIpSetup, version=-1 >>> 2008-05-30 16:43:31,349 [main] DEBUG >>> com.ecyrd.jspwiki.providers.CachingAttachmentProvider - ...needs >>> refresh >>> 2008-05-30 16:43:31,349 [main] DEBUG >>> com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Getting >>> attachments for WikiPage [ldapwiki:LUMiscTricks,ver=1,mod=Sat May 24 >>> 09:26:01 EDT 2008], name=UsingRPM, version=-1 >>> 2008-05-30 16:43:31,349 [main] DEBUG >>> com.ecyrd.jspwiki.providers.CachingAttachmentProvider - ...FOUND in >>> the cache >>> 2008-05-30 16:43:31,350 [main] DEBUG com.ecyrd.jspwiki.WikiEngine - >>> Page LUMiscTricks rendered, took 0:00:00.002 >>> 2008-05-30 16:43:31,350 [main] DEBUG >>> com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Listing >>> attachments for WikiPage [ldapwiki:LUMiscTricks,ver=1,mod=Sat May 24 >>> 09:26:01 EDT 2008] >>> 2008-05-30 16:43:31,350 [main] DEBUG >>> com.ecyrd.jspwiki.providers.CachingAttachmentProvider - LIST from >>> cache, LUMiscTricks, size=0 >>> 2008-05-30 16:43:31,350 [main] DEBUG >>> com.ecyrd.jspwiki.WikiSession - >>> Looking up WikiSession for NULL HttpRequest: returning >>> guestSession() >>> 2008-05-30 16:43:31,350 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Creating WikiContext for session ID=(null); >>> target=VerifyFilePermissions >>> 2008-05-30 16:43:31,350 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Do we need to log the user in? false >>> 2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.WikiEngine - >>> Page VerifyFilePermissions rendered, took 0:00:00.001 >>> 2008-05-30 16:43:31,351 [main] DEBUG >>> com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Listing >>> attachments for WikiPage >>> [ldapwiki:VerifyFilePermissions,ver=1,mod=Fri >>> May 30 15:38:49 EDT 2008] >>> 2008-05-30 16:43:31,351 [main] DEBUG >>> com.ecyrd.jspwiki.WikiSession - >>> Looking up WikiSession for NULL HttpRequest: returning >>> guestSession() >>> 2008-05-30 16:43:31,351 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Creating WikiContext for session ID=(null); >>> target=AccessControlLists >>> 2008-05-30 16:43:31,351 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Do we need to log the user in? false >>> 2008-05-30 16:43:31,351 [main] DEBUG >>> com.ecyrd.jspwiki.WikiSession - >>> Looking up WikiSession for NULL HttpRequest: returning >>> guestSession() >>> 2008-05-30 16:43:31,351 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Creating WikiContext for session ID=(null); >>> target=AccessControlLists >>> 2008-05-30 16:43:31,351 [main] DEBUG >>> com.ecyrd.jspwiki.WikiContext - >>> Do we need to log the user in? false >>> 2008-05-30 16:43:31,352 [main] FATAL com.ecyrd.jspwiki.WikiEngine - >>> Failed to start managers. >>> java.lang.NullPointerException >>> at >>> com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleHyperlinks >>> (JSPWikiMarkupParser.java:1407) >>> at >>> com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleOpenbracket >>> (JSPWikiMarkupParser.java:2203) >>> >>> Which (VerifyFilePermissions) has one line: >>> "This function runs various commands and sets owner and permision >>> changes that are made to the OS to Allows support of eDirectory >>> without direct root access." >>> >>> Thanks for the help. >>> -jim >>> >>> On Fri, May 30, 2008 at 4:26 PM, Janne Jalkanen >>> wrote: >>>> >>>> Looks like a different error, so it sounds very strange. >>>> >>>> Try looking at the page to find any strange plugin invocation >>>> strings. >>>> One >>>> trick would be to split it onto a couple of different pages to >>>> see what >>>> part >>>> of the page fails. >>>> >>>> /Janne >>>> >>>> On 30 May 2008, at 23:11, Jim Willeke wrote: >>>> >>>>> Is this a clue....? >>>>> >>>>> 2008-05-30 16:02:54,149 [JSPWiki Lucene Indexer] DEBUG >>>>> com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Listing >>>>> attachments for WikiPage >>>>> [ldapwiki:OperationsBuildScriptInformation,ver=1,mod=Sat May 24 >>>>> 09:29:11 EDT 2008] >>>>> 2008-05-30 16:02:54,169 [JSPWiki Lucene Indexer] ERROR >>>>> com.ecyrd.jspwiki.search.LuceneSearchProvider - Unable to start >>>>> lucene >>>>> java.lang.NullPointerException >>>>> at >>>>> >>>>> com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCach >>>>> e.get(AbstractConcurrentReadCache.java:692) >>>>> at >>>>> com.opensymphony.oscache.base.Cache.getCacheEntry(Cache.java:657) >>>>> at com.opensymphony.oscache.base.Cache.putInCache >>>>> (Cache.java:605) >>>>> at com.opensymphony.oscache.base.Cache.putInCache >>>>> (Cache.java:569) >>>>> at >>>>> >>>>> com.ecyrd.jspwiki.providers.CachingProvider.getTextFromCache >>>>> (CachingProvider.java:524) >>>>> at >>>>> >>>>> com.ecyrd.jspwiki.providers.CachingProvider.getPageText >>>>> (CachingProvider.java:475) >>>>> at com.ecyrd.jspwiki.PageManager.getPageText >>>>> (PageManager.java:228) >>>>> at >>>>> >>>>> com.ecyrd.jspwiki.search.LuceneSearchProvider.doFullLuceneReindex( >>>>> LuceneSearchProvider.java:214) >>>>> at >>>>> >>>>> com.ecyrd.jspwiki.search.LuceneSearchProvider >>>>> $LuceneUpdater.startupTask(LuceneSearchProvider.java:705) >>>>> at >>>>> >>>>> com.ecyrd.jspwiki.util.WikiBackgroundThread.run >>>>> (WikiBackgroundThread.java:127) >>>>> 2008-05-30 16:02:54,170 [JSPWiki Lucene Indexer] DEBUG >>>>> com.ecyrd.jspwiki.util.WatchDog - JSPWiki Lucene Indexer: Exiting >>>>> state Full reindex >>>>> >>>>> >>>>> On Fri, May 30, 2008 at 3:03 PM, Janne Jalkanen >>>>> wrote: >>>>>> >>>>>> It looks like one of your pages has a plugin invocation which >>>>>> is for >>>>>> some >>>>>> reason killing the parser. This should not be happening, >>>>>> so it is likely that you've found a bug. >>>>>> >>>>>> Any chance you could try to figure out what page is causing >>>>>> this and >>>>>> let >>>>>> us >>>>>> know what the invocation is? You might be able to get some >>>>>> information >>>>>> out >>>>>> of the parser if you set >>>>>> >>>>>> log4j.category.com.ecyrd.jspwiki=DEBUG >>>>>> >>>>>> in your jspwiki.properties. >>>>>> >>>>>> /Janne >>>>>> >>>>>> On 30 May 2008, at 17:26, Jim Willeke wrote: >>>>>> >>>>>>> We have three of four JSPWiki Instances working; but this >>>>>>> one, the >>>>>>> important one will not work. >>>>>>> >>>>>>> We see in the log for this Instance: >>>>>>> >>>>>>> We get the error: >>>>>>> 2008-05-30 10:11:26,685 [main] INFO >>>>>>> com.ecyrd.jspwiki.WikiEngine - >>>>>>> ******************************************* >>>>>>> 2008-05-30 10:11:26,685 [main] INFO >>>>>>> com.ecyrd.jspwiki.WikiEngine - >>>>>>> JSPWiki 2.6.2 starting. Whee! >>>>>>> 2008-05-30 10:11:26,685 [main] INFO >>>>>>> com.ecyrd.jspwiki.WikiEngine - >>>>>>> Servlet container: Apache Tomcat/6.0.16 >>>>>>> 2008-05-30 10:11:26,686 [main] INFO >>>>>>> com.ecyrd.jspwiki.WikiEngine - >>>>>>> JSPWiki working directory is '/srv/tomcat/temp/ldapwiki' >>>>>>> 2008-05-30 10:11:26,687 [main] INFO >>>>>>> com.ecyrd.jspwiki.providers.AbstractFileProvider - Wikipages >>>>>>> are read >>>>>>> from '/srv/www/htdocs/ldapwiki' >>>>>>> 2008-05-30 10:11:26,687 [main] INFO >>>>>>> com.ecyrd.jspwiki.plugin.PluginManager - Registering plugins >>>>>>> 2008-05-30 10:11:26,690 [main] INFO >>>>>>> com.ecyrd.jspwiki.diff.DifferenceManager - Using difference >>>>>>> provider: >>>>>>> ContextualDiffProvider >>>>>>> 2008-05-30 10:11:26,692 [main] INFO >>>>>>> com.ecyrd.jspwiki.search.LuceneSearchProvider - Lucene >>>>>>> enabled, cache >>>>>>> will be in: /srv/tomcat/temp/ldapwiki/lucene >>>>>>> 2008-05-30 10:11:26,692 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.EditorManager >>>>>>> - Registering editor modules >>>>>>> 2008-05-30 10:11:26,695 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.AuthenticationManager - Checking JAAS >>>>>>> configuration... >>>>>>> 2008-05-30 10:11:26,695 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.AuthenticationManager - JAAS already >>>>>>> configured by some other application (leaving it alone...) >>>>>>> 2008-05-30 10:11:26,695 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - >>>>>>> Examining >>>>>>> jndi:/localhost/ldapwiki/WEB-INF/web.xml >>>>>>> 2008-05-30 10:11:26,709 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - >>>>>>> JSPWiki is >>>>>>> using container-managed authentication. >>>>>>> 2008-05-30 10:11:26,709 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - >>>>>>> JSPWiki >>>>>>> determined the web container manages these roles: >>>>>>> [com.ecyrd.jspwiki.auth.authorize.Role: admin] >>>>>>> [com.ecyrd.jspwiki.auth.authorize.Role: Authenticated] >>>>>>> 2008-05-30 10:11:26,709 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - >>>>>>> Authorizer >>>>>>> WebContainerAuthorizer initialized successfully. >>>>>>> 2008-05-30 10:11:26,713 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.AuthorizationManager - Initialized >>>>>>> default >>>>>>> security policy: /srv/www/webapps/ldapwiki/WEB-INF/ >>>>>>> jspwiki.policy >>>>>>> 2008-05-30 10:11:26,713 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.authorize.GroupManager - Attempting >>>>>>> to load >>>>>>> group database class >>>>>>> com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase >>>>>>> 2008-05-30 10:11:26,714 [main] ERROR >>>>>>> com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase - XML group >>>>>>> database property jspwiki.xmlGroupDatabaseFile not found; trying >>>>>>> /srv/www/webapps/ldapwiki/WEB-INF/groupdatabase.xml >>>>>>> 2008-05-30 10:11:26,714 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase - XML group >>>>>>> database at /srv/www/webapps/ldapwiki/WEB-INF/groupdatabase.xml >>>>>>> 2008-05-30 10:11:26,716 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.authorize.GroupManager - Group database >>>>>>> initialized. >>>>>>> 2008-05-30 10:11:26,717 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.authorize.GroupManager - Authorizer >>>>>>> GroupManager initialized successfully; loaded 0 group(s). >>>>>>> 2008-05-30 10:11:26,719 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Using JDK 1.5 >>>>>>> Platform >>>>>>> MBeanServer >>>>>>> 2008-05-30 10:11:26,719 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - >>>>>>> com.sun.jmx.mbeanserver.JmxMBeanServer >>>>>>> 2008-05-30 10:11:26,719 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - DefaultDomain >>>>>>> 2008-05-30 10:11:26,719 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new >>>>>>> admin >>>>>>> bean Core bean >>>>>>> 2008-05-30 10:11:26,719 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new >>>>>>> admin >>>>>>> bean User administration >>>>>>> 2008-05-30 10:11:26,719 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new >>>>>>> admin >>>>>>> bean Search manager >>>>>>> 2008-05-30 10:11:26,719 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new >>>>>>> admin >>>>>>> bean Plugins >>>>>>> 2008-05-30 10:11:26,719 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new >>>>>>> admin >>>>>>> bean WikiWizard >>>>>>> 2008-05-30 10:11:26,731 [main] INFO >>>>>>> com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new >>>>>>> admin >>>>>>> bean Plain editor >>>>>>> 2008-05-30 10:11:26,731 [main] INFO >>>>>>> com.ecyrd.jspwiki.WikiEngine - >>>>>>> Registering filters >>>>>>> 2008-05-30 10:11:26,734 [main] INFO >>>>>>> com.ecyrd.jspwiki.WikiEngine - >>>>>>> Cannot find property file for filters (this is okay, expected >>>>>>> to find >>>>>>> it as: '/WEB-INF/filters.xml') >>>>>>> 2008-05-30 10:11:26,735 [main] INFO >>>>>>> com.ecyrd.jspwiki.render.RenderingManager - Rendering >>>>>>> content with >>>>>>> com.ecyrd.jspwiki.render.XHTMLRenderer. >>>>>>> 2008-05-30 10:11:27,123 [main] INFO >>>>>>> com.ecyrd.jspwiki.ReferenceManager >>>>>>> - Starting cross reference scan of WikiPages >>>>>>> 2008-05-30 10:11:27,123 [main] INFO >>>>>>> com.ecyrd.jspwiki.ReferenceManager >>>>>>> - Unable to unserialize old refmgr information, rebuilding >>>>>>> database: >>>>>>> /srv/tomcat/temp/ldapwiki/refmgr.ser (No such file or directory) >>>>>>> 2008-05-30 10:11:27,127 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.UserManager >>>>>>> - Attempting to load user database class >>>>>>> com.ecyrd.jspwiki.auth.user.XMLUserDatabase >>>>>>> 2008-05-30 10:11:27,127 [main] ERROR >>>>>>> com.ecyrd.jspwiki.auth.user.AbstractUserDatabase - XML user >>>>>>> database >>>>>>> property jspwiki.xmlUserDatabaseFile not found; trying >>>>>>> /srv/www/webapps/ldapwiki/WEB-INF/userdatabase.xml >>>>>>> 2008-05-30 10:11:27,127 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.user.AbstractUserDatabase - XML user >>>>>>> database >>>>>>> at /srv/www/webapps/ldapwiki/WEB-INF/userdatabase.xml >>>>>>> 2008-05-30 10:11:27,129 [main] INFO >>>>>>> com.ecyrd.jspwiki.auth.UserManager >>>>>>> - UserDatabase initialized. >>>>>>> 2008-05-30 10:11:27,442 [JSPWiki Lucene Indexer] INFO >>>>>>> com.ecyrd.jspwiki.search.LuceneSearchProvider - Files found >>>>>>> in Lucene >>>>>>> directory, not reindexing. >>>>>>> 2008-05-30 10:11:28,301 [main] FATAL >>>>>>> com.ecyrd.jspwiki.WikiEngine - >>>>>>> Failed to start managers. >>>>>>> java.lang.NullPointerException >>>>>>> at >>>>>>> >>>>>>> >>>>>>> com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleHyperlinks >>>>>>> (JSPWikiMarkupParser.java:1407) >>>>>>> at >>>>>>> >>>>>>> >>>>>>> com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleOpenbracket >>>>>>> (JSPWikiMarkupParser.java:2203) >>>>>>> at com.ecyrd.jspwiki >>>>>>> >>>>>>> Any Ideas? >>>>>>> Thanks >>>>>>> -- >>>>>>> -jim >>>>>>> Jim Willeke >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> -jim >>>>> Jim Willeke >>>> >>>> >>> >>> >>> >>> -- >>> -jim >>> Jim Willeke >> >> > > > > -- > -jim > Jim Willeke