Observation in 4.1.1

View: New views
4 Messages — Rating Filter:   Alert me  

Observation in 4.1.1

by Thomas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi List

After getting cosy with the observation module the other day it struck  
me to find it seems not to work with 4.1.1

After configuring a listener (that worked in 3.6.8) in magnolia CE  
4.1.1 I get the following hickup:

2009-10-12 15:02:20,523 INFO  
a.module.observation.commands.CommandEventListener: start event  
[info.magnolia.module.admininterface.commands.ActivationCommand]
2009-10-12 15:02:20,526  
WARN  .jackrabbit.core.observation.ObservationDispatcher:  
EventConsumer threw exception: java.lang.NoSuchMethodError:  
info.magnolia.context.MgnlContext.getSystemContext()Linfo/magnolia/
context/Context;

Can someone shed some light?
And forgive me if I've overseen it in previous discussion - obviously  
I'm a bad searcher...

Cheers, Thomas




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: Observation in 4.1.1

by Will Scheidegger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Tom

I got the exact same error message but in a different context - don't  
remember what it was though. I checked the API and even looked in the  
source code, but could not figure out why Mag would not want to find  
the MgnlContext.getSystemContext() method. That was on a 4.1.1-
SNAPSHOT version though. I ended up downloading 4.1.1 final and did  
not see the problem again. Although I'm not sure that this actually  
solved the problem. At the same time I also got rid of old stuff. So  
maybe there was a conflict somewhere else...

-will

On 12.10.2009, at 15:09, Thomas Martin wrote:

>
> Hi List
>
> After getting cosy with the observation module the other day it  
> struck me to find it seems not to work with 4.1.1
>
> After configuring a listener (that worked in 3.6.8) in magnolia CE  
> 4.1.1 I get the following hickup:
>
> 2009-10-12 15:02:20,523 INFO  
> a.module.observation.commands.CommandEventListener: start event  
> [info.magnolia.module.admininterface.commands.ActivationCommand]
> 2009-10-12 15:02:20,526  
> WARN  .jackrabbit.core.observation.ObservationDispatcher:  
> EventConsumer threw exception: java.lang.NoSuchMethodError:  
> info.magnolia.context.MgnlContext.getSystemContext()Linfo/magnolia/
> context/Context;
>
> Can someone shed some light?
> And forgive me if I've overseen it in previous discussion -  
> obviously I'm a bad searcher...
>
> Cheers, Thomas
>
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
>


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: Observation in 4.1.1

by Jan Haderka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Seems like binary compatibility issue. Did you try with observation
1.0.x or with 1.1? My guess would be that running Magnolia 4.1.1 and
observation 1.1 you should be just fine. Tho I might be wrong, if so
just try to build observation module yourself against Magnolia 4.1.1 and
see if that will fix the issue. The return type of the
MgnlContext.getSystemContext() changed between 3.6 and 4.0 from Context
to SystemContext.



On Mon, 2009-10-12 at 15:09 +0200, Thomas Martin wrote:

> Hi List
>
> After getting cosy with the observation module the other day it struck  
> me to find it seems not to work with 4.1.1
>
> After configuring a listener (that worked in 3.6.8) in magnolia CE  
> 4.1.1 I get the following hickup:
>
> 2009-10-12 15:02:20,523 INFO  
> a.module.observation.commands.CommandEventListener: start event  
> [info.magnolia.module.admininterface.commands.ActivationCommand]
> 2009-10-12 15:02:20,526  
> WARN  .jackrabbit.core.observation.ObservationDispatcher:  
> EventConsumer threw exception: java.lang.NoSuchMethodError:  
> info.magnolia.context.MgnlContext.getSystemContext()Linfo/magnolia/
> context/Context;
>
> Can someone shed some light?
> And forgive me if I've overseen it in previous discussion - obviously  
> I'm a bad searcher...

I never meant to imply that. Sorry if it sounded that way ;)

Jan

>
> Cheers, Thomas
>
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: Observation in 4.1.1

by Thomas Martin-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


thanks for the quick answers.

I was not aware that a 1.1 of observation existed.
Replacing 1.0 with 1.1 resolved the issue for me.
Thanks!

As a suggestion: Might be helpfull to update http://documentation.magnolia-cms.com/modules.html 
  to point to 1.1 as latest version.

Cheers & brgds from a happy observer =)
Thomas



On 12.10.2009, at 15:37, Jan Haderka wrote:

>
> Seems like binary compatibility issue. Did you try with observation
> 1.0.x or with 1.1? My guess would be that running Magnolia 4.1.1 and
> observation 1.1 you should be just fine. Tho I might be wrong, if so
> just try to build observation module yourself against Magnolia 4.1.1  
> and
> see if that will fix the issue. The return type of the
> MgnlContext.getSystemContext() changed between 3.6 and 4.0 from  
> Context
> to SystemContext.
>
>
>
> On Mon, 2009-10-12 at 15:09 +0200, Thomas Martin wrote:
>> Hi List
>>
>> After getting cosy with the observation module the other day it  
>> struck
>> me to find it seems not to work with 4.1.1
>>
>> After configuring a listener (that worked in 3.6.8) in magnolia CE
>> 4.1.1 I get the following hickup:
>>
>> 2009-10-12 15:02:20,523 INFO
>> a.module.observation.commands.CommandEventListener: start event
>> [info.magnolia.module.admininterface.commands.ActivationCommand]
>> 2009-10-12 15:02:20,526
>> WARN  .jackrabbit.core.observation.ObservationDispatcher:
>> EventConsumer threw exception: java.lang.NoSuchMethodError:
>> info.magnolia.context.MgnlContext.getSystemContext()Linfo/magnolia/
>> context/Context;
>>
>> Can someone shed some light?
>> And forgive me if I've overseen it in previous discussion - obviously
>> I'm a bad searcher...
>
> I never meant to imply that. Sorry if it sounded that way ;)
>
> Jan
>
>>
>> Cheers, Thomas
>>
>>
>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
>


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------