Created attachment 981738 [details] Sample application Description of problem: According to the spec, any value >= 0 should result in the servlet being loaded on startup. * 0 doesn't work * 1 works Version-Release number of selected component (if applicable): 6.2.0-Final Steps to Reproduce: 1. Create a servlet with the following annotation: @WebServlet(name="...", loadOnStartup=0, urlPatterns="/...") 2. Start application Actual results: Servlet is not loaded on startup. Expected results: Servlet should be loaded on startup. Workaround: Use any value >= 1. Additional info: Our reference: JRAPSOA-331 Attached a small sample app showing the problem. It prints "====> Initialized Servlet0: false" on startup. This should be the following two lines: ====> Initializing Servlet0 ====> Initialized Servlet0: true
Heinz Huber <heinz.huber> updated the status of jira JBEAP-82 to Closed
Tomas Hofman <thofman> updated the status of jira WFLY-5070 to Coding In Progress
Upstream PR: https://github.com/wildfly/wildfly/pull/7913 Not merging to EAP since there is no customer case.