Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APIM-4.0.0] Invalid username reference for TopicConnectionFactory url in jndi-cp.properties.j2 #12865

Open
chaminda opened this issue Apr 19, 2022 · 0 comments
Labels

Comments

@chaminda
Copy link
Contributor

Description:

Currently, jndi-cp.properties.j2 file is referring only the apim.event_hub.username as the username to construct the TopicConnectionFactory when some conditions are true. This will break the configuration if email user is enabled in the deployment.toml and also when event_hub configurations are applied(TM seperation use case)
It will result constructing the endpoint setting the username as admin@wso2.com@carbon.super
Ideally this value should be admin!wso2.com!carbon.super to be success with the configurations.
Hence we need to refer apim.throttling.jms.username instead.

Steps to reproduce:

  1. Configure APIM-4.0.0 with email-user enabled configs
  2. Apply event_hub configurations.
  3. Start the server and check jndi-cp.properties file.

Affected Product Version:

APIM-4.0.0

Environment details (with versions):

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants