Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-82

WebServlet.loadOnStartup=0 doesn't startup the servlet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.2.0.GA
    • Web (JBoss Web)
    • Windows 7
      EAP 6.2.0.GA

    • Workaround Exists
    • Hide

      use any value >= 1

      Show
      use any value >= 1
    • Hide

      Create a servlet with the following annotation:
      @WebServlet(name="...", loadOnStartup=0, urlPatterns="/...")

      Show
      Create a servlet with the following annotation: @WebServlet(name="...", loadOnStartup=0, urlPatterns="/...")

      According to the spec, any value >= 0 should result in the servlet being loaded on startup.

      • 0 doesn't work
      • 1 works

              rmaucher Remy Maucherat
              heinz.huber Heinz Huber (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: