singhpk234 opened a new pull request, #1707:
URL: https://github.com/apache/polaris/pull/1707

   ### About the change 
   
   Eclipse-link should only run when the configured persistence type is 
eclipse-link but it turns out it doesn't and it creates a noise and confusion 
like https://github.com/apache/polaris/issues/1684
   
   Before the change 
   
   ```
   ➜  ~ docker logs jdbc-polaris-1 | grep "eclip"
   INFO exec -a "java" java 
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 
-XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 
-XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 
-XX:+ExitOnOutOfMemoryError -cp "." -jar /deployments/quarkus-run.jar
   INFO running in /deployments
   2025-05-27 17:09:25,492 WARN  
[org.apa.pol.ser.qua.con.ProductionReadinessChecks] [,] [,,,] (main) - 
:warning: The current persistence unit (jdbc:h2) is intended for tests only. 
Offending configuration option: 
'polaris.persistence.eclipselink.configuration-file'.
   ```
   
   After the change
   
   ```
   ➜  ~ docker logs jdbc-polaris-1 | grep "eclip"
   INFO exec -a "java" java 
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 
-XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 
-XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 
-XX:+ExitOnOutOfMemoryError -cp "." -jar /deployments/quarkus-run.jar
   INFO running in /deployments
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to