You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@apache.org> on 2016/04/29 11:02:34 UTC

Re: Build fail on stratos 4.x.x

Hi 周华康 <https://plus.google.com/u/1/100032794986078251313?prsrc=4>,

You might not need to build Stratos from source, you can download the
binary from the below location:
https://dist.apache.org/repos/dist/release/stratos/4.1.5/

Thanks

On Fri, Apr 29, 2016 at 12:40 PM, 周华康 <45...@qq.com> wrote:

> Hi,
> You have decided to develop the new version of Stratos,do you also will
> support the version 4.x.x?
> By the way,it seems that it is too complex to deploy the stratos on a
> preferred IaaS.The steps are too long!
> I have read the guide following to deploy the stratos on a Ubuntu 12 system
>
> https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS
>        But when I try to build the source.it always failed.Can you give
> me some advice?
>
>
>
> The output are as follows:
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:12.229s
> [INFO] Finished at: Fri Apr 29 06:57:59 UTC 2016
> [INFO] Final Memory: 62M/210M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on
> project aws-ec2: Execution default-test of goal
> org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked
> VM terminated without properly saying goodbye. VM crash or System.exit
> called?
> [ERROR] Command was /bin/sh -c cd
> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2
> && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -jar
> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefirebooter1346923392864623010.jar
> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire3831696911642642093tmp
> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire_0949880074517444186tmp
> [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/PluginExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :aws-ec2
>
>
>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: Build fail on stratos 4.x.x

Posted by 周华康 <45...@qq.com>.
hi,
	I have run the stratos with Mock IaaS before,and at present i want to deploy the stratos on a preferred the IaaS,and  then deploy an real  application  on stratos 4.x.x,and visit it,not just the mock IaaS

> 在 2016年4月30日,下午1:18,Imesh Gunaratne <im...@apache.org> 写道:
> 
> Better not to use Puppet for the first run, try following:
> Download ActiveMQ and start it: <activemq-home>/bin/activemq start
> Download Stratos distribution and start it: <stratos-home>/bin/stratos.sh start
> Then execute a sample using Mock IaaS [1] (this is a simulation, later you can use an actual IaaS)
> Login to Stratos UI: https://<stratos-host>:9443/console
> [1] https://github.com/apache/stratos/blob/master/samples/applications/simple/single-cartridge-app/scripts/mock/deploy.sh <https://github.com/apache/stratos/blob/master/samples/applications/simple/single-cartridge-app/scripts/mock/deploy.sh>
> 
> Thanks
> 
> On Sat, Apr 30, 2016 at 10:42 AM, 周华康 <459673409@qq.com <ma...@qq.com>> wrote:
> sorry for forgetting the guide where i follow:
> https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS#id-4.1.xDeployingStratosonaPreferredIaaS-kstep4 <https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS#id-4.1.xDeployingStratosonaPreferredIaaS-kstep4>
> <PastedGraphic-2.png>
>> 在 2016年4月30日,下午1:00,周华康 <459673409@qq.com <ma...@qq.com>> 写道:
>> 
>> Hi,
>>      Thanks for your kind! 
>>      I will download the zip file and go on  first, not try to change the OpenJDK to Oracle JDK at present.
>>      But when I follow the following step,I found that the directory is a file!I can not put the jars into the  
>>      /etc/puppet/modules/lb/files/activemq/ 
>>     
>>     and after i run the command “ls -l”,it actually shows that the activemq is just a file,not directory.
>>     Then i how can i keep on???
>> sincerely
>>    <PastedGraphic-1.png>
>> 
>> 
>> 
>>> 在 2016年4月29日,下午5:06,Akila Ravihansa Perera <ravihansa@wso2.com <ma...@wso2.com>> 写道:
>>> 
>>> Hi,
>>> 
>>> It seems you are building Stratos using OpenJDK. This is not tested AFAIK. Can you try with Oracle JDK 7?
>>> 
>>> Thanks.
>>> 
>>> 
>>> On Fri, Apr 29, 2016 at 2:32 PM, Imesh Gunaratne <imesh@apache.org <ma...@apache.org>> wrote:
>>> Hi 周华康 <https://plus.google.com/u/1/100032794986078251313?prsrc=4>,
>>> 
>>> You might not need to build Stratos from source, you can download the binary from the below location:
>>> https://dist.apache.org/repos/dist/release/stratos/4.1.5/ <https://dist.apache.org/repos/dist/release/stratos/4.1.5/>
>>> 
>>> Thanks
>>> 
>>> On Fri, Apr 29, 2016 at 12:40 PM, 周华康 <459673409@qq.com <ma...@qq.com>> wrote:
>>> Hi,
>>> 	You have decided to develop the new version of Stratos,do you also will support the version 4.x.x?
>>> 	By the way,it seems that it is too complex to deploy the stratos on a preferred IaaS.The steps are too long!
>>> 	I have read the guide following to deploy the stratos on a Ubuntu 12 system
>>>        https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS <https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS>
>>>        But when I try to build the source.it <http://source.it/> always failed.Can you give me some advice?
>>>        <PastedGraphic-1.png>
>>> 
>>> 
>>> The output are as follows:
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Total time: 1:12.229s
>>> [INFO] Finished at: Fri Apr 29 06:57:59 UTC 2016
>>> [INFO] Final Memory: 62M/210M
>>> [INFO] ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project aws-ec2: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
>>> [ERROR] Command was /bin/sh -c cd /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2 && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -jar /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefirebooter1346923392864623010.jar /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire3831696911642642093tmp /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire_0949880074517444186tmp
>>> [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/PluginExecutionException <http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException>
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the command
>>> [ERROR]   mvn <goals> -rf :aws-ec2
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Imesh Gunaratne
>>> 
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>> 
>>> 
>>> 
>>> -- 
>>> Akila Ravihansa Perera
>>> WSO2 Inc.;  http://wso2.com/ <http://wso2.com/>
>>> 
>>> Blog: http://ravihansa3000.blogspot.com <http://ravihansa3000.blogspot.com/>
> 
> 
> 
> 
> -- 
> Imesh Gunaratne
> 
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos


Re: Build fail on stratos 4.x.x

Posted by Imesh Gunaratne <im...@apache.org>.
Better not to use Puppet for the first run, try following:

   - Download ActiveMQ and start it: <activemq-home>/bin/activemq start
   - Download Stratos distribution and start it:
   <stratos-home>/bin/stratos.sh start
   - Then execute a sample using Mock IaaS [1] (this is a simulation, later
   you can use an actual IaaS)
   - Login to Stratos UI: https://<stratos-host>:9443/console

[1]
https://github.com/apache/stratos/blob/master/samples/applications/simple/single-cartridge-app/scripts/mock/deploy.sh

Thanks

On Sat, Apr 30, 2016 at 10:42 AM, 周华康 <45...@qq.com> wrote:

> sorry for forgetting the guide where i follow:
>
> https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS#id-4.1.xDeployingStratosonaPreferredIaaS-kstep4
>
> 在 2016年4月30日,下午1:00,周华康 <45...@qq.com> 写道:
>
> Hi,
>      Thanks for your kind!
>      I will download the zip file and go on  first, not try to change the
> OpenJDK to Oracle JDK at present.
>      But when I follow the following step,I found that the directory is a
> file!I can not put the jars into the
>      /etc/puppet/modules/lb/files/activemq/
>
>     and after i run the command “ls -l”,it actually shows that the
> activemq is just a file,not directory.
>     Then i how can i keep on???
> sincerely
>    <PastedGraphic-1.png>
>
>
>
> 在 2016年4月29日,下午5:06,Akila Ravihansa Perera <ra...@wso2.com> 写道:
>
> Hi,
>
> It seems you are building Stratos using OpenJDK. This is not tested AFAIK.
> Can you try with Oracle JDK 7?
>
> Thanks.
>
>
> On Fri, Apr 29, 2016 at 2:32 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Hi 周华康 <https://plus.google.com/u/1/100032794986078251313?prsrc=4>,
>>
>> You might not need to build Stratos from source, you can download the
>> binary from the below location:
>> https://dist.apache.org/repos/dist/release/stratos/4.1.5/
>>
>> Thanks
>>
>> On Fri, Apr 29, 2016 at 12:40 PM, 周华康 <45...@qq.com> wrote:
>>
>>> Hi,
>>> You have decided to develop the new version of Stratos,do you also will
>>> support the version 4.x.x?
>>> By the way,it seems that it is too complex to deploy the stratos on a
>>> preferred IaaS.The steps are too long!
>>> I have read the guide following to deploy the stratos on a Ubuntu 12
>>> system
>>>
>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS
>>>        But when I try to build the source.it always failed.Can you give
>>> me some advice?
>>>        <PastedGraphic-1.png>
>>>
>>>
>>> The output are as follows:
>>>
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 1:12.229s
>>> [INFO] Finished at: Fri Apr 29 06:57:59 UTC 2016
>>> [INFO] Final Memory: 62M/210M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on
>>> project aws-ec2: Execution default-test of goal
>>> org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked
>>> VM terminated without properly saying goodbye. VM crash or System.exit
>>> called?
>>> [ERROR] Command was /bin/sh -c cd
>>> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2
>>> && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -jar
>>> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefirebooter1346923392864623010.jar
>>> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire3831696911642642093tmp
>>> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire_0949880074517444186tmp
>>> [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/PluginExecutionException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn <goals> -rf :aws-ec2
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>
>
>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: Build fail on stratos 4.x.x

Posted by 周华康 <45...@qq.com>.
sorry for forgetting the guide where i follow:
https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS#id-4.1.xDeployingStratosonaPreferredIaaS-kstep4 <https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS#id-4.1.xDeployingStratosonaPreferredIaaS-kstep4>

> 在 2016年4月30日,下午1:00,周华康 <45...@qq.com> 写道:
> 
> Hi,
>      Thanks for your kind! 
>      I will download the zip file and go on  first, not try to change the OpenJDK to Oracle JDK at present.
>      But when I follow the following step,I found that the directory is a file!I can not put the jars into the  
>      /etc/puppet/modules/lb/files/activemq/ 
>     
>     and after i run the command “ls -l”,it actually shows that the activemq is just a file,not directory.
>     Then i how can i keep on???
> sincerely
>    <PastedGraphic-1.png>
> 
> 
> 
>> 在 2016年4月29日,下午5:06,Akila Ravihansa Perera <ravihansa@wso2.com <ma...@wso2.com>> 写道:
>> 
>> Hi,
>> 
>> It seems you are building Stratos using OpenJDK. This is not tested AFAIK. Can you try with Oracle JDK 7?
>> 
>> Thanks.
>> 
>> 
>> On Fri, Apr 29, 2016 at 2:32 PM, Imesh Gunaratne <imesh@apache.org <ma...@apache.org>> wrote:
>> Hi 周华康 <https://plus.google.com/u/1/100032794986078251313?prsrc=4>,
>> 
>> You might not need to build Stratos from source, you can download the binary from the below location:
>> https://dist.apache.org/repos/dist/release/stratos/4.1.5/ <https://dist.apache.org/repos/dist/release/stratos/4.1.5/>
>> 
>> Thanks
>> 
>> On Fri, Apr 29, 2016 at 12:40 PM, 周华康 <459673409@qq.com <ma...@qq.com>> wrote:
>> Hi,
>> 	You have decided to develop the new version of Stratos,do you also will support the version 4.x.x?
>> 	By the way,it seems that it is too complex to deploy the stratos on a preferred IaaS.The steps are too long!
>> 	I have read the guide following to deploy the stratos on a Ubuntu 12 system
>>        https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS <https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS>
>>        But when I try to build the source.it <http://source.it/> always failed.Can you give me some advice?
>>        <PastedGraphic-1.png>
>> 
>> 
>> The output are as follows:
>> 
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 1:12.229s
>> [INFO] Finished at: Fri Apr 29 06:57:59 UTC 2016
>> [INFO] Final Memory: 62M/210M
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project aws-ec2: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
>> [ERROR] Command was /bin/sh -c cd /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2 && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -jar /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefirebooter1346923392864623010.jar /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire3831696911642642093tmp /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire_0949880074517444186tmp
>> [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/PluginExecutionException <http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException>
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the command
>> [ERROR]   mvn <goals> -rf :aws-ec2
>> 
>> 
>> 
>> 
>> 
>> 
>> -- 
>> Imesh Gunaratne
>> 
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>> 
>> 
>> 
>> -- 
>> Akila Ravihansa Perera
>> WSO2 Inc.;  http://wso2.com/ <http://wso2.com/>
>> 
>> Blog: http://ravihansa3000.blogspot.com <http://ravihansa3000.blogspot.com/>


Re: Build fail on stratos 4.x.x

Posted by 周华康 <45...@qq.com>.
Hi,
     Thanks for your kind! 
     I will download the zip file and go on  first, not try to change the OpenJDK to Oracle JDK at present.
     But when I follow the following step,I found that the directory is a file!I can not put the jars into the  
     /etc/puppet/modules/lb/files/activemq/ 
    
    and after i run the command “ls -l”,it actually shows that the activemq is just a file,not directory.
    Then i how can i keep on???
sincerely
   



> 在 2016年4月29日,下午5:06,Akila Ravihansa Perera <ra...@wso2.com> 写道:
> 
> Hi,
> 
> It seems you are building Stratos using OpenJDK. This is not tested AFAIK. Can you try with Oracle JDK 7?
> 
> Thanks.
> 
> 
> On Fri, Apr 29, 2016 at 2:32 PM, Imesh Gunaratne <imesh@apache.org <ma...@apache.org>> wrote:
> Hi 周华康 <https://plus.google.com/u/1/100032794986078251313?prsrc=4>,
> 
> You might not need to build Stratos from source, you can download the binary from the below location:
> https://dist.apache.org/repos/dist/release/stratos/4.1.5/ <https://dist.apache.org/repos/dist/release/stratos/4.1.5/>
> 
> Thanks
> 
> On Fri, Apr 29, 2016 at 12:40 PM, 周华康 <459673409@qq.com <ma...@qq.com>> wrote:
> Hi,
> 	You have decided to develop the new version of Stratos,do you also will support the version 4.x.x?
> 	By the way,it seems that it is too complex to deploy the stratos on a preferred IaaS.The steps are too long!
> 	I have read the guide following to deploy the stratos on a Ubuntu 12 system
>        https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS <https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS>
>        But when I try to build the source.it <http://source.it/> always failed.Can you give me some advice?
>        <PastedGraphic-1.png>
> 
> 
> The output are as follows:
> 
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:12.229s
> [INFO] Finished at: Fri Apr 29 06:57:59 UTC 2016
> [INFO] Final Memory: 62M/210M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project aws-ec2: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2 && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -jar /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefirebooter1346923392864623010.jar /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire3831696911642642093tmp /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire_0949880074517444186tmp
> [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/PluginExecutionException <http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException>
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :aws-ec2
> 
> 
> 
> 
> 
> 
> -- 
> Imesh Gunaratne
> 
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
> 
> 
> 
> -- 
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/ <http://wso2.com/>
> 
> Blog: http://ravihansa3000.blogspot.com <http://ravihansa3000.blogspot.com/>

Re: Build fail on stratos 4.x.x

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi,

It seems you are building Stratos using OpenJDK. This is not tested AFAIK.
Can you try with Oracle JDK 7?

Thanks.


On Fri, Apr 29, 2016 at 2:32 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi 周华康 <https://plus.google.com/u/1/100032794986078251313?prsrc=4>,
>
> You might not need to build Stratos from source, you can download the
> binary from the below location:
> https://dist.apache.org/repos/dist/release/stratos/4.1.5/
>
> Thanks
>
> On Fri, Apr 29, 2016 at 12:40 PM, 周华康 <45...@qq.com> wrote:
>
>> Hi,
>> You have decided to develop the new version of Stratos,do you also will
>> support the version 4.x.x?
>> By the way,it seems that it is too complex to deploy the stratos on a
>> preferred IaaS.The steps are too long!
>> I have read the guide following to deploy the stratos on a Ubuntu 12
>> system
>>
>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS
>>        But when I try to build the source.it always failed.Can you give
>> me some advice?
>>
>>
>>
>> The output are as follows:
>>
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1:12.229s
>> [INFO] Finished at: Fri Apr 29 06:57:59 UTC 2016
>> [INFO] Final Memory: 62M/210M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on
>> project aws-ec2: Execution default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked
>> VM terminated without properly saying goodbye. VM crash or System.exit
>> called?
>> [ERROR] Command was /bin/sh -c cd
>> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2
>> && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -jar
>> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefirebooter1346923392864623010.jar
>> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire3831696911642642093tmp
>> /project_workspace/stratos/myLocalRepo/stratos/dependencies/jclouds/aws-ec2/target/surefire/surefire_0949880074517444186tmp
>> [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/PluginExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :aws-ec2
>>
>>
>>
>>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com