[ 
https://issues.apache.org/jira/browse/TOMEE-4580?focusedWorklogId=1004576&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1004576
 ]

ASF GitHub Bot logged work on TOMEE-4580:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Feb/26 12:58
            Start Date: 11/Feb/26 12:58
    Worklog Time Spent: 10m 
      Work Description: RedN4ks opened a new pull request, #2470:
URL: https://github.com/apache/tomee/pull/2470

   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.
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1004576)
    Remaining Estimate: 0h
            Time Spent: 10m

> Improve clarity of conf.0008 deployment mismatch error
> ------------------------------------------------------
>
>                 Key: TOMEE-4580
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4580
>             Project: TomEE
>          Issue Type: Improvement
>    Affects Versions: 10.1.4
>            Reporter: Skander
>            Priority: Minor
>             Fix For: 10.1.5
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The conf.0008 message only reports the number of deployed beans
> versus the number declared in ejb-jar.xml, without indicating which beans
> were involved. The current message is the following:
> {code:java}
> Cannot Load jar {0}. The number of beans deployed ({2}) does not match the 
> number of beans actually in the jar ({1}). Please redeploy this jar.{code}
> I propose to enhance the log message by explicitly listing:
> - The deployed bean names
> - The bean names declared in ejb-jar.xml
> This provides better diagnosability when investigating bean count mismatches
> and reduces troubleshooting time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to