I viaggiatori Della Sera (1979)
6 months ago
org.quartz.jobStore.acquireTriggersWithinLock=true
27-dic-2017 12h04=""[See nested exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: restricción única (USERS.QRTZ_TRIGGERS_PK) violada
].
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't store trigger 'DEFAULT.cronTriggerUserNotificacion' for 'DEFAULT.complexJobDetailUserNotificacion' job:ORA-00001: restricción única (USERS.QRTZ_TRIGGERS_PK) violada
[See nested exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: restricción única (USERS.QRTZ_TRIGGERS_PK) violada
]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
Truncated. see log file for complete stacktrace
Conflicting collector combinations in option list; please refer to the release notes for the combinations allowed
-XX:+UseParallelGC
# -XX:+UseG1GC
@Scope(scopeName = BeanDefinition.SCOPE_PROTOTYPE, proxyMode = ScopedProxyMode.TARGET_CLASS)
To obtain the correct number for a connection Datasource pool, first, we may need to understand queue theory and have good observability of the data source itself and from there take decisions.
Said that I'd like to review once again the Little's law (from Queuing Theory)
L – average number of customers
λ – long-term average arrival rate
W – average time a request spends in a system
L : Número promedio de clientes en un sistema
λ : Número promedio de clientes que llegan al sistema por unidad de tiempo
W : Tiempo promedio de espera en un sistema
if (logger.isDebugEnabled()) {
logger.debug("Entry number: " + i + " is " + entry[i].toString());
}
The best solution is placeholders and if{}
if (logger.isDebugEnabled()) { logger.debug("Entry number: {} is {}", i, entry[i]); } lambda java8: logger.trace("Some long-running operation returned {}", () -> expensiveOperation());