incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
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 08:40:24 GMT

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 "<pagename>-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
> <Janne.Jalkanen@ecyrd.com> wrote:
>>
>> Does the page have attachments?  And if it does not, can you also  
>> check the
>> repository directly if there is an <pagename>-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
>>> <Janne.Jalkanen@ecyrd.com> 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
>>>>> <Janne.Jalkanen@ecyrd.com> 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


Mime
View raw message