You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by GitBox <gi...@apache.org> on 2023/01/17 06:59:10 UTC

[GitHub] [karaf-minho] iskey opened a new issue, #41: Should the `JerseyRestService` has a higher priority than `JettyWebContainerService`?

iskey opened a new issue, #41:
URL: https://github.com/apache/karaf-minho/issues/41

   It seems that the `JettyWebContainerService` should have a higher priority than `JerseyRestService`.
   
   ```
   2023-01-17 14:56:21 INFO   org.apache.karaf.minho.boot.service.ServiceRegistry add Adding minho-rest-service service (1000)
   Exception in thread "main" java.lang.IllegalStateException: Can't register minho-rest-service
   	at org.apache.karaf.minho.boot.service.ServiceRegistry.add(ServiceRegistry.java:88)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   	at java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395)
   	at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258)
   	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510)
   	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
   	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
   	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
   	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
   	at org.apache.karaf.minho.boot.Minho.start(Minho.java:58)
   	at org.apache.karaf.minho.boot.Main.main(Main.java:63)
   Caused by: java.lang.IllegalStateException: minho-http-service is not found in the service registry
   	at org.apache.karaf.minho.rest.jersey.JerseyRestService.onRegister(JerseyRestService.java:52)
   	at org.apache.karaf.minho.boot.service.ServiceRegistry.add(ServiceRegistry.java:86)
   	... 12 more
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@karaf.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [karaf-minho] iskey closed issue #41: Should the `JettyWebContainerService` has a higher priority than the `JerseyRestService` ?

Posted by GitBox <gi...@apache.org>.
iskey closed issue #41: Should the `JettyWebContainerService` has a higher priority than the `JerseyRestService` ?
URL: https://github.com/apache/karaf-minho/issues/41


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [karaf-minho] iskey commented on issue #41: Should the `JettyWebContainerService` has a higher priority than the `JerseyRestService` ?

Posted by GitBox <gi...@apache.org>.
iskey commented on issue #41:
URL: https://github.com/apache/karaf-minho/issues/41#issuecomment-1384946715

   Sorry, I saw it is duplicated with #38, I will try to clear my local maven repo and try again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [karaf-minho] jbonofre commented on issue #41: Should the `JettyWebContainerService` has a higher priority than the `JerseyRestService` ?

Posted by GitBox <gi...@apache.org>.
jbonofre commented on issue #41:
URL: https://github.com/apache/karaf-minho/issues/41#issuecomment-1384981142

   I have a couple of other fixes to do. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [karaf-minho] iskey commented on issue #41: Should the `JettyWebContainerService` has a higher priority than the `JerseyRestService` ?

Posted by GitBox <gi...@apache.org>.
iskey commented on issue #41:
URL: https://github.com/apache/karaf-minho/issues/41#issuecomment-1384972190

   @jbonofre, thanks, it will be great. ^v^


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [karaf-minho] iskey commented on issue #41: Should the `JettyWebContainerService` has a higher priority than the `JerseyRestService` ?

Posted by GitBox <gi...@apache.org>.
iskey commented on issue #41:
URL: https://github.com/apache/karaf-minho/issues/41#issuecomment-1384956579

   The release [minho-0.1](https://github.com/apache/karaf-minho/releases/tag/minho-0.1) is still in the wrong state. 
   The `SNAPSHOT` one works fine for me. I will close this issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [karaf-minho] jbonofre commented on issue #41: Should the `JettyWebContainerService` has a higher priority than the `JerseyRestService` ?

Posted by GitBox <gi...@apache.org>.
jbonofre commented on issue #41:
URL: https://github.com/apache/karaf-minho/issues/41#issuecomment-1384966366

   Yes I fixed that already for 0.2. I will cut the release soon. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org