You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by ac...@streber24.de on 2004/04/28 13:35:32 UTC
Lost error messages
Hi,
in the moment I have a hard time finding some errors in my hivemind
configurations and service implementations.
The reason is, that the original errors are never logged or displayed
and seem to get lost in hivemind.
Example:
ServiceA receives a configuration via set-configuration element.
This configuration consists of instances of other hivemind service and
is stored in property servicelist .
The configuration uses translator service for getting the service instances.
Now, if one of the referenced services throws an exception at startup or
the corresponding BuilderFactory setup is wrong, I get an error like this:
"Unable to update property servicelist of object ServiceAImpl: null."
No hint what the original error is.
That 'null' remembered me of the thread 'Force loading of Services'. I
think it is another
symptom of the same problem.
Achim Huegen
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
Re: Lost error messages
Posted by ac...@streber24.de.
Hi,
I'm using Sun JDK 1.4.2_03.
Achim
Johan Lindquist wrote:
> Out of interest - what JDK version are you running? Could be
> completely unrelated, but I wagely remember the early hivemind tests
> failing on JDK 1.3 because of the difference in exception handling
> between 1.3 and 1.4.
>
> Johan
>
> On Wed, 28 Apr 2004 13:35:32 +0200, <ac...@streber24.de> wrote:
>
>> Hi,
>>
>> in the moment I have a hard time finding some errors in my hivemind
>> configurations and service implementations.
>> The reason is, that the original errors are never logged or displayed
>> and seem to get lost in hivemind.
>>
>> Example:
>> ServiceA receives a configuration via set-configuration element.
>> This configuration consists of instances of other hivemind service
>> and is stored in property servicelist .
>> The configuration uses translator service for getting the service
>> instances.
>>
>> Now, if one of the referenced services throws an exception at startup
>> or the corresponding BuilderFactory setup is wrong, I get an error
>> like this:
>> "Unable to update property servicelist of object ServiceAImpl: null."
>> No hint what the original error is.
>>
>> That 'null' remembered me of the thread 'Force loading of Services'.
>> I think it is another
>> symptom of the same problem.
>>
>> Achim Huegen
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
Re: Lost error messages
Posted by Johan Lindquist <jo...@kawoo.co.uk>.
Out of interest - what JDK version are you running? Could be completely
unrelated, but I wagely remember the early hivemind tests failing on JDK
1.3 because of the difference in exception handling between 1.3 and 1.4.
Johan
On Wed, 28 Apr 2004 13:35:32 +0200, <ac...@streber24.de> wrote:
> Hi,
>
> in the moment I have a hard time finding some errors in my hivemind
> configurations and service implementations.
> The reason is, that the original errors are never logged or displayed
> and seem to get lost in hivemind.
>
> Example:
> ServiceA receives a configuration via set-configuration element.
> This configuration consists of instances of other hivemind service and
> is stored in property servicelist .
> The configuration uses translator service for getting the service
> instances.
>
> Now, if one of the referenced services throws an exception at startup or
> the corresponding BuilderFactory setup is wrong, I get an error like
> this:
> "Unable to update property servicelist of object ServiceAImpl: null."
> No hint what the original error is.
>
> That 'null' remembered me of the thread 'Force loading of Services'. I
> think it is another
> symptom of the same problem.
>
> Achim Huegen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org