I raised WOOKIE-420 because I was having ResourceBundle exceptions on a
Windows, Java 7, JBoss 7.2.0.Final combination. (Briefly, the fix was in
LocaleHandler, to look for org.apache.wookie.Messages with an upper-case M).

I've just had cause to try out this fix on a Linux, WildFly Beta1 (~JBoss
8), Java 7 combination, and found a different exception (below). I can fix
this latest exception by renaming the files "messages.properties" and
"messages_nl.properties" to have an upper-case "M", but after WOOKIE-420, I
can't be sure it doesn't break something else, so I thought I'd check here
first.

Please let me know if I need to raise another Jira.

Thanks.


10:32:37,117 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3)
MSC000001: Failed to start service
jboss.undertow.deployment.default-host./wookie:
org.jboss.msc.service.StartException in service
jboss.undertow.deployment.default-host./wookie: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1900)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_21]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_21]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Caused by: java.lang.RuntimeException: java.util.MissingResourceException:
Can't find bundle for base name org.apache.wookie.Messages, locale en
at
io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:189)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:86)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1944)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1877)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
... 3 more
Caused by: java.util.MissingResourceException: Can't find bundle for base
name org.apache.wookie.Messages, locale en
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
[rt.jar:1.7.0_21]
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
[rt.jar:1.7.0_21]
at java.util.ResourceBundle.getBundle(ResourceBundle.java:796)
[rt.jar:1.7.0_21]
at
org.apache.wookie.server.LocaleHandler.initResourceBundles(LocaleHandler.java:100)
at org.apache.wookie.server.LocaleHandler.initialize(LocaleHandler.java:72)
at
org.apache.wookie.server.ContextListener.contextInitialized(ContextListener.java:113)
at
io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
at
io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:166)
... 7 more
Caused by: java.lang.ClassCastException: org.apache.wookie.Messages cannot
be cast to ResourceBundle
at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2573)
[rt.jar:1.7.0_21]
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1436)
[rt.jar:1.7.0_21]
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1400)
[rt.jar:1.7.0_21]
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1354)
[rt.jar:1.7.0_21]
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1296)
[rt.jar:1.7.0_21]
... 13 more

Reply via email to