Skip to content

TOMEE-4580 - Improve conf.0008 log message by listing deployed and declared EJB names#2470

Open
RedN4ks wants to merge 1 commit intoapache:mainfrom
RedN4ks:ejb-builder-logs
Open

TOMEE-4580 - Improve conf.0008 log message by listing deployed and declared EJB names#2470
RedN4ks wants to merge 1 commit intoapache:mainfrom
RedN4ks:ejb-builder-logs

Conversation

@RedN4ks
Copy link

@RedN4ks RedN4ks commented Feb 11, 2026

Improve the conf.0008 error message raised during EJB deployment when the number of deployed beans does not match the number declared in ejb-jar.xml.

Only the bean counts were logged, which make it difficult to quickly identify which specific beans are missing or extra.

My proposal is to update the message to the following:
Cannot Load jar {0}. The number of beans deployed ({2}) does not match the number of beans actually in the jar ({1}). Deployed beans: {3}. Beans in ejb-jar.xml: {4}. Please redeploy this jar.

@RedN4ks
Copy link
Author

RedN4ks commented Feb 12, 2026

Hello @jungm, I would like that we also benefit from this in the next TomEE 10 release, should I open a second pull request to the tomee-10.x branch?

@jungm
Copy link
Member

jungm commented Feb 12, 2026

@RedN4ks I'd have cherry picked this anyways once merged but you can of course also open a second PR 🙂

@RedN4ks
Copy link
Author

RedN4ks commented Feb 12, 2026

@jungm Thank you so no need to open a second PR 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants