[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-10 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-380338956
 
 
   Cool! @suclogger 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-10 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-380322620
 
 
   I think I've found the problem, regarding the interface between provider and 
consumer, it has to be in the same package path, which means for both sides, 
assume `MyInterface` locates at A.B.C this package in provider, then it has to 
be placed to the excatly same structured package A.B.C in consumer as well. My 
problem is I put them into different paths, and those paths are part of the 
services looking for.
   
   @suclogger Any best practices to organize/share the interfaces between 
providers and consumers?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-10 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-380304762
 
 
   
[provider_and_consumer.zip](https://github.com/apache/incubator-dubbo-spring-boot-project/files/1897027/provider_and_consumer.zip)

   @suclogger I've modified your official example, just created a new interface 
and it's implementation, then comment out your DefaultDemoService, then it 
stopped to work anymore, please help to take a look, thank you!
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-09 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-379833720
 
 
   @suclogger I'm very sure that I've started the provider ahead of the 
consumer. I'll try to reproduce the same problem from your official simples and 
tweat there, if encountered the same problem, I'll post up here tmr.
   
   Thank you and much appreciated!


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-09 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-379713035
 
 
   @suclogger I know it's quite annoying, but do you have any idea that once 
any changes applied to the working simple, it stops to work anymore. 
   
   I'm able to run your official simples (provider vs consumer) like a charm, 
however, I'd like to tweak that simple to work with my own scenario, the thing 
is, no matter how do I follow the exact simple, it never work even just the 
class name changes, I'm frustrated.
   
   This is the exception:
   
   ```
   com.alibaba.dubbo.remoting.RemotingException: Not found exported service: 
com.ont.palm.rpc.EchoService:1.0.0:12345 in 
[com.ont.messager.rpc.EchoService:1.0.0:12345], may be version or group 
mismatch , channel: consumer: /20.20.20.20:56722 --> provider: 
/20.20.20.20:12345, message:RpcInvocation [methodName=greet, parameterTypes=[], 
arguments=[], attachments={path=com.ont.palm.rpc.EchoService, input=153, 
dubbo=2.0.1, interface=com.ont.palm.rpc.EchoService, version=1.0.0}]
at 
com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:202)
at 
com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:73)
at 
com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
at 
com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:168)
at 
com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:50)
at 
com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:79)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
   ] with root cause
   ```
   
   My provider and its interface:
   
   
![image](https://user-images.githubusercontent.com/7279067/38493997-ced8eb52-3c26-11e8-8b45-a1927a9c3743.png)
   
   
![image](https://user-images.githubusercontent.com/7279067/38494006-d9b09584-3c26-11e8-8cb3-a216eee9b454.png)
   
   Configuration:
   
   ```
   # Spring boot application
   spring.application.name = messager-provider-app
   server.port = 9090
   
   # DemoService service version
   messager.service.version = 1.0.0
   
   # Base packages to scan Dubbo Components (e.g @Service , @Reference)
   dubbo.scan.basePackages  = com.ont.messager.rpc
   
   # Dubbo Config properties
   ## ApplicationConfig Bean
   dubbo.application.id = messager-provider
   dubbo.application.name = messager-provider
   #dubbo.application.qos.port=2
   #dubbo.application.qos.enable=true
   
   ## ProtocolConfig Bean
   dubbo.protocol.id = dubbo
   dubbo.protocol.name = dubbo
   dubbo.protocol.port = 12345
   dubbo.protocol.status = server
   
   ## RegistryConfig Bean
   dubbo.registry.id = my-registry
   dubbo.registry.address = N/A
   ```
   
   My consumer:
   
   
![image](https://user-images.githubusercontent.com/7279067/38494034-fa3ba7a8-3c26-11e8-953f-b1f9781e802c.png)
   
   ```
   # Spring boot application
   spring.application.name = dubbo-consumer-demo
   server.port = 8080
   management.server.port = 8081
   
   # DemoService service version
   messager.service.version = 1.0.0
   
   # Dubbo Config properties
   ## ApplicationConfig Bean
   dubbo.application.id = dubbo-consumer-demo
   dubbo.application.name = dubbo-consumer-demo
   
   ## Legacy QOS Config
   dubbo.qos.port = 3
   
   ## ProtocolConfig Bean
   dubbo.protocol.id = dubbo
   dubbo.protocol.name = dubbo
   dubbo.protocol.port = 12345
   
   # Dubbo Endpoint (default status is disable)
   endpoints.dubbo.enabled = true
   ```
   
   Any idea? Thanks a lot.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-08 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-379627722
 
 
   @suclogger thanks a ton! I'm able to compile now.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-08 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-379620735
 
 
   I searched around but, unfortunately there seems isn't a version 2.5.11 even 
existing on anywhere, we're trying to compile and integrate into our spring 
boot 2 project, any help will be much appreciated, thank you.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-08 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-379620735
 
 
   I searched around but, unfortunately there seems isn't a version 2.5.11 even 
existing on anywhere, we're trying to compile and integrate into our spring 
boot 2 project, any help will be much appreciated, thank you.
   
   @suclogger @mercyblitz 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-08 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-379615777
 
 
   @suclogger Unable to compile 0.2.0, see this
   
   
![image](https://user-images.githubusercontent.com/7279067/38477552-d440cde4-3be5-11e8-8d67-c8249063e860.png)
   
   and this,
   
   
![image](https://user-images.githubusercontent.com/7279067/38477561-dd214a10-3be5-11e8-86c9-9aa7b97be0c4.png)
   
   Changing version to 2.5.10 or any other higher version doesn't seem to solve 
this problem, please help!
   
   Thanks.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?

2018-04-01 Thread GitBox
neesonqk commented on issue #93: Is it incompatible with Spring Boot 2.0?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/93#issuecomment-377840797
 
 
   +1


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services