You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Hugo Palma (JIRA)" <hi...@jakarta.apache.org> on 2007/07/02 17:04:04 UTC

[jira] Created: (HIVEMIND-208) Service Serialization doesn't work on a cluster

Service Serialization doesn't work on a cluster
-----------------------------------------------

                 Key: HIVEMIND-208
                 URL: https://issues.apache.org/jira/browse/HIVEMIND-208
             Project: HiveMind
          Issue Type: Bug
          Components: framework
    Affects Versions: 1.1.1
            Reporter: Hugo Palma
            Priority: Critical


I'm getting the following exception all over the logs in a clustered environment :

org.apache.hivemind.ApplicationRuntimeException: The ServiceSerializationSupport instance has not been set; this indicates that the HiveMind Registry has not been created within this JVM.

It seems that the cause might be the use of a LocalThread variable in ServiceSerializationHelper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVEMIND-208) Service Serialization doesn't work on a cluster

Posted by "Johan Lindquist (JIRA)" <hi...@jakarta.apache.org>.
     [ https://issues.apache.org/jira/browse/HIVEMIND-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Lindquist updated HIVEMIND-208:
-------------------------------------

    Attachment: hivemind-208.patch

> Service Serialization doesn't work on a cluster
> -----------------------------------------------
>
>                 Key: HIVEMIND-208
>                 URL: https://issues.apache.org/jira/browse/HIVEMIND-208
>             Project: HiveMind
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 1.1.1
>            Reporter: Hugo Palma
>            Priority: Blocker
>         Attachments: hivemind-208.patch
>
>
> I'm getting the following exception all over the logs in a clustered environment :
> org.apache.hivemind.ApplicationRuntimeException: The ServiceSerializationSupport instance has not been set; this indicates that the HiveMind Registry has not been created within this JVM.
> It seems that the cause might be the use of a LocalThread variable in ServiceSerializationHelper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVEMIND-208) Service Serialization doesn't work on a cluster

Posted by "Hugo Palma (JIRA)" <hi...@jakarta.apache.org>.
     [ https://issues.apache.org/jira/browse/HIVEMIND-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hugo Palma updated HIVEMIND-208:
--------------------------------

    Priority: Blocker  (was: Critical)

> Service Serialization doesn't work on a cluster
> -----------------------------------------------
>
>                 Key: HIVEMIND-208
>                 URL: https://issues.apache.org/jira/browse/HIVEMIND-208
>             Project: HiveMind
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 1.1.1
>            Reporter: Hugo Palma
>            Priority: Blocker
>
> I'm getting the following exception all over the logs in a clustered environment :
> org.apache.hivemind.ApplicationRuntimeException: The ServiceSerializationSupport instance has not been set; this indicates that the HiveMind Registry has not been created within this JVM.
> It seems that the cause might be the use of a LocalThread variable in ServiceSerializationHelper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVEMIND-208) Service Serialization doesn't work on a cluster

Posted by "Jon Aardal (JIRA)" <hi...@jakarta.apache.org>.
    [ https://issues.apache.org/jira/browse/HIVEMIND-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558681#action_12558681 ] 

Jon Aardal commented on HIVEMIND-208:
-------------------------------------

Has anyone found a workaround for this issue?

Do you have to provide your own persistence mechanism
by implementing a 'private void writeObject(ObjectOutputStream s) throws IOException' method and setting
the service to null so the service is not persisted?

> Service Serialization doesn't work on a cluster
> -----------------------------------------------
>
>                 Key: HIVEMIND-208
>                 URL: https://issues.apache.org/jira/browse/HIVEMIND-208
>             Project: HiveMind
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 1.1.1
>            Reporter: Hugo Palma
>            Priority: Blocker
>
> I'm getting the following exception all over the logs in a clustered environment :
> org.apache.hivemind.ApplicationRuntimeException: The ServiceSerializationSupport instance has not been set; this indicates that the HiveMind Registry has not been created within this JVM.
> It seems that the cause might be the use of a LocalThread variable in ServiceSerializationHelper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVEMIND-208) Service Serialization doesn't work on a cluster

Posted by "Johan Lindquist (JIRA)" <hi...@jakarta.apache.org>.
    [ https://issues.apache.org/jira/browse/HIVEMIND-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568180#action_12568180 ] 

Johan Lindquist commented on HIVEMIND-208:
------------------------------------------

Have gotten a test case to emulate this and it looks (at an initial glance) that the problem disappears if replacing the thread local with a simple instance variable that is accessible to any of the threads.  Not been able to test in a real environment.

Will attach patch - comments are appreciated.

> Service Serialization doesn't work on a cluster
> -----------------------------------------------
>
>                 Key: HIVEMIND-208
>                 URL: https://issues.apache.org/jira/browse/HIVEMIND-208
>             Project: HiveMind
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 1.1.1
>            Reporter: Hugo Palma
>            Priority: Blocker
>         Attachments: hivemind-208.patch
>
>
> I'm getting the following exception all over the logs in a clustered environment :
> org.apache.hivemind.ApplicationRuntimeException: The ServiceSerializationSupport instance has not been set; this indicates that the HiveMind Registry has not been created within this JVM.
> It seems that the cause might be the use of a LocalThread variable in ServiceSerializationHelper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.