You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jean-Michel FRANCOIS <jm...@datasystem.fr> on 2002/05/02 10:01:11 UTC

Re: Fw: Pb with ApplicationTool and the PullService

Thanks a lot,
It was a bug with my no-arg constructor (it was not puplic).
I learnt about the default user, it will help me.

JM


Jeff Jones wrote:

>Does it have a no-arg constructor?
>
>----- Original Message -----
>From: "Weaver, Scott" <Sw...@rippe.com>
>To: "'Turbine Users List'" <tu...@jakarta.apache.org>
>Sent: Tuesday, April 30, 2002 1:55 PM
>Subject: RE: Pb with ApplicationTool and the PullService
>
>
>>AFAIK, you can only use session and persistent tools if user management is
>>in use.  Session tools are stored in the User's temp HashMap.
>>
>>Session tools will work even if no User has logged in due to the fact that
>>turbine creates a default User for the purpose using session tools.
>>
>>
>>hth,
>>Scott
>>
>>
>>>-----Original Message-----
>>>From: Jean-Michel FRANCOIS [mailto:jmf@datasystem.fr]
>>>Sent: Tuesday, April 30, 2002 12:06 PM
>>>To: Turbine Users List
>>>Subject: Pb with ApplicationTool and the PullService
>>>
>>>
>>>Hello,
>>>I defined an ApplicationTool in the TR.properties like this:
>>>tool.session.displayContext=fr.datasystem.atlasweb.data.DisplayContext
>>>that class implements ApplicationTool
>>>But when I use it, I have the following error in the log:
>>>2002-04-30 17:32:10,150 [HttpProcessor[8080][4]] ERROR system - Could
>>>not instantiate tool
>>>fr.datasystem.atlasweb.data.DisplayContext to add
>>>to the context
>>>
>>>I'm using Turbine 2.1 and I have not User's management.
>>>The method
>>>org.apache.turbine.services.pull.TurbinePullService.populateWi
>>>thSessionTools(..)
>>>uses the User to store objects with  a session scope.
>>>
>>>Does it mean that I can't use the Pull Service with de session scope?
>>>If anyone has a suggestion ...
>>>
>>>Thank by advance
>>>Jean-Michel
>>>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>><ma...@jakarta.apache.org>
>>>For additional commands, e-mail:
>>><ma...@jakarta.apache.org>
>>>
>