-
Bug
-
Resolution: Done
-
Major
-
Java EE APIs Aggregator 1.0.0.Beta1
-
None
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>
- blocks
-
JBAS-7558 Upgrade JBoss JavaEE APIs to 1.0.0.Beta1
- Closed