We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a message in the server.log when MaxPoolSize and CorePoolSize is set valid value.
[2019-10-24T15:13:35.422+0900] [glassfish 5.1] [FINE] [] [javax.enterprise.system.container.ejb.com.sun.ejb.containers] [tid: _ThreadID=46 _ThreadName=admin-listener(1)] [timeMillis: 1571897615422] [levelValue: 500] [CLASSNAME: com.sun.ejb.containers.EjbContainerUtilImpl] [METHODNAME: createThreadPoolExecutor] [[ Created EjbThreadPoolExecutor with thread-core-pool-size 16 thread-max-pool-size 16 thread-keep-alive-seconds 60 thread-queue-capacity 2147483647 allow-core-thread-timeout false ]]
But there are no message as described above in the server.log when MaxPoolSize < CorePoolSize is set. Base on the source code, no message means that the EJBThreadPoolExecutor is not created. https://github.com/eclipse-ee4j/glassfish/blob/master/appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtilImpl.java#L437-L481
asadmin start-domain
asadmin set-log-levels javax.enterprise.system.container.ejb=FINE
asadmin create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleConnectionPoolDataSource test
asadmin create-jdbc-resource --connectionpoolid test testResource
EJB Container
Add Property
asadmin restart-domain
If it is occured, user can't use the EJBThreadPoolExecutor and lead to unexpected bugs.
The text was updated successfully, but these errors were encountered:
Fix eclipse-ee4j#23706 Add validation about CorePoolSize, MaxPoolSize…
ce831b4
… and KeepAliveSeconds. Signed-off-by: kaido207 <kaido.hiroki@fujitsu.com>
Merge pull request #23707 from kaido207/23706
87c823f
Fix #23706 Add validation about CorePoolSize, MaxPoolSize and KeepAliveSeconds.
Successfully merging a pull request may close this issue.
Environment Details
Problem Description
There is a message in the server.log when MaxPoolSize and CorePoolSize is set valid value.
But there are no message as described above in the server.log when MaxPoolSize < CorePoolSize is set.
Base on the source code, no message means that the EJBThreadPoolExecutor is not created.
https://github.com/eclipse-ee4j/glassfish/blob/master/appserver/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EjbContainerUtilImpl.java#L437-L481
Steps to reproduce
asadmin start-domain
asadmin set-log-levels javax.enterprise.system.container.ejb=FINE
asadmin create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleConnectionPoolDataSource test
asadmin create-jdbc-resource --connectionpoolid test testResource
EJB Container
.Add Property
twice and set the below.asadmin restart-domain
Impact of Issue
If it is occured, user can't use the EJBThreadPoolExecutor and lead to unexpected bugs.
The text was updated successfully, but these errors were encountered: