[jira] [Resolved] (SCB-1434) add a springboot2 archetype

2019-08-22 Thread Zibin Lin (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zibin Lin resolved SCB-1434.

Resolution: Fixed

> add a springboot2 archetype
> ---
>
> Key: SCB-1434
> URL: https://issues.apache.org/jira/browse/SCB-1434
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Java-Chassis
>Reporter: Zibin Lin
>Priority: Major
> Fix For: java-chassis-1.3.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> add a springboot2 archetype to generate a simple  project  integrated 
> springboot2



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Created] (SCB-1434) add a springboot2 archetype

2019-08-14 Thread Zibin Lin (JIRA)
Zibin Lin created SCB-1434:
--

 Summary: add a springboot2 archetype
 Key: SCB-1434
 URL: https://issues.apache.org/jira/browse/SCB-1434
 Project: Apache ServiceComb
  Issue Type: Improvement
  Components: Java-Chassis
Reporter: Zibin Lin


add a springboot2 archetype to generate a simple  project  integrated 
springboot2



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (SCB-1413) quick start learn more about loadbalance has been outdated

2019-08-05 Thread Zibin Lin (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCB-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zibin Lin resolved SCB-1413.

Resolution: Fixed

> quick start learn more about loadbalance has been outdated
> --
>
> Key: SCB-1413
> URL: https://issues.apache.org/jira/browse/SCB-1413
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: website
>Affects Versions: java-chassis-1.2.1
>Reporter: Zibin Lin
>Priority: Major
> Fix For: java-chassis-1.2.1
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> quick start  -> Load Balance  ->   learn more about  [ 
> loadbalance|[http://servicecomb.apache.org/users/service-configurations/]]   
> the content has been outdated



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (SCB-1390) quick start java-chassis samples bmi has some errors

2019-08-05 Thread Zibin Lin (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCB-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zibin Lin resolved SCB-1390.

   Resolution: Fixed
Fix Version/s: (was: java-chassis-1.3.0)

> quick start java-chassis samples bmi has some errors
> 
>
> Key: SCB-1390
> URL: https://issues.apache.org/jira/browse/SCB-1390
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: Java-Chassis, website
>Affects Versions: java-chassis-1.2.1
>Reporter: Zibin Lin
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> In the wibsite ,quick start Load Balance  when run the second _BMI calculator 
> service  with the following command_
> {quote}mvn spring-boot:run -Drun.jvmArguments="-Dcse.rest.address=0.0.0.0:7778
> {quote}
> flow controller,service managerment, distributed tracing may has the same 
> errors
> it have some errors 
> Error starting ApplicationContext. To display the auto-configuration report 
> re-run your application with 'debug' enabled.
> 2019-07-23 11:28:03.902 ERROR 29423 --- [ main] o.s.boot.SpringApplication : 
> Application startup failed
> java.lang.IllegalStateException: ServiceComb init failed.
>  at org.apache.servicecomb.core.SCBEngine.init(SCBEngine.java:225) 
> ~[java-chassis-core-1.2.1.jar:1.2.1]
>  at 
> org.apache.servicecomb.core.CseApplicationListener.onApplicationEvent(CseApplicationListener.java:81)
>  ~[java-chassis-core-1.2.1.jar:1.2.1]
>  at 
> org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
>  ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
>  at 
> org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
>  ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
>  at 
> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
>  ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
>  at 
> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
>  ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
>  at 
> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
>  ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
>  at 
> org.springframework.boot.context.event.EventPublishingRunListener.finished(EventPublishingRunListener.java:101)
>  ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
>  at 
> org.springframework.boot.SpringApplicationRunListeners.callFinishedListener(SpringApplicationRunListeners.java:79)
>  ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
>  at 
> org.springframework.boot.SpringApplicationRunListeners.finished(SpringApplicationRunListeners.java:72)
>  ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
>  at 
> org.springframework.boot.SpringApplication.run(SpringApplication.java:305) 
> [spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
>  at 
> org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) 
> [spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
>  at 
> org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) 
> [spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
>  at 
> org.apache.servicecomb.samples.bmi.CalculatorApplication.main(CalculatorApplication.java:29)
>  [classes/:na]
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[na:1.8.0_131]
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[na:1.8.0_131]
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[na:1.8.0_131]
>  at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
>  at 
> org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:542)
>  [spring-boot-maven-plugin-2.1.6.RELEASE.jar:2.1.6.RELEASE]
>  at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
> Caused by: 
> org.apache.servicecomb.foundation.common.exceptions.ServiceCombException: all 
> transport named rest refused to init.
>  at 
> org.apache.servicecomb.core.transport.TransportManager.chooseOneTransport(TransportManager.java:90)
>  ~[java-chassis-core-1.2.1.jar:1.2.1]
>  at 
> org.apache.servicecomb.core.transport.TransportManager.buildTransportMap(TransportManager.java:74)
>  ~[java-chassis-core-1.2.1.jar:1.2.1]
>  at 
> org.apache.servicecomb.core.transport.TransportManager.init(TransportManager.java:52)
>  ~[java-chassis-core-1.2.1.jar:1.2.1]
>  at org.apache.servicecomb.core.SCBEngine.doInit(SCBEngine.java:254) 
> ~[java-chassis-core-1.2.1.jar:1.2.1]
>  at org.apache.servicecomb.core.SCBEngine.init(SCBEngine.java:214) 
> ~[java-chassis-core-1.2.1.jar:1.2.1]
>  ... 19 common frames 

[jira] [Created] (SCB-1413) quick start learn more about loadbalance has been outdated

2019-08-02 Thread Zibin Lin (JIRA)
Zibin Lin created SCB-1413:
--

 Summary: quick start learn more about loadbalance has been outdated
 Key: SCB-1413
 URL: https://issues.apache.org/jira/browse/SCB-1413
 Project: Apache ServiceComb
  Issue Type: Improvement
  Components: website
Affects Versions: java-chassis-1.2.1
Reporter: Zibin Lin
 Fix For: java-chassis-1.2.1


quick start  -> Load Balance  ->   learn more about  [ 
loadbalance|[http://servicecomb.apache.org/users/service-configurations/]]   

the content has been outdated



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (SCB-1390) quick start java-chassis samples bmi has some errors

2019-07-22 Thread Zibin Lin (JIRA)
Zibin Lin created SCB-1390:
--

 Summary: quick start java-chassis samples bmi has some errors
 Key: SCB-1390
 URL: https://issues.apache.org/jira/browse/SCB-1390
 Project: Apache ServiceComb
  Issue Type: Bug
  Components: Java-Chassis, website
Affects Versions: java-chassis-1.2.1
Reporter: Zibin Lin
 Fix For: java-chassis-1.3.0


In the wibsite ,quick start Load Balance  when run the second _BMI calculator 
service  with the following command_
{quote}mvn spring-boot:run -Drun.jvmArguments="-Dcse.rest.address=0.0.0.0:7778
{quote}
flow controller,service managerment, distributed tracing may has the same errors

it have some errors 

Error starting ApplicationContext. To display the auto-configuration report 
re-run your application with 'debug' enabled.
2019-07-23 11:28:03.902 ERROR 29423 --- [ main] o.s.boot.SpringApplication : 
Application startup failed

java.lang.IllegalStateException: ServiceComb init failed.
 at org.apache.servicecomb.core.SCBEngine.init(SCBEngine.java:225) 
~[java-chassis-core-1.2.1.jar:1.2.1]
 at 
org.apache.servicecomb.core.CseApplicationListener.onApplicationEvent(CseApplicationListener.java:81)
 ~[java-chassis-core-1.2.1.jar:1.2.1]
 at 
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
 ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
 at 
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
 ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
 at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
 ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
 at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
 ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
 at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
 ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
 at 
org.springframework.boot.context.event.EventPublishingRunListener.finished(EventPublishingRunListener.java:101)
 ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
 at 
org.springframework.boot.SpringApplicationRunListeners.callFinishedListener(SpringApplicationRunListeners.java:79)
 ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
 at 
org.springframework.boot.SpringApplicationRunListeners.finished(SpringApplicationRunListeners.java:72)
 ~[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
 at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) 
[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) 
[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) 
[spring-boot-1.5.12.RELEASE.jar:1.5.12.RELEASE]
 at 
org.apache.servicecomb.samples.bmi.CalculatorApplication.main(CalculatorApplication.java:29)
 [classes/:na]
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_131]
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_131]
 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
 at 
org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:542)
 [spring-boot-maven-plugin-2.1.6.RELEASE.jar:2.1.6.RELEASE]
 at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
Caused by: 
org.apache.servicecomb.foundation.common.exceptions.ServiceCombException: all 
transport named rest refused to init.
 at 
org.apache.servicecomb.core.transport.TransportManager.chooseOneTransport(TransportManager.java:90)
 ~[java-chassis-core-1.2.1.jar:1.2.1]
 at 
org.apache.servicecomb.core.transport.TransportManager.buildTransportMap(TransportManager.java:74)
 ~[java-chassis-core-1.2.1.jar:1.2.1]
 at 
org.apache.servicecomb.core.transport.TransportManager.init(TransportManager.java:52)
 ~[java-chassis-core-1.2.1.jar:1.2.1]
 at org.apache.servicecomb.core.SCBEngine.doInit(SCBEngine.java:254) 
~[java-chassis-core-1.2.1.jar:1.2.1]
 at org.apache.servicecomb.core.SCBEngine.init(SCBEngine.java:214) 
~[java-chassis-core-1.2.1.jar:1.2.1]
 ... 19 common frames omitted

2019-07-23 11:28:03.903 INFO 29423 --- [ main] 
s.c.a.AnnotationConfigApplicationContext : Closing 
org.springframework.context.annotation.AnnotationConfigApplicationContext@1eefc769:
 startup date [Tue Jul 23 11:28:00 CST 2019]; root of context hierarchy
2019-07-23 11:28:04.384 INFO 29423 --- [ main] 
o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
[WARNING]
java.lang.reflect.InvocationTargetException
 at