incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Jaquith <andrew.r.jaqu...@gmail.com>
Subject Re: Howling at the moon (Priha)
Date Wed, 11 Feb 2009 14:53:21 GMT
Olaf -- thanks for the tip! I will give this a try tonight, and patch  
build.xml according, assuming Janne doesn't beat me to it. :)

On Feb 11, 2009, at 4:10, Janne Jalkanen <janne.jalkanen@ecyrd.com>  
wrote:

>
> OOps ;-)
>
> /Janne
>
> On 11 Feb 2009, at 10:49, Olaf K. wrote:
>
>> Hi Andrew!
>>
>> The priha.properties file is missing in the war.
>> Just copy the /test/etc/priha.properties to /WEB-INF/classes and  
>> the JSPWiki should start correct.
>>
>> -------- Original-Nachricht --------
>>> Datum: Tue, 10 Feb 2009 09:49:06 -0500
>>> Von: Andrew Jaquith <andrew.r.jaquith@gmail.com>
>>> An: jspwiki-dev@incubator.apache.org
>>> Betreff: Re: Howling at the moon (Priha)
>>
>>> Ok -- I will hold off on running WARs for a bit. Plenty of other  
>>> work
>>> to do, like refactoring scriptlet code into ActionBeans... :)
>>>
>>> On Feb 10, 2009, at 5:25, Janne Jalkanen <janne.jalkanen@iki.fi>  
>>> wrote:
>>>
>>>>> JSPWiki won't start properly when deployed as a WAR.  
>>>>> ContentManager
>>>>> is
>>>>> failing to initialize(). This line is the one causing problems:
>>>>>
>>>>>          id = m_sessionManager.createSession();
>>>>>
>>>>> I suspect that this relates somehow to how Priha initializes. I
>>>>> attempted to follow a debug trace and it seemed to fail somewhere
>>>>> inside of login(). But I don't have the Priha source handy and  
>>>>> don't
>>>>> know for sure. I don't have the desire to check out source  
>>>>> tonight to
>>>>> investigate further. So, Janne, any quick and easy solutions that
>>>>> would help with this?
>>>>
>>>> Yup.  Disable that line, or prevent initialization of  
>>>> ContentManager
>>>> in the first place.  The current SVN does not use it for anything  
>>>> else
>>>> except unit tests.
>>>>
>>>> I *think* the reason is probably that Priha can't find all it needs
>>>> from the classpath, or that I've screwed something with respect to
>>>> resource loading.  It's probably no biggie, but I haven't tested  
>>>> WAR
>>>> deployments yet.
>>>>
>>>> The current ContentManager does not work anyway because of the
>>>> discussion we've had previously on the session management.  It
>>>> actually returns invalid WikiPage objects at the moment.
>>>>
>>>> FYI, the Priha source code is at http://svn.ecyrd.com/repos/priha/,
>>>> and it's Apache-licensed.
>>>>
>>>> /Janne
>>
>> -- 
>> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit  
>> allen: http://www.gmx.net/de/go/multimessenger01
>

Mime
View raw message