You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "logabstract (via GitHub)" <gi...@apache.org> on 2023/05/10 23:03:20 UTC

[GitHub] [camel-k] logabstract opened a new issue, #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

logabstract opened a new issue, #4361:
URL: https://github.com/apache/camel-k/issues/4361

   Hello,
   
   We are migrating some services from Camel K 1.10.2 to Camel K 1.12.0, and I have encountered a problem with the camel-jta dependency. I tested it in a minimal example:
   
   ``` yaml
   # camel-k: language=yaml
   # camel-k: dependency=camel-jta
   
   - route:
       id: main
       from:
         uri: timer:tick
         parameters:
           repeatCount: 1
         steps:
           - log: hello world
   ```
   
   This integration runs without problem in Camel K 1.10.2. However, in Camel K 1.12.0, the following error shows:
   
   ```
   kamel run main.yaml --dev
   Modeline options have been loaded from source files
   Full command: kamel run main.yaml --dev --dependency=camel-jta
   Warning: dependency camel:jta not found in Camel catalog
   Integration "main" created
   Progress: integration "main" in phase Initialization
   Progress: integration "main" in phase Error
   Error: integration "main" deployment failed
   ```
   
   On the Camel Quarkus website, it shows that this dependency should work in both Camel Quarkus 2.13 (camel-k 1.10.2) and Camel Quarkus 2.16 (camel-k 1.12.0):
   https://camel.apache.org/camel-quarkus/2.13.x/reference/extensions/jta.html
   
   Link to zulip post: [link](https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/camel.3Ajta.20not.20found.20in.20Camel.20catalog)


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

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


[GitHub] [camel-k] christophd commented on issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #4361:
URL: https://github.com/apache/camel-k/issues/4361#issuecomment-1556709810

   I think in short term we should just remove that check that verifies that all components are part of the catalog (see [2da65f2](https://github.com/apache/camel-k/commit/2da65f2681f67904cfc719deb6573286be8ce92c)) because it simply prevents integrations from running. 
   
   And obviously some components listed in the Camel Quarkus reference (e.g. https://camel.apache.org/camel-quarkus/2.13.x/reference/extensions/jta.html) are missing in the catalog for some reason.
   
   @tadayosi @squakez WDYT?


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] christophd commented on issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #4361:
URL: https://github.com/apache/camel-k/issues/4361#issuecomment-1562493281

   Also fixed by https://github.com/apache/camel-k-runtime/issues/1029


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] lfabriko commented on issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "lfabriko (via GitHub)" <gi...@apache.org>.
lfabriko commented on issue #4361:
URL: https://github.com/apache/camel-k/issues/4361#issuecomment-1548112170

   Passing info from @christophd :
   Problem caused by https://github.com/apache/camel-k/commit/2da65f2681f67904cfc719deb6573286be8ce92c: "Root cause is that camel-jta for some reason is not in the catalog and that we have added the validation check to raise errors if the component could not be found in the catalog in 1.12."
   
   Reproduced:
   - minimal example integration runs correctly on `v1.10.2`
   - fails on `v1.12.0` for both `camel-jta` and `camel:jta`
   - runs correctly on `v1.12.0` after removing commit ^ https://github.com/apache/camel-k/commit/2da65f2681f67904cfc719deb6573286be8ce92c


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] christophd commented on issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #4361:
URL: https://github.com/apache/camel-k/issues/4361#issuecomment-1548240594

   also, we found out that `camel-jta` has never been in the catalog. it has been working with 1.10 because the explicit catalog check from [2da65f2](https://github.com/apache/camel-k/commit/2da65f2681f67904cfc719deb6573286be8ce92c) is missing in 1.10
   
   I think we should also open a new issue in [camel-quarkus](https://github.com/apache/camel-quarkus) to find out why `camel-jta` is missing in the catalog


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] squakez closed issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog
URL: https://github.com/apache/camel-k/issues/4361


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] squakez commented on issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4361:
URL: https://github.com/apache/camel-k/issues/4361#issuecomment-1556720793

   No objection. However, more than removing the check I'd convert the actual error thrown in just a log warning instead as it is still a good hint for troubleshooting. About the missing extension I guess we need to double check with Camel Quarkus team.


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] squakez commented on issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4361:
URL: https://github.com/apache/camel-k/issues/4361#issuecomment-1543460311

   The component is missing from the catalog.
   
   @christophd I think you had a look at some similar problem recently. Probably it depends on Camel Quarkus platform, can you confirm?


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] christophd commented on issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #4361:
URL: https://github.com/apache/camel-k/issues/4361#issuecomment-1548247044

   There must be another mechanism that resolves dependencies besides that one working on the catalog because in 1.10.2 the integration is working ok despite the fact that the `camel-jta` is also not part of the catalog in this case.
   
   In 1.12 it fails fast due to the check on the missing component in the catalog


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] squakez commented on issue #4361: Camel k 1.12.0: camel:jta not found in Camel catalog

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4361:
URL: https://github.com/apache/camel-k/issues/4361#issuecomment-1562486963

   Fixed by #4402 


-- 
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: commits-unsubscribe@camel.apache.org

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