[
https://issues.jboss.org/browse/TEIIDSB-127?page=com.atlassian.jira.plugi...
]
Steven Hawkins resolved TEIIDSB-127.
------------------------------------
Resolution: Cannot Reproduce
This is not reproducible for me. Updated the port configuration and started
successfully:
2019-10-14 09:28:38.040 INFO 22557 --- [ main]
o.s.b.w.e.u.UndertowServletWebServer : Undertow started on port(s) 8080 (http) with
context path '/foo'
2019-10-14 09:28:38.146 INFO 22557 --- [ main] io.undertow.servlet
: Initializing Spring embedded WebApplicationContext
2019-10-14 09:28:38.146 INFO 22557 --- [ main] o.s.web.context.ContextLoader
: Root WebApplicationContext: initialization completed in 101 ms
2019-10-14 09:28:38.180 INFO 22557 --- [ main]
o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path
'/actuator'
2019-10-14 09:28:38.242 INFO 22557 --- [ main]
org.teiid.RUNTIME.VDBLifeCycleListener : TEIID40120 VDB customer.1 will be removed from
the repository
2019-10-14 09:28:38.242 INFO 22557 --- [ main]
org.teiid.RUNTIME.VDBLifeCycleListener : TEIID40119 VDB customer.1 removed from the
repository
2019-10-14 09:28:38.243 INFO 22557 --- [ main]
org.teiid.RUNTIME.VDBLifeCycleListener : TEIID40118 VDB customer.1 added to the
repository
2019-10-14 09:28:38.243 INFO 22557 --- [ main] org.teiid.RUNTIME
: TEIID50029 VDB customer.1 model "virt" metadata is currently being
loaded. Start Time: 10/14/19 9:28 AM
2019-10-14 09:28:38.244 INFO 22557 --- [ main] org.teiid.RUNTIME
: TEIID50030 VDB customer.1 model "virt" metadata loaded. End Time:
10/14/19 9:28 AM
2019-10-14 09:28:38.244 INFO 22557 --- [ main] org.teiid.RUNTIME
: TEIID50029 VDB customer.1 model "accounts" metadata is currently being
loaded. Start Time: 10/14/19 9:28 AM
2019-10-14 09:28:38.244 INFO 22557 --- [ main] org.teiid.RUNTIME
: TEIID50030 VDB customer.1 model "accounts" metadata loaded. End Time:
10/14/19 9:28 AM
2019-10-14 09:28:38.280 INFO 22557 --- [ main]
org.teiid.RUNTIME.VDBLifeCycleListener : TEIID40003 VDB customer.1 is set to ACTIVE
2019-10-14 09:28:38.289 INFO 22557 --- [ main]
o.s.b.w.e.u.UndertowServletWebServer : Undertow started on port(s) 8081 (http) with
context path ''
2019-10-14 09:28:38.293 INFO 22557 --- [ main]
org.teiid.spring.example.Application : Started Application in 7.577 seconds (JVM
running for 8.036)
Issued a query that utilized a database connection without a problem.
If there is more context you can provide from your configuration or other details we may
be able to determine what is going on in your case.
"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)