Advertisement
bakhridinova

Untitled

Nov 3rd, 2024 (edited)
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Users\Leyla_Bakhridinova\IdeaProjects\Learn\Introduction to Microservices #1>docker compose up --build
  2. 2024/11/03 12:37:43 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
  3. [+] Building 4.5s (8/8)                                                                                                                                                                                                                                docker:default
  4. [+] Building 5.1s (19/20)                                                                                                                                                                                                                              docker:default
  5.  => [eureka-server internal] load .dockerignore                                                                                                                                                                                                                  0.0s
  6.  => => transferring context: 2B                                                                                                                                                                                                                                  0.0s
  7.  => [eureka-server internal] load build definition from Dockerfile                                                                                                                                                                                               0.0s
  8.  => => transferring dockerfile: 134B                                                                                                                                                                                                                             0.0s
  9.  => [song-service-1 internal] load metadata for docker.io/library/openjdk:17                                                                                                                                                                                     3.9s
  10.  => [eureka-server auth] library/openjdk:pull token for registry-1.docker.io                                                                                                                                                                                     0.0s
  11.  => [eureka-server internal] load build context                                                                                                                                                                                                                  0.4s
  12.  => => transferring context: 49.61MB                                                                                                                                                                                                                             0.3s
  13.  => [song-service-2 1/2] FROM docker.io/library/openjdk:17@sha256:528707081fdb9562eb819128a9f85ae7fe000e2fbaeaf9f87662e7b3f38cb7d8                                                                                                                               0.0s
  14.  => [eureka-server 2/2] COPY build/libs/*.jar /application.jar                                                                                                                                                                                                   0.2s
  15.  => [song-service-1] exporting to image                                                                                                                                                                                                                          0.2s
  16.  => => exporting layers                                                                                                                                                                                                                                          0.0s
  17.  => => writing image sha256:4f01d1117093093fb8369f5af4c0c3f8300c259e6e5d9465be8c82a2d9274c71                                                                                                                                                                     0.0s
  18.  => => naming to docker.io/library/introductiontomicroservices1-eureka-server                                                                                                                                                                                    0.0s
  19.  => => writing image sha256:49e64797c69c0a1fb27ef7f0bd6a98460c29f0c4b6871f35ab50aecd12efad51                                                                                                                                                                     0.0s
  20.  => => writing image sha256:77de46ae5eaf82b5cde7b5b2886d02a5cea9b289fc02937ce434c65a7d85e387                                                                                                                                                                     0.0s
  21.  => => writing image sha256:2df441dcff8fbe71a3e662bcb5e267f71fe129f6e3aac257f338fc3d8c0bef3f                                                                                                                                                                     0.0s
  22.  => => naming to docker.io/library/introductiontomicroservices1-song-service-2                                                                                                                                                                                   0.0s
  23.  => => naming to docker.io/library/introductiontomicroservices1-resource-service                                                                                                                                                                                 0.0s
  24.  => => naming to docker.io/library/introductiontomicroservices1-song-service-1                                                                                                                                                                                   0.0s
  25.  => [resource-service internal] load .dockerignore                                                                                                                                                                                                               0.0s
  26.  => => transferring context: 2B                                                                                                                                                                                                                                  0.0s
  27.  => [resource-service internal] load build definition from Dockerfile                                                                                                                                                                                            0.0s
  28.  => => transferring dockerfile: 134B                                                                                                                                                                                                                             0.0s
  29.  => [song-service-1 internal] load build definition from Dockerfile                                                                                                                                                                                              0.0s
  30.  => => transferring dockerfile: 134B                                                                                                                                                                                                                             0.0s
  31.  => [song-service-1 internal] load .dockerignore                                                                                                                                                                                                                 0.0s
  32.  => => transferring context: 2B                                                                                                                                                                                                                                  0.0s
  33.  => [song-service-2 internal] load .dockerignore                                                                                                                                                                                                                 0.0s
  34.  => => transferring context: 2B                                                                                                                                                                                                                                  0.0s
  35.  => [song-service-2 internal] load build definition from Dockerfile                                                                                                                                                                                              0.0s
  36.  => => transferring dockerfile: 134B                                                                                                                                                                                                                             0.0s
  37.  => [resource-service internal] load build context                                                                                                                                                                                                               0.0s
  38.  => => transferring context: 343B                                                                                                                                                                                                                                0.0s
  39.  => [song-service-2 internal] load build context                                                                                                                                                                                                                 0.0s
  40.  => => transferring context: 325B                                                                                                                                                                                                                                0.0s
  41.  => [song-service-1 internal] load build context                                                                                                                                                                                                                 0.1s
  42.  => => transferring context: 325B                                                                                                                                                                                                                                0.0s
  43.  => CACHED [song-service-2 2/2] COPY build/libs/*.jar /application.jar                                                                                                                                                                                           0.0s
  44.  => CACHED [resource-service 2/2] COPY build/libs/*.jar /application.jar                                                                                                                                                                                         0.0s
  45. [+] Running 7/7
  46.  ✔ Network introductiontomicroservices1_shared_network  Created                                                                                                                                                                                                  0.0s
  47.  ✔ Container resource-db-container                      Created                                                                                                                                                                                                  0.0s
  48.  ✔ Container eureka-server-container                    Created                                                                                                                                                                                                  0.0s
  49.  ✔ Container song-db-container                          Created                                                                                                                                                                                                  0.0s
  50.  ✔ Container resource-service-container                 Created                                                                                                                                                                                                  0.0s
  51.  ✔ Container song-service2-container                    Created                                                                                                                                                                                                  0.0s
  52.  ✔ Container song-service1-container                    Created                                                                                                                                                                                                  0.0s
  53. Attaching to eureka-server-container, resource-db-container, resource-service-container, song-db-container, song-service1-container, song-service2-container
  54. song-db-container           | The files belonging to this database system will be owned by user "postgres".
  55. song-db-container           | This user must also own the server process.
  56. song-db-container           |
  57. song-db-container           | The database cluster will be initialized with locale "en_US.utf8".
  58. song-db-container           | The default database encoding has accordingly been set to "UTF8".
  59. song-db-container           | The default text search configuration will be set to "english".
  60. song-db-container           |
  61. song-db-container           | Data page checksums are disabled.
  62. song-db-container           |
  63. song-db-container           | fixing permissions on existing directory /var/lib/postgresql/data ... ok
  64. song-db-container           | creating subdirectories ... ok
  65. song-db-container           | selecting dynamic shared memory implementation ... posix
  66. song-db-container           | selecting default "max_connections" ... 100
  67. resource-db-container       | The files belonging to this database system will be owned by user "postgres".
  68. resource-db-container       | This user must also own the server process.
  69. resource-db-container       |
  70. resource-db-container       | The database cluster will be initialized with locale "en_US.utf8".
  71. resource-db-container       | The default database encoding has accordingly been set to "UTF8".
  72. resource-db-container       | The default text search configuration will be set to "english".
  73. resource-db-container       |
  74. resource-db-container       | Data page checksums are disabled.
  75. resource-db-container       |
  76. resource-db-container       | fixing permissions on existing directory /var/lib/postgresql/data ... ok
  77. resource-db-container       | creating subdirectories ... ok
  78. resource-db-container       | selecting dynamic shared memory implementation ... posix
  79. resource-db-container       | selecting default "max_connections" ... 100
  80. song-db-container           | selecting default "shared_buffers" ... 128MB
  81. resource-db-container       | selecting default "shared_buffers" ... 128MB
  82. song-db-container           | selecting default time zone ... UTC
  83. song-db-container           | creating configuration files ... ok
  84. resource-db-container       | selecting default time zone ... UTC
  85. resource-db-container       | creating configuration files ... ok
  86. resource-db-container       | running bootstrap script ... ok
  87. song-db-container           | running bootstrap script ... ok
  88. song-db-container           | sh: locale: not found
  89. song-db-container           | 2024-11-03 07:37:50.916 UTC [35] WARNING:  no usable system locales were found
  90. resource-db-container       | sh: locale: not found
  91. resource-db-container       | 2024-11-03 07:37:50.963 UTC [36] WARNING:  no usable system locales were found
  92. song-db-container           | performing post-bootstrap initialization ... ok
  93. resource-db-container       | performing post-bootstrap initialization ... ok
  94. eureka-server-container     |
  95. eureka-server-container     |   .   ____          _            __ _ _
  96. eureka-server-container     |  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  97. eureka-server-container     | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  98. eureka-server-container     |  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  99. eureka-server-container     |   '  |____| .__|_| |_|_| |_\__, | / / / /
  100. eureka-server-container     |  =========|_|==============|___/=/_/_/_/
  101. eureka-server-container     |
  102. eureka-server-container     |  :: Spring Boot ::                (v3.3.5)
  103. eureka-server-container     |
  104. resource-service-container  | 07:37:52.517 [main] INFO com.epam.learn.resource.ResourceApplication -- Starting resource application...
  105. eureka-server-container     | 2024-11-03T07:37:52.607Z  INFO 1 --- [microservices.eureka] [           main] c.e.l.eureka.EurekaServerApplication     : Starting EurekaServerApplication v1.0.0 using Java 17.0.2 with PID 1 (/application.jar started by root in /)
  106. eureka-server-container     | 2024-11-03T07:37:52.620Z  INFO 1 --- [microservices.eureka] [           main] c.e.l.eureka.EurekaServerApplication     : No active profile set, falling back to 1 default profile: "default"
  107. song-service1-container     | 07:37:53.038 [main] INFO com.epam.learn.song.SongApplication -- Starting song application...
  108. song-db-container           | initdb: warning: enabling "trust" authentication for local connections
  109. song-db-container           | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
  110. song-db-container           | syncing data to disk ... ok
  111. song-db-container           |
  112. song-db-container           |
  113. song-db-container           | Success. You can now start the database server using:
  114. song-db-container           |
  115. song-db-container           |     pg_ctl -D /var/lib/postgresql/data -l logfile start
  116. song-db-container           |
  117. song-db-container           | waiting for server to start....2024-11-03 07:37:53.186 UTC [41] LOG:  starting PostgreSQL 17.0 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
  118. song-db-container           | 2024-11-03 07:37:53.193 UTC [41] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  119. song-db-container           | 2024-11-03 07:37:53.215 UTC [44] LOG:  database system was shut down at 2024-11-03 07:37:51 UTC
  120. song-db-container           | 2024-11-03 07:37:53.252 UTC [41] LOG:  database system is ready to accept connections
  121. song-db-container           |  done
  122. song-db-container           | server started
  123. song-db-container           | CREATE DATABASE
  124. song-db-container           |
  125. song-db-container           |
  126. song-db-container           | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
  127. song-db-container           |
  128. song-db-container           | waiting for server to shut down....2024-11-03 07:37:53.404 UTC [41] LOG:  received fast shutdown request
  129. song-db-container           | 2024-11-03 07:37:53.411 UTC [41] LOG:  aborting any active transactions
  130. resource-db-container       | syncing data to disk ... ok
  131. resource-db-container       |
  132. resource-db-container       |
  133. resource-db-container       | Success. You can now start the database server using:
  134. resource-db-container       |
  135. resource-db-container       |     pg_ctl -D /var/lib/postgresql/data -l logfile start
  136. resource-db-container       |
  137. resource-db-container       | initdb: warning: enabling "trust" authentication for local connections
  138. resource-db-container       | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
  139. song-db-container           | 2024-11-03 07:37:53.419 UTC [41] LOG:  background worker "logical replication launcher" (PID 47) exited with exit code 1
  140. song-db-container           | 2024-11-03 07:37:53.433 UTC [42] LOG:  shutting down
  141. song-db-container           | 2024-11-03 07:37:53.437 UTC [42] LOG:  checkpoint starting: shutdown immediate
  142. resource-db-container       | waiting for server to start....2024-11-03 07:37:53.573 UTC [42] LOG:  starting PostgreSQL 17.0 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
  143. resource-db-container       | 2024-11-03 07:37:53.583 UTC [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  144. resource-db-container       | 2024-11-03 07:37:53.603 UTC [45] LOG:  database system was shut down at 2024-11-03 07:37:51 UTC
  145. resource-db-container       | 2024-11-03 07:37:53.624 UTC [42] LOG:  database system is ready to accept connections
  146. song-service2-container     | 07:37:53.611 [main] INFO com.epam.learn.song.SongApplication -- Starting song application...
  147. resource-db-container       |  done
  148. resource-db-container       | server started
  149. resource-db-container       | CREATE DATABASE
  150. resource-db-container       |
  151. resource-db-container       |
  152. resource-db-container       | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
  153. resource-db-container       |
  154. resource-db-container       | 2024-11-03 07:37:53.927 UTC [42] LOG:  received fast shutdown request
  155. resource-db-container       | waiting for server to shut down....2024-11-03 07:37:53.935 UTC [42] LOG:  aborting any active transactions
  156. resource-db-container       | 2024-11-03 07:37:53.948 UTC [42] LOG:  background worker "logical replication launcher" (PID 48) exited with exit code 1
  157. resource-db-container       | 2024-11-03 07:37:53.952 UTC [43] LOG:  shutting down
  158. resource-db-container       | 2024-11-03 07:37:53.957 UTC [43] LOG:  checkpoint starting: shutdown immediate
  159. song-db-container           | 2024-11-03 07:37:54.137 UTC [42] LOG:  checkpoint complete: wrote 924 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.059 s, sync=0.613 s, total=0.704 s; sync files=301, longest=0.019 s, average=0.003 s; distance=4250 kB, estimate=4250 kB; lsn=0/1911660, redo lsn=0/1911660
  160. song-db-container           | 2024-11-03 07:37:54.145 UTC [41] LOG:  database system is shut down
  161. song-db-container           |  done
  162. song-db-container           | server stopped
  163. song-db-container           |
  164. song-db-container           | PostgreSQL init process complete; ready for start up.
  165. song-db-container           |
  166. song-db-container           | 2024-11-03 07:37:54.270 UTC [1] LOG:  starting PostgreSQL 17.0 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
  167. song-db-container           | 2024-11-03 07:37:54.270 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
  168. song-db-container           | 2024-11-03 07:37:54.270 UTC [1] LOG:  listening on IPv6 address "::", port 5432
  169. song-db-container           | 2024-11-03 07:37:54.297 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  170. song-db-container           | 2024-11-03 07:37:54.329 UTC [57] LOG:  database system was shut down at 2024-11-03 07:37:54 UTC
  171. song-db-container           | 2024-11-03 07:37:54.353 UTC [1] LOG:  database system is ready to accept connections
  172. resource-db-container       | 2024-11-03 07:37:54.592 UTC [43] LOG:  checkpoint complete: wrote 924 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.042 s, sync=0.557 s, total=0.641 s; sync files=301, longest=0.011 s, average=0.002 s; distance=4250 kB, estimate=4250 kB; lsn=0/1911668, redo lsn=0/1911668
  173. resource-db-container       | 2024-11-03 07:37:54.599 UTC [42] LOG:  database system is shut down
  174. resource-db-container       |  done
  175. resource-db-container       | server stopped
  176. resource-db-container       |
  177. resource-db-container       | PostgreSQL init process complete; ready for start up.
  178. resource-db-container       |
  179. resource-db-container       | 2024-11-03 07:37:54.677 UTC [1] LOG:  starting PostgreSQL 17.0 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
  180. resource-db-container       | 2024-11-03 07:37:54.678 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5433
  181. resource-db-container       | 2024-11-03 07:37:54.678 UTC [1] LOG:  listening on IPv6 address "::", port 5433
  182. resource-db-container       | 2024-11-03 07:37:54.703 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5433"
  183. resource-db-container       | 2024-11-03 07:37:54.745 UTC [58] LOG:  database system was shut down at 2024-11-03 07:37:54 UTC
  184. resource-db-container       | 2024-11-03 07:37:54.778 UTC [1] LOG:  database system is ready to accept connections
  185. song-service1-container     | 2024-11-03T07:37:56.677Z  INFO 1 --- [microservices.song] [           main] com.epam.learn.song.SongApplication      : Starting SongApplication v1.0.0 using Java 17.0.2 with PID 1 (/application.jar started by root in /)
  186. song-service1-container     | 2024-11-03T07:37:56.680Z  INFO 1 --- [microservices.song] [           main] com.epam.learn.song.SongApplication      : No active profile set, falling back to 1 default profile: "default"
  187. resource-service-container  | 2024-11-03T07:37:57.071Z  INFO 1 --- [microservices.resource] [           main] c.e.learn.resource.ResourceApplication   : Starting ResourceApplication v1.0.0 using Java 17.0.2 with PID 1 (/application.jar started by root in /)
  188. resource-service-container  | 2024-11-03T07:37:57.075Z  INFO 1 --- [microservices.resource] [           main] c.e.learn.resource.ResourceApplication   : No active profile set, falling back to 1 default profile: "default"
  189. song-service2-container     | 2024-11-03T07:37:57.135Z  INFO 1 --- [microservices.song] [           main] com.epam.learn.song.SongApplication      : Starting SongApplication v1.0.0 using Java 17.0.2 with PID 1 (/application.jar started by root in /)
  190. song-service2-container     | 2024-11-03T07:37:57.139Z  INFO 1 --- [microservices.song] [           main] com.epam.learn.song.SongApplication      : No active profile set, falling back to 1 default profile: "default"
  191. eureka-server-container     | 2024-11-03T07:37:58.503Z  INFO 1 --- [microservices.eureka] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8761 (http)
  192. eureka-server-container     | 2024-11-03T07:37:58.596Z  INFO 1 --- [microservices.eureka] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
  193. eureka-server-container     | 2024-11-03T07:37:58.597Z  INFO 1 --- [microservices.eureka] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.31]
  194. eureka-server-container     | 2024-11-03T07:37:58.805Z  INFO 1 --- [microservices.eureka] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
  195. eureka-server-container     | 2024-11-03T07:37:58.807Z  INFO 1 --- [microservices.eureka] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5864 ms
  196. song-service1-container     | 2024-11-03T07:38:02.054Z  INFO 1 --- [microservices.song] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
  197. song-service2-container     | 2024-11-03T07:38:02.508Z  INFO 1 --- [microservices.song] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
  198. song-service1-container     | 2024-11-03T07:38:02.993Z  INFO 1 --- [microservices.song] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 911 ms. Found 1 JPA repository interface.
  199. resource-service-container  | 2024-11-03T07:38:03.161Z  INFO 1 --- [microservices.resource] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
  200. eureka-server-container     | 2024-11-03T07:38:03.222Z  INFO 1 --- [microservices.eureka] [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint beneath base path '/actuator'
  201. song-service2-container     | 2024-11-03T07:38:03.247Z  INFO 1 --- [microservices.song] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 662 ms. Found 1 JPA repository interface.
  202. eureka-server-container     | 2024-11-03T07:38:03.865Z  INFO 1 --- [microservices.eureka] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8761 (http) with context path '/'
  203. eureka-server-container     | 2024-11-03T07:38:03.993Z  INFO 1 --- [microservices.eureka] [           main] c.e.l.eureka.EurekaServerApplication     : Started EurekaServerApplication in 13.306 seconds (process running for 14.352)
  204. resource-service-container  | 2024-11-03T07:38:04.178Z  INFO 1 --- [microservices.resource] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 966 ms. Found 1 JPA repository interface.
  205. song-service1-container     | 2024-11-03T07:38:05.357Z  INFO 1 --- [microservices.song] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
  206. song-service1-container     | 2024-11-03T07:38:05.439Z  INFO 1 --- [microservices.song] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
  207. song-service1-container     | 2024-11-03T07:38:05.440Z  INFO 1 --- [microservices.song] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.31]
  208. song-service1-container     | 2024-11-03T07:38:05.592Z  INFO 1 --- [microservices.song] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
  209. song-service1-container     | 2024-11-03T07:38:05.594Z  INFO 1 --- [microservices.song] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 8534 ms
  210. song-service2-container     | 2024-11-03T07:38:05.849Z  INFO 1 --- [microservices.song] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
  211. song-service2-container     | 2024-11-03T07:38:05.892Z  INFO 1 --- [microservices.song] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
  212. song-service2-container     | 2024-11-03T07:38:05.892Z  INFO 1 --- [microservices.song] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.31]
  213. song-service2-container     | 2024-11-03T07:38:06.018Z  INFO 1 --- [microservices.song] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
  214. song-service2-container     | 2024-11-03T07:38:06.025Z  INFO 1 --- [microservices.song] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 8576 ms
  215. song-service1-container     | 2024-11-03T07:38:06.311Z  INFO 1 --- [microservices.song] [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
  216. song-service1-container     | 2024-11-03T07:38:06.514Z  INFO 1 --- [microservices.song] [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.5.3.Final
  217. song-service2-container     | 2024-11-03T07:38:06.743Z  INFO 1 --- [microservices.song] [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
  218. song-service1-container     | 2024-11-03T07:38:06.757Z  INFO 1 --- [microservices.song] [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
  219. song-service2-container     | 2024-11-03T07:38:07.024Z  INFO 1 --- [microservices.song] [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.5.3.Final
  220. resource-service-container  | 2024-11-03T07:38:07.088Z  INFO 1 --- [microservices.resource] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8082 (http)
  221. song-service2-container     | 2024-11-03T07:38:07.145Z  INFO 1 --- [microservices.song] [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
  222. resource-service-container  | 2024-11-03T07:38:07.158Z  INFO 1 --- [microservices.resource] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
  223. resource-service-container  | 2024-11-03T07:38:07.159Z  INFO 1 --- [microservices.resource] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.31]
  224. resource-service-container  | 2024-11-03T07:38:07.392Z  INFO 1 --- [microservices.resource] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
  225. resource-service-container  | 2024-11-03T07:38:07.394Z  INFO 1 --- [microservices.resource] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 9791 ms
  226. song-service1-container     | 2024-11-03T07:38:07.907Z  INFO 1 --- [microservices.song] [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
  227. song-service1-container     | 2024-11-03T07:38:07.991Z  INFO 1 --- [microservices.song] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
  228. song-service2-container     | 2024-11-03T07:38:08.426Z  INFO 1 --- [microservices.song] [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
  229. resource-service-container  | 2024-11-03T07:38:08.481Z  INFO 1 --- [microservices.resource] [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
  230. song-service2-container     | 2024-11-03T07:38:08.592Z  INFO 1 --- [microservices.song] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
  231. resource-service-container  | 2024-11-03T07:38:08.753Z  INFO 1 --- [microservices.resource] [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.5.3.Final
  232. song-service1-container     | 2024-11-03T07:38:08.917Z  INFO 1 --- [microservices.song] [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@3ff8a3ad
  233. resource-service-container  | 2024-11-03T07:38:08.963Z  INFO 1 --- [microservices.resource] [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
  234. song-service1-container     | 2024-11-03T07:38:09.016Z  INFO 1 --- [microservices.song] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
  235. song-service2-container     | 2024-11-03T07:38:09.373Z  INFO 1 --- [microservices.song] [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@5613247e
  236. song-service2-container     | 2024-11-03T07:38:09.377Z  INFO 1 --- [microservices.song] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
  237. resource-service-container  | 2024-11-03T07:38:11.494Z  INFO 1 --- [microservices.resource] [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
  238. resource-service-container  | 2024-11-03T07:38:11.567Z  INFO 1 --- [microservices.resource] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
  239. resource-service-container  | 2024-11-03T07:38:12.062Z  INFO 1 --- [microservices.resource] [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@6996bbc4
  240. resource-service-container  | 2024-11-03T07:38:12.065Z  INFO 1 --- [microservices.resource] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
  241. song-service1-container     | 2024-11-03T07:38:12.383Z  INFO 1 --- [microservices.song] [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
  242. song-service1-container     | Hibernate: drop table if exists "song-metadata" cascade
  243. song-service1-container     | 2024-11-03T07:38:12.427Z  WARN 1 --- [microservices.song] [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Warning Code: 0, SQLState: 00000
  244. song-service1-container     | 2024-11-03T07:38:12.429Z  WARN 1 --- [microservices.song] [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : table "song-metadata" does not exist, skipping
  245. song-service1-container     | Hibernate: drop sequence if exists "song-metadata_seq"
  246. song-service1-container     | 2024-11-03T07:38:12.436Z  WARN 1 --- [microservices.song] [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Warning Code: 0, SQLState: 00000
  247. song-service1-container     | 2024-11-03T07:38:12.436Z  WARN 1 --- [microservices.song] [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : sequence "song-metadata_seq" does not exist, skipping
  248. song-service1-container     | Hibernate: create sequence "song-metadata_seq" start with 1 increment by 50
  249. song-service1-container     | Hibernate: create table "song-metadata" (id integer not null, resource_id integer, album varchar(255), artist varchar(255), length varchar(255), name varchar(255), year varchar(255), primary key (id))
  250. song-service1-container     | 2024-11-03T07:38:12.503Z  INFO 1 --- [microservices.song] [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
  251. song-service2-container     | 2024-11-03T07:38:12.736Z  INFO 1 --- [microservices.song] [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
  252. song-service2-container     | Hibernate: drop table if exists "song-metadata" cascade
  253. song-service2-container     | Hibernate: drop sequence if exists "song-metadata_seq"
  254. song-service2-container     | Hibernate: create sequence "song-metadata_seq" start with 1 increment by 50
  255. song-service2-container     | Hibernate: create table "song-metadata" (id integer not null, resource_id integer, album varchar(255), artist varchar(255), length varchar(255), name varchar(255), year varchar(255), primary key (id))
  256. song-service2-container     | 2024-11-03T07:38:12.904Z  INFO 1 --- [microservices.song] [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
  257. song-service1-container     | 2024-11-03T07:38:14.876Z  WARN 1 --- [microservices.song] [           main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
  258. song-service2-container     | 2024-11-03T07:38:15.528Z  WARN 1 --- [microservices.song] [           main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
  259. resource-service-container  | 2024-11-03T07:38:16.601Z  INFO 1 --- [microservices.resource] [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
  260. resource-service-container  | Hibernate: drop table if exists resources cascade
  261. resource-service-container  | 2024-11-03T07:38:16.658Z  WARN 1 --- [microservices.resource] [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Warning Code: 0, SQLState: 00000
  262. resource-service-container  | 2024-11-03T07:38:16.658Z  WARN 1 --- [microservices.resource] [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : table "resources" does not exist, skipping
  263. resource-service-container  | Hibernate: drop sequence if exists resources_seq
  264. resource-service-container  | 2024-11-03T07:38:16.663Z  WARN 1 --- [microservices.resource] [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Warning Code: 0, SQLState: 00000
  265. resource-service-container  | 2024-11-03T07:38:16.671Z  WARN 1 --- [microservices.resource] [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : sequence "resources_seq" does not exist, skipping
  266. resource-service-container  | Hibernate: create sequence resources_seq start with 1 increment by 50
  267. resource-service-container  | Hibernate: create table resources (id integer not null, description varchar(255), data bytea, primary key (id))
  268. resource-service-container  | 2024-11-03T07:38:16.752Z  INFO 1 --- [microservices.resource] [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
  269. resource-service-container  | 2024-11-03T07:38:19.226Z  WARN 1 --- [microservices.resource] [           main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
  270. song-service2-container     | 2024-11-03T07:38:20.921Z  INFO 1 --- [microservices.song] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
  271. song-service2-container     | 2024-11-03T07:38:20.970Z  INFO 1 --- [microservices.song] [           main] com.epam.learn.song.SongApplication      : Started SongApplication in 26.671 seconds (process running for 29.561)
  272. song-service1-container     | 2024-11-03T07:38:21.020Z  INFO 1 --- [microservices.song] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
  273. song-service1-container     | 2024-11-03T07:38:21.075Z  INFO 1 --- [microservices.song] [           main] com.epam.learn.song.SongApplication      : Started SongApplication in 26.869 seconds (process running for 29.863)
  274. resource-service-container  | 2024-11-03T07:38:23.416Z  INFO 1 --- [microservices.resource] [           main] org.quartz.impl.StdSchedulerFactory      : Using default implementation for ThreadExecutor
  275. resource-service-container  | 2024-11-03T07:38:23.442Z  INFO 1 --- [microservices.resource] [           main] org.quartz.core.SchedulerSignalerImpl    : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
  276. resource-service-container  | 2024-11-03T07:38:23.442Z  INFO 1 --- [microservices.resource] [           main] org.quartz.core.QuartzScheduler          : Quartz Scheduler v.2.3.2 created.
  277. resource-service-container  | 2024-11-03T07:38:23.443Z  INFO 1 --- [microservices.resource] [           main] org.quartz.simpl.RAMJobStore             : RAMJobStore initialized.
  278. resource-service-container  | 2024-11-03T07:38:23.444Z  INFO 1 --- [microservices.resource] [           main] org.quartz.core.QuartzScheduler          : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
  279. resource-service-container  |   Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  280. resource-service-container  |   NOT STARTED.
  281. resource-service-container  |   Currently in standby mode.
  282. resource-service-container  |   Number of jobs executed: 0
  283. resource-service-container  |   Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  284. resource-service-container  |   Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
  285. resource-service-container  |
  286. resource-service-container  | 2024-11-03T07:38:23.444Z  INFO 1 --- [microservices.resource] [           main] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
  287. resource-service-container  | 2024-11-03T07:38:23.444Z  INFO 1 --- [microservices.resource] [           main] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler version: 2.3.2
  288. resource-service-container  | 2024-11-03T07:38:23.444Z  INFO 1 --- [microservices.resource] [           main] org.quartz.core.QuartzScheduler          : JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@6c427386
  289. resource-service-container  | 2024-11-03T07:38:23.540Z  INFO 1 --- [microservices.resource] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8082 (http) with context path '/'
  290. resource-service-container  | 2024-11-03T07:38:23.542Z  INFO 1 --- [microservices.resource] [           main] o.s.s.quartz.SchedulerFactoryBean        : Starting Quartz Scheduler now
  291. resource-service-container  | 2024-11-03T07:38:23.543Z  INFO 1 --- [microservices.resource] [           main] org.quartz.core.QuartzScheduler          : Scheduler quartzScheduler_$_NON_CLUSTERED started.
  292. resource-service-container  | 2024-11-03T07:38:23.565Z  INFO 1 --- [microservices.resource] [           main] c.e.learn.resource.ResourceApplication   : Started ResourceApplication in 30.189 seconds (process running for 32.599)
  293. Gracefully stopping... (press Ctrl+C again to force)
  294. Aborting on container exit...
  295. [+] Stopping 6/6
  296. ✔ Container song-service1-container     Stopped                                                                                                                                                                                                                 0.8s
  297. ✔ Container resource-service-container  Stopped                                                                                                                                                                                                                 0.6s
  298. ✔ Container song-service2-container     Stopped                                                                                                                                                                                                                 1.1s
  299. ✔ Container resource-db-container       Stopped                                                                                                                                                                                                                 0.6s
  300. ✔ Container song-db-container           Stopped                                                                                                                                                                                                                 0.8s
  301. ✔ Container eureka-server-container     Stopped                                                                                                                                                                                                                 0.7s
  302. canceled
  303.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement