[teiid-issues] [JBoss JIRA] (TEIIDSB-127) "No registered data sources found" if used "management.server.port=8081"
Steven Hawkins (Jira)
issues at jboss.org
Wed Oct 16 20:05:00 EDT 2019
[ https://issues.jboss.org/browse/TEIIDSB-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800726#comment-13800726 ]
Steven Hawkins commented on TEIIDSB-127:
----------------------------------------
The issue here is that hibernate is running before he underlying datasource is being created [~rareddy] In TeiidAutoConfiguration I don't see that the Ordered interface has any affect - the method is not called and seems more for when you have multiple beans of the same type you are trying to order. I can't seem to find another way to order things other than to add an explicit DependsOn annotation - but that has some usability issues. Do you know of another ordering mechanism?
> "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: Steven Hawkins
> Priority: Major
>
> 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