Hi Rajjaz,

You should build the kernel 4.0.0 [1] using JDK 6.
carbon4-kernel [2] supports for JDK 7 and 8. So if you want to build kernel
4.0.0 use JDK 6 and try.

[1] http://svn.wso2.org/repos/wso2/trunk/carbon
[2] https://github.com/wso2/carbon4-kernel

Regrads,
Chathura.

On Tue, Jun 23, 2015 at 11:50 AM, Thusitha Thilina Dayaratne <
[email protected]> wrote:

> Hi Rajjaz,
>
> Carbon4-kernel (4.4.0) and all the products that are based on kernel 4.4.0
> supports JDK 7 & 8. But in the SVN AFAIK products are based on kernel
> version prior to kernel 4.4. Therefore if you are building any of them it
> is better to use JDK 1.6 with maven 3.0.x
>
> Thanks
>
> On Tue, Jun 23, 2015 at 11:43 AM, Rajjaz Mohammed <[email protected]> wrote:
>
>> Hi All,
>> Without Changing anything i tried carbon4-kernal
>> <https://github.com/wso2/carbon4-kernel>and then i build ESB
>> <https://github.com/wso2/product-esb>now both are working fine. for jdk
>> 1.7 maven 3.0.5.
>> Thank you All
>>
>> On Tue, Jun 23, 2015 at 10:57 AM, Viraj Senevirathne <[email protected]>
>> wrote:
>>
>>> Hi Rajjaz,
>>>
>>> I tried to mvn clean install with jdk 1.7 and got the same error.
>>>
>>> But when I try to build it with jdk 1.6 it worked. Just check with
>>> $JAVA_HOME to confirm that jdk 1.6 is the active one.
>>>
>>> Make sure to allocate more memory for maven (MAVEN_OPTS="-Xms1024m
>>> -Xmx4096m -XX:MaxPermSize=1024m") to avoid the Maven OutOfMemoryError.
>>>
>>> Thanks,
>>>
>>> On Mon, Jun 22, 2015 at 6:13 PM, Rajjaz Mohammed <[email protected]>
>>> wrote:
>>> > Running org.apache.axis2.jaxws.utility.ClassUtilsTests
>>> > Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.003
>>> sec
>>> > <<< FAILURE!
>>> >
>>> > On Mon, Jun 22, 2015 at 6:09 PM, Thusitha Thilina Dayaratne
>>> > <[email protected]> wrote:
>>> >>
>>> >> Hi Rajjaz,
>>> >>
>>> >> Can you check what is the error in the test log?
>>> >> I think you should build using JDK 1.6 and Maven 3.0.x
>>> >>
>>> >> On Mon, Jun 22, 2015 at 5:59 PM, Rajjaz Mohammed <[email protected]>
>>> wrote:
>>> >>>
>>> >>> java version "1.7.0_79"
>>> >>> Apache Maven 3.0.5
>>> >>>
>>> >>> On Mon, Jun 22, 2015 at 5:57 PM, Thusitha Thilina Dayaratne
>>> >>> <[email protected]> wrote:
>>> >>>>
>>> >>>> Hi Rajjaz,
>>> >>>> What is the JDK and maven versions that are using?
>>> >>>>
>>> >>>> On Mon, Jun 22, 2015 at 5:45 PM, Rajjaz Mohammed <[email protected]>
>>> >>>> wrote:
>>> >>>>>
>>> >>>>> hi All,
>>> >>>>> when i try to build carbon from source I’m getting this error. i
>>> tried
>>> >>>>> from svn trunk and git also but the same error repeating.
>>> >>>>> svn dir: https://svn.wso2.org/repos/wso2/trunk/carbon
>>> >>>>> git Dir: https://github.com/wso2/carbon-mediation
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> Results :
>>> >>>>>
>>> >>>>> Failed tests:
>>> >>>>>   test3(org.apache.axis2.jaxws.utility.ClassUtilsTests)
>>> >>>>>   test4(org.apache.axis2.jaxws.utility.ClassUtilsTests)
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> [INFO] BUILD FAILURE
>>> >>>>> [INFO]
>>> >>>>>
>>> ------------------------------------------------------------------------
>>> >>>>> [INFO] Total time: 32.140s
>>> >>>>> [INFO] Finished at: Mon Jun 22 17:40:46 IST 2015
>>> >>>>> [INFO] Final Memory: 50M/582M
>>> >>>>> [INFO]
>>> >>>>>
>>> ------------------------------------------------------------------------
>>> >>>>> [ERROR] Failed to execute goal
>>> >>>>> org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test
>>> (default-test) on
>>> >>>>> project axis2-jaxws: There are test failures.
>>> >>>>> [ERROR]
>>> >>>>> [ERROR] Please refer to
>>> >>>>>
>>> /home/rajjaz/Documents/buildESB/carbon/dependencies/axis2/1.6.1-wso2v5/modules/jaxws/target/surefire-reports
>>> >>>>> for the individual test results.
>>> >>>>> [ERROR] -> [Help 1]
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> --
>>> >>>>> Thank you
>>> >>>>> Best Regards
>>> >>>>>
>>> >>>>> Rajjaz HM
>>> >>>>> Associate Software Engineer
>>> >>>>> Mobile : +94752833834
>>> >>>>> Email  :[email protected]
>>> >>>>>
>>> >>>>> _______________________________________________
>>> >>>>> Dev mailing list
>>> >>>>> [email protected]
>>> >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> Thusitha Dayaratne
>>> >>>> Software Engineer
>>> >>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>> >>>>
>>> >>>> Mobile  +94712756809
>>> >>>> Blog      alokayasoya.blogspot.com
>>> >>>> About    http://about.me/thusithathilina
>>> >>>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Thank you
>>> >>> Best Regards
>>> >>>
>>> >>> Rajjaz HM
>>> >>> Associate Software Engineer
>>> >>> Mobile : +94752833834
>>> >>> Email  :[email protected]
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Thusitha Dayaratne
>>> >> Software Engineer
>>> >> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>> >>
>>> >> Mobile  +94712756809
>>> >> Blog      alokayasoya.blogspot.com
>>> >> About    http://about.me/thusithathilina
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Thank you
>>> > Best Regards
>>> >
>>> > Rajjaz HM
>>> > Associate Software Engineer
>>> > Mobile : +94752833834
>>> > Email  :[email protected]
>>> >
>>> > _______________________________________________
>>> > Dev mailing list
>>> > [email protected]
>>> > http://wso2.org/cgi-bin/mailman/listinfo/dev
>>> >
>>>
>>>
>>>
>>> --
>>> Viraj Senevirathne
>>> Software Engineer; WSO2, Inc.
>>>
>>> Mobile : +94 71 818 4742
>>> Email : [email protected]
>>>
>>
>>
>>
>> --
>> Thank you
>> Best Regards
>>
>> Rajjaz HM
>> Associate Software Engineer
>> Mobile : +94752833834
>> Email  :[email protected]
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog      alokayasoya.blogspot.com
> About    http://about.me/thusithathilina
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to