There is an debug port provided when 3DSpace tomee begins for every start. It will display all the current connection and related information used by this tomee. This will be very useful for performance issue investigations.
The below steps shows how to get this information.
First go to 3dspace/logs if you are using R2019x or below. Go to 3dspace/logsCAS is you are on R2020x or above.