jboss-servlet-api_3.0_spec 1.0.0.Beta1 release missing LocalString.properties
------------------------------------------------------------------------------
Key: JBEE-35
URL:
https://jira.jboss.org/jira/browse/JBEE-35
Project: JBoss JavaEE APIs
Issue Type: Bug
Reporter: Shelly McGowan
Assignee: Shelly McGowan
Fix For: 1.0.0.Beta2
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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira