Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-35

jboss-servlet-api_3.0_spec 1.0.0.Beta1 release missing LocalString.properties

    XMLWordPrintable

Details

    Description

      Testing the newly released APIs integrated into JBoss AS, the build was successful but the server failed to start due to:

      21:56:30,025 INFO [TomcatDeployment] deploy, ctxPath=/invoker
      21:56:30,576 INFO [[/invoker]] Marking servlet JMXInvokerServlet as unavailable
      21:56:30,577 ERROR [[/invoker]] Servlet /invoker threw load() exception: java.util.MissingResourceException: Can't find bundle for base name javax.servlet.LocalStrings, locale en_US
      at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
      at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
      at java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
      at javax.servlet.GenericServlet.<clinit>(GenericServlet.java:93)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:278)

      The 1.0.0.Beta1 release does not contain the LocalStrings.properties files:
      javax/servlet/LocalStrings.properties
      javax/servlet/http/LocalStrings.properties

      To ensure these are added to the target jar, I have to add the following to the pom:
      + <build>
      + <resources>
      + <resource>
      + <directory>src/main/java</directory>
      + </resource>
      + </resources>
      + </build>

      Attachments

        Issue Links

          Activity

            People

              smcgowan@redhat.com Shelly McGowan (Inactive)
              smcgowan@redhat.com Shelly McGowan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: