You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2009/08/18 07:08:14 UTC

[jira] Created: (SYNAPSE-569) Setting Dynamic Endpoint Name

Setting Dynamic Endpoint Name
-----------------------------

                 Key: SYNAPSE-569
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-569
             Project: Synapse
          Issue Type: Bug
            Reporter: Amila Chinthaka Suriarachchi


Synapse has to set the DynamicLoadbalanceEndpoint address in order it to work properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-569) Setting Dynamic Endpoint Name

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi updated SYNAPSE-569:
-------------------------------------------------

    Attachment: patch.txt

Need to set a random name to Dynamic Loadbalance Endpoint otherwise this exception may occur.

[2009-08-17 21:18:41,899]  WARN - MBeanRegistrar Error registering a MBean with name ' DynamicLoadBalanceAddressEndpoint ' and category name ' Endpoint' for JMX management
javax.management.InstanceAlreadyExistsException: org.apache.synapse:Type=Endpoint,Name=DynamicLoadBalanceAddressEndpoint
    at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
    at org.apache.synapse.commons.jmx.MBeanRegistrar.registerMBean(MBeanRegistrar.java:54)
    at org.apache.synapse.endpoints.AbstractEndpoint.setName(AbstractEndpoint.java:138)
    at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.sendToApplicationMember(DynamicLoadbalanceEndpoint.java:132)
    at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:91)
    at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:75)
    at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
    at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:55)
    at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
    at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:117)
    at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:131)
    at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:86)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178)
    at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
    at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:349)
    at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:241)
    at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)

> Setting Dynamic Endpoint Name
> -----------------------------
>
>                 Key: SYNAPSE-569
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-569
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Amila Chinthaka Suriarachchi
>         Attachments: patch.txt, patch.txt
>
>
> Synapse has to set the DynamicLoadbalanceEndpoint address in order it to work properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-569) Setting Dynamic Endpoint Name

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka resolved SYNAPSE-569.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Fixed on 1.3 branch and trunk. Thanks Amila for testing the dynamic load balance functionality extensively and providing the patch.

> Setting Dynamic Endpoint Name
> -----------------------------
>
>                 Key: SYNAPSE-569
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-569
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Amila Chinthaka Suriarachchi
>            Assignee: Hiranya Jayathilaka
>             Fix For: 1.3
>
>         Attachments: patch.txt, patch.txt
>
>
> Synapse has to set the DynamicLoadbalanceEndpoint address in order it to work properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-569) Setting Dynamic Endpoint Name

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi updated SYNAPSE-569:
-------------------------------------------------

    Attachment: patch.txt

Attach the patch

> Setting Dynamic Endpoint Name
> -----------------------------
>
>                 Key: SYNAPSE-569
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-569
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Amila Chinthaka Suriarachchi
>         Attachments: patch.txt
>
>
> Synapse has to set the DynamicLoadbalanceEndpoint address in order it to work properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-569) Setting Dynamic Endpoint Name

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka reassigned SYNAPSE-569:
-------------------------------------------

    Assignee: Hiranya Jayathilaka

> Setting Dynamic Endpoint Name
> -----------------------------
>
>                 Key: SYNAPSE-569
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-569
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Amila Chinthaka Suriarachchi
>            Assignee: Hiranya Jayathilaka
>         Attachments: patch.txt, patch.txt
>
>
> Synapse has to set the DynamicLoadbalanceEndpoint address in order it to work properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org