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/04/30 18:05:35 UTC

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.populateWithSessionTools(..)
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>


Re: Pb with ApplicationTool and the PullService

Posted by Jean-Michel FRANCOIS <jm...@datasystem.fr>.
Thank you but I allready solved the problem.
It was coming from my class : the no-arg constructor was'nt visible.

Stéphane MOR wrote:

> Could you please post the stack trace ?
>
>> 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.populateWithSessionTools(..) 
>>
>> 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>
>>
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Pb with ApplicationTool and the PullService

Posted by Stéphane MOR <st...@yahoo.fr>.
Could you please post the stack trace ?

> 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.populateWithSessionTools(..) 
>
> 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>
>




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


No Appenders could be found

Posted by Gerardo Ramirez <ge...@yahoo.com.mx>.
Hi!

I'm new to turbine, i'm using 2.2, when starting tomcat i got the following
Error.

log4j:ERROR No appenders could be found for category
(org.apache.stratum.component.ComponentLoader).
log4j:ERROR Please initialize the log4j system properly.

How do i initialize log4j properly?

TIA

Gerardo.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>