HikariPool-1 – Start abgeschlossen [geschlossen]Java

Java-Forum
Guest
 HikariPool-1 – Start abgeschlossen [geschlossen]

Post by Guest »

Ich habe diese Frage mehrmals gesehen und einige der Vorschläge ausprobiert, aber nichts hat funktioniert. Wenn ich meine Spring-Anwendung ausführe, lässt sie sich gut und ohne Warnungen kompilieren, bleibt aber bei INFO 231384 hängen --- [AuctionEcomm] [ main] com.zaxxer.hikari.HikariDataSource: HikariPool-1 – Start abgeschlossen.
... Was könnte das Problem sein?

Code: Select all

Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts

.    ____          _            __ _ _
/\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/  ___)| |_)| | | | | || (_| |  ) ) ) )
'  |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot ::                (v3.2.5)
2025-01-19T14:03:34.575+03:00  INFO 231384 --- [AuctionEcomm] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.20]
2025-01-19T14:03:34.606+03:00  INFO 231384 --- [AuctionEcomm] [           main] o.a.c.c.C.[.[localhost].[/api/v1/mcomm]  : Initializing Spring embedded WebApplicationContext
2025-01-19T14:03:34.606+03:00  INFO 231384 --- [AuctionEcomm] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2227 ms
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
2025-01-19T14:03:34.874+03:00  INFO 231384 --- [AuctionEcomm] [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-01-19T14:03:34.904+03:00  INFO 231384 --- [AuctionEcomm] [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.4.4.Final
2025-01-19T14:03:34.941+03:00  INFO 231384 --- [AuctionEcomm] [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-01-19T14:03:35.061+03:00  INFO 231384 --- [AuctionEcomm] [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-01-19T14:03:35.078+03:00  INFO 231384 --- [AuctionEcomm] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2025-01-19T14:03:35.169+03:00  INFO 231384 --- [AuctionEcomm] [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@141234df
2025-01-19T14:03:35.170+03:00  INFO 231384 --- [AuctionEcomm] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.

Letzter Eintrag, wenn der Debugger eingeschaltet ist

Code: Select all

2025-01-19T21:01:23.578+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for lastModifiedBy
2025-01-19T21:01:23.578+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for lastModifiedDate
2025-01-19T21:01:23.578+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for groupDesc
2025-01-19T21:01:23.578+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for groupName
2025-01-19T21:01:23.578+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for groupUUID
2025-01-19T21:01:23.578+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for id
2025-01-19T21:01:23.578+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for createdBy
2025-01-19T21:01:23.579+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for createdDate
2025-01-19T21:01:23.579+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for lastModifiedBy
2025-01-19T21:01:23.579+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for lastModifiedDate
2025-01-19T21:01:23.579+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for amount
2025-01-19T21:01:23.579+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for desc
2025-01-19T21:01:23.579+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for paymentMode
2025-01-19T21:01:23.579+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    :  Starting `BasicValueBinder#fillSimpleValue` for paymentRef
2025-01-19T21:01:23.579+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for receiptNo
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for receiptUUID
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for shtDesc
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for id
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for currentSeqValue
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for nextSeqValue
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for seqFor
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for clientId
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for authSharedUUID
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for clientEmail
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for clientFname
2025-01-19T21:01:23.580+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for clientGender
2025-01-19T21:01:23.581+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for clientOtherName
2025-01-19T21:01:23.581+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for clientPhone
2025-01-19T21:01:23.581+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.BasicValueBinder    : Starting `BasicValueBinder#fillSimpleValue` for clientRole
2025-01-19T21:01:23.613+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [pk] to be non-null as it is part of the primary key for table [sys_ecomm_cart]
2025-01-19T21:01:23.615+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [account_id] to be non-null as it is part of the primary key for table [sys_mcomm_accounts]
2025-01-19T21:01:23.615+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [id] to be non-null as it is part of the primary key for table [sys_mcomm_main_transaction]
2025-01-19T21:01:23.615+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [id] to be non-null as it is part of the primary key for table [sys_mcomm_merchant_product]
2025-01-19T21:01:23.615+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [image_id] to be non-null as it is part of the primary key for table [sys_mcomm_image_vault]
2025-01-19T21:01:23.616+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [base_metric_id] to be non-null as it is part of the primary key for table [sys_mcomm_base_to_target_metric]
2025-01-19T21:01:23.616+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [metric_id] to be non-null as it is part of the primary key for table [sys_mcomm_metric]
2025-01-19T21:01:23.616+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [metric_id] to be non-null as it is part of the primary key for table [sys_mcomm_metric_group]
2025-01-19T21:01:23.616+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         :  Forcing column [id] to be non-null as it is part of the primary key for table [sys_mcomm_order]
2025-01-19T21:01:23.616+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [pk] to be non-null as it is part of the primary key for table [sys_mcomm_order_process_flow]
2025-01-19T21:01:23.616+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [id] to be non-null as it is part of the primary key for table [sys_mcomm_process_flow]
2025-01-19T21:01:23.617+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [advert_product_id] to be non-null as it is part of the primary key for table [sys_mcomm_advert_product]
2025-01-19T21:01:23.617+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [f_product_id] to be non-null as it is part of the primary key for table [sys_mcomm_farmer_product]
2025-01-19T21:01:23.617+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [product-cat_id] to be non-null as it is part of the primary key for table [sys_mcomm_product_category]
2025-01-19T21:01:23.617+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [product_id] to be non-null as it is part of the primary key for table [sys_mcomm_product]
2025-01-19T21:01:23.617+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [product_group_id] to be non-null as it is part of the primary key for table [sys_mcomm_product_group]
2025-01-19T21:01:23.617+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [id] to be non-null as it is part of the primary key for table [sys_mcomm_receipt]
2025-01-19T21:01:23.618+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [id] to be non-null as it is part of the primary key for table [sys_mcomm_sequence]
2025-01-19T21:01:23.618+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] org.hibernate.mapping.PrimaryKey         : Forcing column [client_id] to be non-null as it is part of the primary key for table [sys_mcomm_client]
2025-01-19T21:01:23.626+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Second pass for collection: tech.muiru.AuctionEcomm.metric.io.entity.MetricDef.farmerProductDef
2025-01-19T21:01:23.628+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Binding a OneToMany: tech.muiru.AuctionEcomm.metric.io.entity.MetricDef.farmerProductDef through a foreign key
2025-01-19T21:01:23.637+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Mapping collection: tech.muiru.AuctionEcomm.metric.io.entity.MetricDef.farmerProductDef -> sys_mcomm_farmer_product
2025-01-19T21:01:23.643+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.boot.model.internal.TableBinder      : Retrieving property tech.muiru.AuctionEcomm.product.io.entity.FarmerProductDef.metricDef
2025-01-19T21:01:23.645+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Mapped collection key: metrics_id, one-to-many: tech.muiru.AuctionEcomm.product.io.entity.FarmerProductDef
2025-01-19T21:01:23.646+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Second pass for collection: tech.muiru.AuctionEcomm.order.io.entity.OrderDef.orderProcessFlow
2025-01-19T21:01:23.647+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Binding a OneToMany: tech.muiru.AuctionEcomm.order.io.entity.OrderDef.orderProcessFlow through a foreign key
2025-01-19T21:01:23.647+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Mapping collection: tech.muiru.AuctionEcomm.order.io.entity.OrderDef.orderProcessFlow ->  sys_mcomm_order_process_flow
2025-01-19T21:01:23.649+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.boot.model.internal.TableBinder      : Retrieving property tech.muiru.AuctionEcomm.order.io.entity.OrderProcessFlowDef.order
2025-01-19T21:01:23.650+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Mapped collection key: order_id, one-to-many: tech.muiru.AuctionEcomm.order.io.entity.OrderProcessFlowDef
2025-01-19T21:01:23.650+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Second pass for collection: tech.muiru.AuctionEcomm.order.io.entity.OrderDef.receipt
2025-01-19T21:01:23.651+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Binding a OneToMany: tech.muiru.AuctionEcomm.order.io.entity.OrderDef.receipt through a foreign key
2025-01-19T21:01:23.651+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Mapping collection: tech.muiru.AuctionEcomm.order.io.entity.OrderDef.receipt -> sys_mcomm_receipt
2025-01-19T21:01:23.652+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.boot.model.internal.TableBinder      : Retrieving property tech.muiru.AuctionEcomm.receipt.io.entity.ReceiptDef.order
2025-01-19T21:01:23.653+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Mapped collection key: order_id, one-to-many: tech.muiru.AuctionEcomm.receipt.io.entity.ReceiptDef
2025-01-19T21:01:23.654+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Second pass for collection: tech.muiru.AuctionEcomm.product.io.entity.AdvertProductDef.advertImage
2025-01-19T21:01:23.655+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Binding a OneToMany: tech.muiru.AuctionEcomm.product.io.entity.AdvertProductDef.advertImage through a foreign key
2025-01-19T21:01:23.655+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Mapping collection: tech.muiru.AuctionEcomm.product.io.entity.AdvertProductDef.advertImage -> sys_mcomm_image_vault
2025-01-19T21:01:23.656+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.boot.model.internal.TableBinder      : Retrieving property tech.muiru.AuctionEcomm.io.io.entity.ImageVault.advertProduct
2025-01-19T21:01:23.657+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Mapped collection key: advert_product_id, one-to-many: tech.muiru.AuctionEcomm.io.io.entity.ImageVault
2025-01-19T21:01:23.658+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Second pass for collection: tech.muiru.AuctionEcomm.product.io.entity.ProductGroupDef.productCategories
2025-01-19T21:01:23.659+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Binding a OneToMany: tech.muiru.AuctionEcomm.product.io.entity.ProductGroupDef.productCategories through a foreign key
2025-01-19T21:01:23.659+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.model.internal.CollectionBinder    : Mapping collection: tech.muiru.AuctionEcomm.product.io.entity.ProductGroupDef.productCategories ->  sys_mcomm_product_category
2025-01-19T21:01:23.660+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.boot.model.internal.TableBinder      : Retrieving property tech.muiru.AuctionEcomm.product.io.entity.ProductCategoryDef.productGroupDef
2025-01-19T21:01:23.661+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.m.internal.CollectionSecondPass    : Mapped collection key: product_group, one-to-many: tech.muiru.AuctionEcomm.product.io.entity.ProductCategoryDef
2025-01-19T21:01:23.664+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.product.io.entity.AdvertProductDef
2025-01-19T21:01:23.673+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.user.io.entity.ClientDef
2025-01-19T21:01:23.674+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.metric.io.entity.MetricDef
2025-01-19T21:01:23.675+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.user.io.entity.ClientDef
2025-01-19T21:01:23.676+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.metric.io.entity.MetricDef
2025-01-19T21:01:23.676+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.product.io.entity.ProductDef
2025-01-19T21:01:23.677+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.metric.io.entity.MetricDef
2025-01-19T21:01:23.678+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.metric.io.entity.MetricDef
2025-01-19T21:01:23.678+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.user.io.entity.ClientDef
2025-01-19T21:01:23.678+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.metric.io.entity.MetricDef
2025-01-19T21:01:23.679+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.product.io.entity.ProductDef
2025-01-19T21:01:23.679+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.product.io.entity.AdvertProductDef
2025-01-19T21:01:23.680+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.order.io.entity.OrderDef
2025-01-19T21:01:23.680+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.metric.io.entity.MetricGroupDef
2025-01-19T21:01:23.681+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.order.io.entity.OrderProcessFlowDef
2025-01-19T21:01:23.681+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.product.io.entity.AdvertProductDef
2025-01-19T21:01:23.682+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.cart.io.entity.CartDef
2025-01-19T21:01:23.682+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.user.io.entity.ClientDef
2025-01-19T21:01:23.683+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.order.io.entity.OrderDef
2025-01-19T21:01:23.684+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.order.io.entity.ProcessFlowDef
2025-01-19T21:01:23.684+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class:  tech.muiru.AuctionEcomm.product.io.entity.ProductCategoryDef
2025-01-19T21:01:23.685+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.product.io.entity.ProductGroupDef
2025-01-19T21:01:23.685+03:00 DEBUG 503360 --- [AuctionEcomm] [           main] o.h.b.i.InFlightMetadataCollectorImpl    : Resolving reference to class: tech.muiru.AuctionEcomm.order.io.entity.OrderDef
2025-01-19T21:01:51.381+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Before cleanup stats (total=6, active=0, idle=6, waiting=0)
2025-01-19T21:01:51.382+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - After cleanup  stats (total=6, active=0, idle=6, waiting=0)
2025-01-19T21:01:51.382+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Fill pool skipped, pool has sufficient level or currently being filled (queueDepth=0).
2025-01-19T21:02:21.383+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Before cleanup stats (total=6, active=0, idle=6, waiting=0)
2025-01-19T21:02:21.385+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - After cleanup  stats (total=6, active=0, idle=6, waiting=0)
2025-01-19T21:02:21.385+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Fill pool skipped, pool has sufficient level or currently being filled (queueDepth=0).
2025-01-19T21:02:51.385+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Before cleanup stats (total=6, active=0, idle=6, waiting=0)
2025-01-19T21:02:51.386+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - After cleanup  stats (total=6, active=0, idle=6, waiting=0)
2025-01-19T21:02:51.386+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Fill pool skipped, pool has sufficient level or currently being filled (queueDepth=0).
2025-01-19T21:03:21.386+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Before cleanup stats (total=6, active=0, idle=6, waiting=0)
2025-01-19T21:03:21.387+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - After cleanup  stats (total=6, active=0, idle=6, waiting=0)
2025-01-19T21:03:21.387+03:00 DEBUG 503360 --- [AuctionEcomm] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Fill pool skipped, pool has sufficient level or currently being filled (queueDepth=0).

Ich habe sowohl Spring Data Redis als auch Spring Data JPA konfiguriert und ihre Konfigurationen sind wie folgt

Code: Select all

package tech.muiru.AuctionEcomm.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;

// scan for redis entities only in specified destination
@Configuration
@EnableRedisRepositories(basePackages = "tech.muiru.AuctionEcomm.cache")
public class RedisConfig {
}

package tech.muiru.AuctionEcomm.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@EnableJpaRepositories(basePackages = "tech.muiru.AuctionEcomm",
excludeFilters = @ComponentScan.Filter(
type = FilterType.REGEX,
pattern = "tech.muiru.AuctionEcomm.cache.*"
)
)
@EntityScan(basePackages = "tech.muiru.AuctionEcomm")
public class JPAConfig {
}

Dies ist meine application.properties-Datei

Code: Select all

# application props
spring:
config:
import: file:.env[.properties]
application:
name: AuctionEcomm
security:
oauth2:
resourceserver:
jwt:
issuer-uri: ${KEYCLOAK_ISSUER_URI}
jwk-set-uri:  ${spring.security.oauth2.resourceserver.jwt.issuer-uri}/protocol/openid-connect/certs
datasource:
url: ${DB_URL}
username: ${DB_USER}
password: ${DP_PASSWORD}
jpa:
hibernate:
ddl-auto: update #automatically create, update, or validate the database schema.
properties:
#      hibernate:
dialect: ${DB_DIALECT}
# format sql queries to make them easier to read
format_sql: true
show_sql: true
jdbc: #bulk processing
batch_size: 100
order_inserts: true
generate_statistics: false
data:
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT}
password: ${REDIS_PASSWORD}
mail:
host: ${MAIL_HOST}
port: ${MAIL_PORT}
username: ${MAIL_USERNAME}
password: ${MAIL_PASSWORD}
properties:
mail:
smtp:
auth: true
starttls:
enable: true
thymeleaf:
check-template-location: false

#  profiles:
#    active: dev

server:
port: 8081
servlet:
context-path: /api/v1/mcomm

# keyclock props
keyclock:
entry-point: ${KEYCLOAK_ENTRY_POINT}
realm: ${KEYCLOAK_REALM}
auth-url: ${KEYCLOAK_AUTH_URL}
jwt:
client-id: ${KEYCLOAK_CLIENT_ID}
client-secret: ${KEYCLOAK_CLIENT_SECRET}
principle-attribute: sub
renew-period: 12 # in hrs

# swagger props
#https://www.bezkoder.com/spring-boot-swagger-3/
springdoc:
swagger-ui:
path: /swagger.html
enabled: true
api-docs:
path: /schema
enabled: true

muiru:
file:
upload:
location: ${FILE_UPLOAD_LOCATION}

cors:
allowedOrigins: ${CORS_ORIGINS}

logging:
interceptor:
enabled: false
#  level:
#    org:
#      springframework:
#        web: DEBUG
#        security: DEBUG
#    com:
#      muiru: DEBUG
Überprüfen, ob der Port zugänglich ist:

Code: Select all

psql -h 127.0.0.1 -p 5432 -d muiru-ecomm -U kris                                            kris@muiru-dev
psql (16.3)
Type "help" for help.

muiru-ecomm=#

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post