[teiid-issues] [JBoss JIRA] (TEIIDSB-127) "No registered data sources found" if used "management.server.port=8081"
Ramesh Reddy (Jira)
issues at jboss.org
Fri Oct 25 18:38:00 EDT 2019
[ https://issues.jboss.org/browse/TEIIDSB-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804754#comment-13804754 ]
Ramesh Reddy commented on TEIIDSB-127:
--------------------------------------
[~i3draven] see if this works for you see https://github.com/teiid/teiid-spring-boot/pull/139
It is in the same technique as [~shawkins] saying with `DependesOn` but a way to do programmatically, little convoluted to find the data source specific beans, but works IMO.
> "No registered data sources found" if used "management.server.port=8081"
> ------------------------------------------------------------------------
>
> Key: TEIIDSB-127
> URL: https://issues.jboss.org/browse/TEIIDSB-127
> Project: Teiid Spring Boot
> Issue Type: Bug
> Components: datasource
> Affects Versions: 1.2.0
> Environment: teiid-spring-boot
> Reporter: Renat Eskenin
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.3.0
>
> Attachments: TEIIDSB-127.zip
>
>
> When we used management.server.port=8081 and server.port=8080 in spring boot properties we get exception
> [2019-10-10 12:12:53,806 MSK] ERROR [test] org.teiid.PROCESSOR [restartedMain]: TEIID30019 Unexpected exception for request 8fPp+5AbzHhy.0
> java.lang.IllegalArgumentException: No registered data sources found
> How can we change management port for spring actuator and do not broken Teiid?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the teiid-issues
mailing list