Hi Ruwan, This looks like it's due to changes we did earlier today in synapse core. Could you try applying the attached patch at https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/
That should fix this problem, if not I'll fix this tomorrow morning - as I don't have commit rights to do this now. Ravi On Mon, Oct 21, 2013 at 11:28 PM, Ruwan Yatawara <[email protected]> wrote: > Hi All, > > Getting the following build failure when trying to build > Synapse 2.1.2-wso2v1. We were in the process of removing components not > released with chunk-02 when this was encountered, all the changes we did > have been reverted, but the issue still remains. > > A quick search seems to reveal this might be related to an axis2 version > incompatibility issue. > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.0:compile > (default-compile) on project synapse-core: Compilation failure: Compilation > failure: > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorFactoryFinder.java:[37,15] > sun.misc.Service is Sun proprietary API and may be removed in a future > release > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/endpoints/algorithms/RoundRobin.java:[27,26] > sun.security.action.LoadLibraryAction is Sun proprietary API and may be > removed in a future release > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/ConfigurationFactoryAndSerializerFinder.java:[29,15] > sun.misc.Service is Sun proprietary API and may be removed in a future > release > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/StartupFinder.java:[37,15] > sun.misc.Service is Sun proprietary API and may be removed in a future > release > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorSerializerFinder.java:[27,15] > sun.misc.Service is Sun proprietary API and may be removed in a future > release > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorFactoryFinder.java:[154,22] > sun.misc.Service is Sun proprietary API and may be removed in a future > release > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/ConfigurationFactoryAndSerializerFinder.java:[117,22] > sun.misc.Service is Sun proprietary API and may be removed in a future > release > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/util/xpath/SynapseJsonPath.java:[65,38] > JSON_STREAM has private access in org.apache.axis2.json.JSONBuilder > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/util/xpath/SynapseJsonPath.java:[81,62] > JSON_STREAM has private access in org.apache.axis2.json.JSONBuilder > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/util/xpath/SynapseJsonPath.java:[108,35] > JSON_STREAM has private access in org.apache.axis2.json.JSONBuilder > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/StartupFinder.java:[115,25] > sun.misc.Service is Sun proprietary API and may be removed in a future > release > [ERROR] > [ERROR] > /build/branches/turing/dependencies/synapse/2.1.2-wso2v1/modules/core/src/main/java/org/apache/synapse/config/xml/MediatorSerializerFinder.java:[120,22] > sun.misc.Service is Sun proprietary API and may be removed in a future > release > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :synapse-core > > > Thanks and Regards, > > Ruwan Yatawara > > Software Engineer, > WSO2 Inc. > lean . enterprise . middleware > > email : [email protected] > mobile : +94 77 9110413 > blog : http://ruwansrants.blogspot.com/ > www: :http://wso2.com > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Ravi Undupitiya* Software Engineer; WSO2 Inc.; http://wso2.com * * *E-mail: [email protected] **M: **+94 772 930 712* * *Lean . Enterprise . Middleware
synapse-core.diff
Description: Binary data
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
