On 9/25/10 1:53 PM, Amila Suriarachchi wrote:

applied the patch. earlier problem was due to my local change.

you should report all the development issues in CARBON product jiras to report user level errors.
+1

Ruwan

thanks,
Amila.

On Sat, Sep 25, 2010 at 10:15 AM, Charith Wickramarachchi <chari...@wso2.com <mailto:chari...@wso2.com>> wrote:



    On Fri, Sep 24, 2010 at 10:31 PM, Amila Suriarachchi
    <am...@wso2.com <mailto:am...@wso2.com>> wrote:

        synapse has changed the version to 2.1.0-SNAPSHOT. So I
        applied this patch with that version.

        then it gives the following exception

        
/home/amila/projects/carbon/components/rule/org.wso2.carbon.rule.mediator/src/main/java/org/wso2/carbon/rule/mediator/RuleMediatorSerializer.java:[73,21]
        
serializeMediator(org.apache.axiom.om.OMElement,org.apache.synapse.Mediator)
        in org.wso2.carbon.rule.mediator.RuleMediatorSerializer cannot
        override
        
serializeMediator(org.apache.axiom.om.OMElement,org.apache.synapse.Mediator)
        in org.apache.synapse.config.xml.AbstractMediatorSerializer;
        overridden method is final


        can please you re test and attach the patch as a jira with the
        new synapse version?

    Hi Amila ,
    I changed the synapse version to 2.1.0 -SNAPSHOT and reattached
    the patch at
    https://wso2.org/jira/browse/BRS-1

    With this new patch rule component in trunk builds fine now.

    Its strange that  i couldn't find the cause for the error you
    reported, The RuleMediatorSerializer have not overridden the
     
serializeMediator(org.apache.axiom.om.OMElement,org.apache.synapse.Mediator) 
method .

    thanks,
    Charith



        thanks,
        Amila.


        On Fri, Sep 24, 2010 at 7:36 PM, Charith Wickramarachchi
        <chari...@wso2.com <mailto:chari...@wso2.com>> wrote:


            I think this is due to the resent API change .
            Following is a simple patch to resolve this according to
            my understanding.

            please review and commit.
            --Charith

            On Fri, Sep 24, 2010 at 3:51 PM, Samisa Abeysinghe
            <sam...@wso2.com <mailto:sam...@wso2.com>> wrote:

                Compiling 8 source files to
                
/home/stratos/build/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
                [INFO]
                
------------------------------------------------------------------------
                [ERROR] BUILD FAILURE
                [INFO]
                
------------------------------------------------------------------------
                [INFO] Compilation failure

                
/home/stratos/build/carbon/components/rule/org.wso2.carbon.rule.mediator/src/main/java/org/wso2/carbon/rule/mediator/MediatorResourceAdapter.java:[60,34]
                
getObjectFromOMNode(org.apache.axiom.om.OMNode,java.util.Properties)
                in org.apache.synapse.config.XMLToObjectMapper cannot
                be applied to (org.apache.axiom.om.OMNode)

                
/home/stratos/build/carbon/components/rule/org.wso2.carbon.rule.mediator/src/main/java/org/wso2/carbon/rule/mediator/RuleMediatorFactory.java:[38,7]
                org.wso2.carbon.rule.mediator.RuleMediatorFactory is
                not abstract and does not override abstract method
                
createSpecificMediator(org.apache.axiom.om.OMElement,java.util.Properties)
                in org.apache.synapse.config.xml.AbstractMediatorFactory

                
/home/stratos/build/carbon/components/rule/org.wso2.carbon.rule.mediator/src/main/java/org/wso2/carbon/rule/mediator/RuleMediatorFactory.java:[70,12]
                
addChildren(org.apache.axiom.om.OMElement,org.apache.synapse.mediators.ListMediator,java.util.Properties)
                in
                org.apache.synapse.config.xml.AbstractListMediatorFactory
                cannot be applied to
                
(org.apache.axiom.om.OMElement,org.wso2.carbon.rule.mediator.RuleMediator)


                [INFO]
                
------------------------------------------------------------------------
                [INFO] For more information, run Maven with the -e switch
                [INFO]
                
------------------------------------------------------------------------
                [INFO] Total time: 97 minutes 27 seconds
                [INFO] Finished at: Fri Sep 24 09:56:29 UTC 2010
                [INFO] Final Memory: 1008M/1864M
                [INFO]
                
------------------------------------------------------------------------

                On Fri, Sep 24, 2010 at 9:59 AM, Samisa Abeysinghe
                <sam...@wso2.com <mailto:sam...@wso2.com>> wrote:

                    Compiling 8 source files to
                    
/home/stratos/build/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
                    [INFO]
                    
------------------------------------------------------------------------
                    [ERROR] BUILD FAILURE
                    [INFO]
                    
------------------------------------------------------------------------
                    [INFO] Compilation failure

                    
/home/stratos/build/carbon/components/rule/org.wso2.carbon.rule.mediator/src/main/java/org/wso2/carbon/rule/mediator/MediatorResourceAdapter.java:[60,34]
                    
getObjectFromOMNode(org.apache.axiom.om.OMNode,java.util.Properties)
                    in org.apache.synapse.config.XMLToObjectMapper
                    cannot be applied to (org.apache.axiom.om.OMNode)

                    
/home/stratos/build/carbon/components/rule/org.wso2.carbon.rule.mediator/src/main/java/org/wso2/carbon/rule/mediator/RuleMediatorFactory.java:[38,7]
                    org.wso2.carbon.rule.mediator.RuleMediatorFactory
                    is not abstract and does not override abstract
                    method
                    
createSpecificMediator(org.apache.axiom.om.OMElement,java.util.Properties)
                    in
                    org.apache.synapse.config.xml.AbstractMediatorFactory

                    
/home/stratos/build/carbon/components/rule/org.wso2.carbon.rule.mediator/src/main/java/org/wso2/carbon/rule/mediator/RuleMediatorFactory.java:[70,12]
                    
addChildren(org.apache.axiom.om.OMElement,org.apache.synapse.mediators.ListMediator,java.util.Properties)
                    in
                    org.apache.synapse.config.xml.AbstractListMediatorFactory
                    cannot be applied to
                    
(org.apache.axiom.om.OMElement,org.wso2.carbon.rule.mediator.RuleMediator)

                    Thanks,
                    Samisa...

                    Samisa Abeysinghe
                    VP Engineering
                    WSO2 Inc.
                    http://wso2.com
                    http://wso2.org

                Thanks,
                Samisa...

                Samisa Abeysinghe
                VP Engineering
                WSO2 Inc.
                http://wso2.com
                http://wso2.org



                _______________________________________________
                Carbon-dev mailing list
                Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
                https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- Charith Dhanushka Wickramarachchi
            Software Engineer
            WSO2 Inc
            http://wso2.org/
            http://wso2.com/

            http://charithwiki.blogspot.com/
            Mobile : +94 77 670 6568



            _______________________________________________
            Carbon-dev mailing list
            Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
            https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



        _______________________________________________
        Carbon-dev mailing list
        Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
        https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- Charith Dhanushka Wickramarachchi
    Software Engineer
    WSO2 Inc
    http://wso2.org/
    http://wso2.com/

    http://charithwiki.blogspot.com/
    Mobile : +94 77 670 6568



    _______________________________________________
    Carbon-dev mailing list
    Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
    https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


--
Ruwan Linton
Software Architect&  Product Manager, WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.com

Lean . Enterprise . Middleware

phone: +1 408 754 7388 ext 51789
email: ru...@wso2.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
tweet: http://twitter.com/ruwanlinton

_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to