Hi, 叶祖锋

Seems like you used the wrong jar file. The executable jar file should be `
alpha/alpha-server/target/saga/alpha-server-0.1.0-exec.jar` according to
the user guide [1].

Besides, it seems there is port conflict in your log. Can you double check
if other apps is using the exact port of 8090?

[1]
https://github.com/apache/incubator-servicecomb-saga/blob/master/docs/user_guide.md

2018-03-13 22:07 GMT+08:00 叶祖锋 <y...@hiocs.com>:

> hi:
> 下了https://github.com/apache/incubator-servicecomb-saga源码,在本地通过mvn clean
> install编译成功。
>
> 在执行java -Dspring.profiles.active=prd -D"spring.datasource.url=jdbc:
> postgresql://ip:5432/saga?useSSL=false" -jar alpha-server-0.1.0.jar时提示“
> alpha-server-0.1.0.jar中没有主清单属性”。
>
> 然后我直接把alpha-server项目导入到eclipse中,在eclipse跑起来了。接下来导入booking这个demo,试着修改pack-
> car项目的application.yaml配置文件。
> eclipse的工程列表:
> pack-car的application.yaml文件修改如下:
> 启动报错信息如下:
> -----------------------
> [2m2018-03-13 18:51:22.731[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.a.s.saga.demo.pack.car.Application
>   [0;39m [2m:[0;39m Starting Application on joeyee with PID 28932
> (/home/joeyee/gitlab/axon/incubator-servicecomb-saga/
> saga-demo/booking/car/target/classes started by joeyee in
> /home/joeyee/gitlab/axon/incubator-servicecomb-saga/saga-demo/booking/car)
> [2m2018-03-13 18:51:22.735[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.a.s.saga.demo.pack.car.Application
>   [0;39m [2m:[0;39m No active profile set, falling back to default
> profiles: default
> [2m2018-03-13 18:51:22.817[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mationConfigEmbeddedWebApplicationContext[0;39m
> [2m:[0;39m Refreshing org.springframework.boot.context.embedded.
> AnnotationConfigEmbeddedWebApplicationContext@6356695f: startup date [Tue
> Mar 13 18:51:22 CST 2018]; root of context hierarchy
> [2m2018-03-13 18:51:25.046[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mtrationDelegate$BeanPostProcessorChecker[0;39m
> [2m:[0;39m Bean 
> 'org.apache.servicecomb.saga.omega.transaction.spring.TransactionAspectConfig'
> of type [org.apache.servicecomb.saga.omega.transaction.spring.
> TransactionAspectConfig$$EnhancerBySpringCGLIB$$453431bc] is not eligible
> for getting processed by all BeanPostProcessors (for example: not eligible
> for auto-proxying)
> [2m2018-03-13 18:51:25.209[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mtrationDelegate$BeanPostProcessorChecker[0;39m
> [2m:[0;39m Bean 'org.apache.servicecomb.saga.omega.spring.OmegaSpringConfig'
> of type [org.apache.servicecomb.saga.omega.spring.OmegaSpringConfig$$
> EnhancerBySpringCGLIB$$db915c24] is not eligible for getting processed by
> all BeanPostProcessors (for example: not eligible for auto-proxying)
> [2m2018-03-13 18:51:25.235[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mtrationDelegate$BeanPostProcessorChecker[0;39m
> [2m:[0;39m Bean 'idGenerator' of type [org.apache.servicecomb.saga.
> omega.context.UniqueIdGenerator] is not eligible for getting processed by
> all BeanPostProcessors (for example: not eligible for auto-proxying)
> [2m2018-03-13 18:51:25.238[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mtrationDelegate$BeanPostProcessorChecker[0;39m
> [2m:[0;39m Bean 'omegaContext' of type 
> [org.apache.servicecomb.saga.omega.context.OmegaContext]
> is not eligible for getting processed by all BeanPostProcessors (for
> example: not eligible for auto-proxying)
> [2m2018-03-13 18:51:25.251[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mtrationDelegate$BeanPostProcessorChecker[0;39m
> [2m:[0;39m Bean 'compensationContext' of type [org.apache.servicecomb.saga.
> omega.context.CompensationContext] is not eligible for getting processed
> by all BeanPostProcessors (for example: not eligible for auto-proxying)
> [2m2018-03-13 18:51:26.149[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36ms.b.c.e.t.
> TomcatEmbeddedServletContainer[0;39m [2m:[0;39m Tomcat initialized with
> port(s): 8080 (http)
> [2m2018-03-13 18:51:26.162[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.apache.catalina.core.StandardService
> [0;39m [2m:[0;39m Starting service Tomcat
> [2m2018-03-13 18:51:26.163[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36morg.apache.catalina.core.StandardEngine
> [0;39m [2m:[0;39m Starting Servlet Engine: Apache Tomcat/8.5.11
> [2m2018-03-13 18:51:26.379[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m [36mo.a.c.c.C.[Tomcat].[localhost].[/]
>     [0;39m [2m:[0;39m Initializing Spring embedded WebApplicationContext
> [2m2018-03-13 18:51:26.379[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m [36mo.s.web.context.ContextLoader
>          [0;39m [2m:[0;39m Root WebApplicationContext: initialization
> completed in 3578 ms
> [2m2018-03-13 18:51:26.950[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m 
> [36mo.s.b.w.servlet.ServletRegistrationBean
> [0;39m [2m:[0;39m Mapping servlet: 'dispatcherServlet' to [/]
> [2m2018-03-13 18:51:26.954[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m 
> [36mo.s.b.w.servlet.FilterRegistrationBean
> [0;39m [2m:[0;39m Mapping filter: 'metricsFilter' to: [/*]
> [2m2018-03-13 18:51:26.954[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m 
> [36mo.s.b.w.servlet.FilterRegistrationBean
> [0;39m [2m:[0;39m Mapping filter: 'characterEncodingFilter' to: [/*]
> [2m2018-03-13 18:51:26.954[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m 
> [36mo.s.b.w.servlet.FilterRegistrationBean
> [0;39m [2m:[0;39m Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
> [2m2018-03-13 18:51:26.954[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m 
> [36mo.s.b.w.servlet.FilterRegistrationBean
> [0;39m [2m:[0;39m Mapping filter: 'httpPutFormContentFilter' to: [/*]
> [2m2018-03-13 18:51:26.955[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m 
> [36mo.s.b.w.servlet.FilterRegistrationBean
> [0;39m [2m:[0;39m Mapping filter: 'requestContextFilter' to: [/*]
> [2m2018-03-13 18:51:26.955[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m 
> [36mo.s.b.w.servlet.FilterRegistrationBean
> [0;39m [2m:[0;39m Mapping filter: 'webRequestLoggingFilter' to: [/*]
> [2m2018-03-13 18:51:26.955[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ost-startStop-1][0;39m 
> [36mo.s.b.w.servlet.FilterRegistrationBean
> [0;39m [2m:[0;39m Mapping filter: 'applicationContextIdFilter' to: [/*]
> [2m2018-03-13 18:51:28.381[0;39m [31mERROR[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[ault-executor-1][0;39m [36ma.s.s.o.c.g.
> GrpcCompensateStreamObserver[0;39m [2m:[0;39m failed to process grpc
> compensate command.
>
> io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown
> reason
> at io.grpc.Status.asRuntimeException(Status.java:526)
> ~[grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAd
> apter.onClose(ClientCalls.java:418) [grpc-stub-1.8.0.jar:1.8.0]
> at io.grpc.ForwardingClientCallListener.onClose(
> ForwardingClientCallListener.java:41) [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.
> onClose(CensusStatsModule.java:663) [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.ForwardingClientCallListener.onClose(
> ForwardingClientCallListener.java:41) [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.internal.CensusTracingModule$TracingClientInterceptor$1$1.
> onClose(CensusTracingModule.java:392) [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:443)
> [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:63)
> [grpc-core-1.8.0.jar:1.8.0]
> at 
> io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:525)
> [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.
> access$600(ClientCallImpl.java:446) [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$
> 1StreamClosed.runInContext(ClientCallImpl.java:557)
> [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
> [grpc-core-1.8.0.jar:1.8.0]
> at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
> [grpc-core-1.8.0.jar:1.8.0]
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [na:1.8.0_72]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_72]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
>
> [2m2018-03-13 18:51:28.382[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[pool-1-thread-1][0;39m 
> [36mo.a.s.s.o.c.g.PushBackReconnectRunnable
> [0;39m [2m:[0;39m Retry connecting to alpha at localhost:8090
> [2m2018-03-13 18:51:28.413[0;39m [31mERROR[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[pool-1-thread-1][0;39m 
> [36mo.a.s.s.o.c.g.PushBackReconnectRunnable
> [0;39m [2m:[0;39m Failed to reconnect to alpha at localhost:8090
>
> io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown
> reason
> at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at org.apache.servicecomb.saga.pack.contract.grpc.TxEventServiceGrpc$
> TxEventServiceBlockingStub.onDisconnected(TxEventServiceGrpc.java:281)
> ~[pack-contract-grpc-0.1.0.jar:0.1.0]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> GrpcClientMessageSender.onDisconnected(GrpcClientMessageSender.java:79)
> ~[omega-connector-grpc-0.1.0.jar:0.1.0]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> PushBackReconnectRunnable.run(PushBackReconnectRunnable.java:51)
> ~[omega-connector-grpc-0.1.0.jar:0.1.0]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> LoadBalancedClusterMessageSender.lambda$scheduleReconnectTask$3(
> LoadBalancedClusterMessageSender.java:165) [omega-connector-grpc-0.1.0.
> jar:0.1.0]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> ~[na:1.8.0_72]
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> ~[na:1.8.0_72]
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> ~[na:1.8.0_72]
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> ~[na:1.8.0_72]
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> ~[na:1.8.0_72]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> ~[na:1.8.0_72]
> at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_72]
>
> [2m2018-03-13 18:51:29.527[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36ms.w.s.m.m.a.
> RequestMappingHandlerAdapter[0;39m [2m:[0;39m Looking for
> @ControllerAdvice: org.springframework.boot.context.embedded.
> AnnotationConfigEmbeddedWebApplicationContext@6356695f: startup date [Tue
> Mar 13 18:51:22 CST 2018]; root of context hierarchy
> [2m2018-03-13 18:51:29.735[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36ms.w.s.m.m.a.
> RequestMappingHandlerMapping[0;39m [2m:[0;39m Mapped
> "{[/bookings],methods=[GET]}" onto java.util.List<org.apache.
> servicecomb.saga.demo.pack.car.CarBooking> org.apache.servicecomb.saga.
> demo.pack.car.CarBookingController.getAll()
> [2m2018-03-13 18:51:29.736[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36ms.w.s.m.m.a.
> RequestMappingHandlerMapping[0;39m [2m:[0;39m Mapped
> "{[/bookings],methods=[DELETE]}" onto void org.apache.servicecomb.saga.
> demo.pack.car.CarBookingController.clear()
> [2m2018-03-13 18:51:29.738[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36ms.w.s.m.m.a.
> RequestMappingHandlerMapping[0;39m [2m:[0;39m Mapped
> "{[/order/{name}/{cars}],methods=[POST]}" onto
> org.apache.servicecomb.saga.demo.pack.car.CarBooking
> org.apache.servicecomb.saga.demo.pack.car.CarBookingController.order(
> java.lang.String,java.lang.Integer)
> [2m2018-03-13 18:51:29.744[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36ms.w.s.m.m.a.
> RequestMappingHandlerMapping[0;39m [2m:[0;39m Mapped
> "{[/error],produces=[text/html]}" onto public 
> org.springframework.web.servlet.ModelAndView
> org.springframework.boot.autoconfigure.web.BasicErrorController.
> errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.
> HttpServletResponse)
> [2m2018-03-13 18:51:29.744[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36ms.w.s.m.m.a.
> RequestMappingHandlerMapping[0;39m [2m:[0;39m Mapped "{[/error]}" onto
> public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,
> java.lang.Object>> org.springframework.boot.autoconfigure.web.
> BasicErrorController.error(javax.servlet.http.HttpServletRequest)
> [2m2018-03-13 18:51:29.943[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.w.s.handler.SimpleUrlHandlerMapping
> [0;39m [2m:[0;39m Mapped URL path [/webjars/**] onto handler of type [class
> org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
> [2m2018-03-13 18:51:29.943[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.w.s.handler.SimpleUrlHandlerMapping
> [0;39m [2m:[0;39m Mapped URL path [/**] onto handler of type [class
> org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
> [2m2018-03-13 18:51:30.061[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.w.s.handler.SimpleUrlHandlerMapping
> [0;39m [2m:[0;39m Mapped URL path [/**/favicon.ico] onto handler of type
> [class org.springframework.web.servlet.resource.
> ResourceHttpRequestHandler]
> [2m2018-03-13 18:51:31.596[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[pool-1-thread-1][0;39m 
> [36mo.a.s.s.o.c.g.PushBackReconnectRunnable
> [0;39m [2m:[0;39m Retry connecting to alpha at localhost:8090
> [2m2018-03-13 18:51:31.596[0;39m [31mERROR[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[pool-1-thread-1][0;39m 
> [36mo.a.s.s.o.c.g.PushBackReconnectRunnable
> [0;39m [2m:[0;39m Failed to reconnect to alpha at localhost:8090
>
> io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown
> reason
> at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at org.apache.servicecomb.saga.pack.contract.grpc.TxEventServiceGrpc$
> TxEventServiceBlockingStub.onDisconnected(TxEventServiceGrpc.java:281)
> ~[pack-contract-grpc-0.1.0.jar:0.1.0]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> GrpcClientMessageSender.onDisconnected(GrpcClientMessageSender.java:79)
> ~[omega-connector-grpc-0.1.0.jar:0.1.0]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> PushBackReconnectRunnable.run(PushBackReconnectRunnable.java:51)
> ~[omega-connector-grpc-0.1.0.jar:0.1.0]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> LoadBalancedClusterMessageSender.lambda$scheduleReconnectTask$3(
> LoadBalancedClusterMessageSender.java:165) [omega-connector-grpc-0.1.0.
> jar:0.1.0]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> ~[na:1.8.0_72]
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> ~[na:1.8.0_72]
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> ~[na:1.8.0_72]
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> ~[na:1.8.0_72]
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> ~[na:1.8.0_72]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> ~[na:1.8.0_72]
> at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_72]
>
> [2m2018-03-13 18:51:32.481[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/health || 
> /health.json],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.HealthMvcEndpoint.invoke(java.security.Principal)
> [2m2018-03-13 18:51:32.482[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/mappings || 
> /mappings.json],methods=[GET],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.483[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/beans || 
> /beans.json],methods=[GET],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.484[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/info || 
> /info.json],methods=[GET],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.484[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/trace || 
> /trace.json],methods=[GET],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.485[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/autoconfig || /autoconfig.json],methods=[
> GET],produces=[application/json]}" onto public java.lang.Object
> org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.486[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped 
> "{[/metrics/{name:.*}],methods=[GET],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
> [2m2018-03-13 18:51:32.487[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/metrics || 
> /metrics.json],methods=[GET],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.490[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/env/{name:.*}],methods=[
> GET],produces=[application/json]}" onto public java.lang.Object
> org.springframework.boot.actuate.endpoint.mvc.
> EnvironmentMvcEndpoint.value(java.lang.String)
> [2m2018-03-13 18:51:32.490[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/env || 
> /env.json],methods=[GET],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.491[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/heapdump || /heapdump.json],methods=[GET],
> produces=[application/octet-stream]}" onto public void
> org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(
> boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws java.io.IOException,javax.servlet.ServletException
> [2m2018-03-13 18:51:32.491[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/configprops || /configprops.json],methods=[
> GET],produces=[application/json]}" onto public java.lang.Object
> org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.492[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.b.a.e.mvc.EndpointHandlerMapping
>   [0;39m [2m:[0;39m Mapped "{[/dump || 
> /dump.json],methods=[GET],produces=[application/json]}"
> onto public java.lang.Object org.springframework.boot.
> actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
> [2m2018-03-13 18:51:32.947[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36mo.s.j.e.a.AnnotationMBeanExporter
>      [0;39m [2m:[0;39m Registering beans for JMX exposure on startup
> [2m2018-03-13 18:51:33.017[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.c.support.DefaultLifecycleProcessor
> [0;39m [2m:[0;39m Starting beans in phase 0
> [2m2018-03-13 18:51:33.487[0;39m [31mERROR[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.a.coyote.http11.Http11NioProtocol
>    [0;39m [2m:[0;39m Failed to start end point associated with
> ProtocolHandler [http-nio-8080]
>
> java.net.BindException: 地址已在使用
> at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_72]
> at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_72]
> at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_72]
> at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
> ~[na:1.8.0_72]
> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
> ~[na:1.8.0_72]
> at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:210)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at 
> org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:980)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:573)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at org.apache.catalina.connector.Connector.startInternal(Connector.java:993)
> [tomcat-embed-core-8.5.11.jar:8.5.11]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> [tomcat-embed-core-8.5.11.jar:8.5.11]
> at 
> org.apache.catalina.core.StandardService.addConnector(StandardService.java:225)
> [tomcat-embed-core-8.5.11.jar:8.5.11]
> at org.springframework.boot.context.embedded.tomcat.
> TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(
> TomcatEmbeddedServletContainer.java:247) [spring-boot-1.4.5.RELEASE.
> jar:1.4.5.RELEASE]
> at org.springframework.boot.context.embedded.tomcat.
> TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:190)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.boot.context.embedded.
> EmbeddedWebApplicationContext.startEmbeddedServletContainer(
> EmbeddedWebApplicationContext.java:297) [spring-boot-1.4.5.RELEASE.
> jar:1.4.5.RELEASE]
> at org.springframework.boot.context.embedded.
> EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:145)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:545) [spring-context-4.3.7.RELEASE.
> jar:4.3.7.RELEASE]
> at org.springframework.boot.context.embedded.
> EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at 
> org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at 
> org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:372)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:1187)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at 
> org.apache.servicecomb.saga.demo.pack.car.Application.main(Application.java:28)
> [classes/:na]
>
> [2m2018-03-13 18:51:33.489[0;39m [31mERROR[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.apache.catalina.core.StandardService
> [0;39m [2m:[0;39m Failed to start connector [Connector[HTTP/1.1-8080]]
>
> org.apache.catalina.LifecycleException: Failed to start component
> [Connector[HTTP/1.1-8080]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at 
> org.apache.catalina.core.StandardService.addConnector(StandardService.java:225)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at org.springframework.boot.context.embedded.tomcat.
> TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(
> TomcatEmbeddedServletContainer.java:247) [spring-boot-1.4.5.RELEASE.
> jar:1.4.5.RELEASE]
> at org.springframework.boot.context.embedded.tomcat.
> TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:190)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.boot.context.embedded.
> EmbeddedWebApplicationContext.startEmbeddedServletContainer(
> EmbeddedWebApplicationContext.java:297) [spring-boot-1.4.5.RELEASE.
> jar:1.4.5.RELEASE]
> at org.springframework.boot.context.embedded.
> EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:145)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:545) [spring-context-4.3.7.RELEASE.
> jar:4.3.7.RELEASE]
> at org.springframework.boot.context.embedded.
> EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at 
> org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at 
> org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:372)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:1187)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at 
> org.apache.servicecomb.saga.demo.pack.car.Application.main(Application.java:28)
> [classes/:na]
> Caused by: org.apache.catalina.LifecycleException: service.getName():
> "Tomcat";  Protocol handler start failed
> at org.apache.catalina.connector.Connector.startInternal(Connector.java:1000)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> ... 13 common frames omitted
> Caused by: java.net.BindException: 地址已在使用
> at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_72]
> at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_72]
> at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_72]
> at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
> ~[na:1.8.0_72]
> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
> ~[na:1.8.0_72]
> at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:210)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at 
> org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:980)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:573)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> at org.apache.catalina.connector.Connector.startInternal(Connector.java:993)
> ~[tomcat-embed-core-8.5.11.jar:8.5.11]
> ... 14 common frames omitted
>
> [2m2018-03-13 18:51:33.584[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.apache.catalina.core.StandardService
> [0;39m [2m:[0;39m Stopping service Tomcat
> [2m2018-03-13 18:51:33.680[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mutoConfigurationReportLoggingInitializer[0;39m
> [2m:[0;39m
>
> Error starting ApplicationContext. To display the auto-configuration
> report re-run your application with 'debug' enabled.
> [2m2018-03-13 18:51:33.736[0;39m [31mERROR[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36mo.s.b.d.
> LoggingFailureAnalysisReporter  [0;39m [2m:[0;39m
>
> ***************************
> APPLICATION FAILED TO START
> ***************************
>
> Description:
>
> The Tomcat connector configured to listen on port 8080 failed to start.
> The port may already be in use or the connector may be misconfigured.
>
> Action:
>
> Verify the connector's configuration, identify and stop any process that's
> listening on port 8080, or configure this application to listen on another
> port.
>
> [2m2018-03-13 18:51:33.738[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mationConfigEmbeddedWebApplicationContext[0;39m
> [2m:[0;39m Closing org.springframework.boot.context.embedded.
> AnnotationConfigEmbeddedWebApplicationContext@6356695f: startup date [Tue
> Mar 13 18:51:22 CST 2018]; root of context hierarchy
> [2m2018-03-13 18:51:33.740[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m 
> [36mo.s.c.support.DefaultLifecycleProcessor
> [0;39m [2m:[0;39m Stopping beans in phase 0
> [2m2018-03-13 18:51:33.742[0;39m [32m INFO[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[           main][0;39m [36mo.s.j.e.a.AnnotationMBeanExporter
>      [0;39m [2m:[0;39m Unregistering JMX-exposed beans on shutdown
> [2m2018-03-13 18:51:33.793[0;39m [31mERROR[0;39m [35m28932[0;39m
> [2m---[0;39m [2m[       Thread-1][0;39m [36ms.o.c.g.
> LoadBalancedClusterMessageSender[0;39m [2m:[0;39m Failed disconnecting
> from alpha at localhost:8090
>
> io.grpc.StatusRuntimeException: UNAVAILABLE: Channel shutdown invoked
> at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)
> ~[grpc-stub-1.8.0.jar:1.8.0]
> at org.apache.servicecomb.saga.pack.contract.grpc.TxEventServiceGrpc$
> TxEventServiceBlockingStub.onDisconnected(TxEventServiceGrpc.java:281)
> ~[pack-contract-grpc-0.1.0.jar:0.1.0]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> GrpcClientMessageSender.onDisconnected(GrpcClientMessageSender.java:79)
> ~[omega-connector-grpc-0.1.0.jar:0.1.0]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> LoadBalancedClusterMessageSender.lambda$onDisconnected$1(
> LoadBalancedClusterMessageSender.java:116) ~[omega-connector-grpc-0.1.0.
> jar:0.1.0]
> at java.util.concurrent.ConcurrentHashMap$KeySetView.
> forEach(ConcurrentHashMap.java:4649) ~[na:1.8.0_72]
> at org.apache.servicecomb.saga.omega.connector.grpc.
> LoadBalancedClusterMessageSender.onDisconnected(
> LoadBalancedClusterMessageSender.java:114) ~[omega-connector-grpc-0.1.0.
> jar:0.1.0]
> at org.apache.servicecomb.saga.omega.spring.OmegaSpringConfig.lambda$
> grpcMessageSender$0(OmegaSpringConfig.java:76)
> ~[omega-spring-starter-0.1.0.jar:0.1.0]
> at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_72]
> ---------------------
>

Reply via email to