Hi,

I'm just wondering can it be some class loader/path issue known to the Geronimo 
community ?
May be you can ask the guys there and let us know what might've caused it ? 
Other users seem to have no problems when running it under Tomcat and when 
running it in standalone mode with Jetty. 

Cheers, Sergey


----- Original Message ----- 
From: "Fleming, Timothy" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, April 23, 2008 3:44 PM
Subject: JAXRSInInterceptor MissingResourceException


I'm attempting to deploy a simple JAX-RS servlet service under
Geronimo/Jetty using Spring for initialization.  During startup I get:

java.lang.ExceptionInInitializerError
at
org.apache.cxf.jaxrs.JAXRSBindingFactory.createBinding(JAXRSBindingFacto
ry.java:43)
at
org.apache.cxf.endpoint.EndpointImpl.createBinding(EndpointImpl.java:130
)
at
org.apache.cxf.endpoint.EndpointImpl.<init>(EndpointImpl.java:81)
at
org.apache.cxf.jaxrs.JAXRSServerFactoryBean.createEndpoint(JAXRSServerFa
ctoryBean.java:134)
at
org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBea
n.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.util.MissingResourceException: Can't find bundle for
base name org.apache.cxf.jaxrs.interceptor.Messages, locale en_US
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.ja
va:836)
at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
at
org.apache.cxf.common.i18n.BundleUtils.getBundle(BundleUtils.java:75)
at
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.<clinit>(JAXRSInInte
rceptor.java:49)

The exception itself is pretty simple.  The JAXRSInInterceptor class has
a static initializer that loads a resource bundle.  For some reason the
load fails.  

I'm using 2.1 snapshot and have confirmed the
org.apache.cxf.jaxrs.interceptor.Messages.properties file is present in
the deployed jar.  Any ideas what could be causing this?  Thanks

--
Tim Fleming
FINRA
Sr Developer




This email, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed.  If the reader of this email is not the 
intended recipient or his or her authorized agent, the reader is 
hereby notified that any dissemination, distribution or copying of this 
email is prohibited. If you have received this email in error, 
please notify the sender by replying to this message and delete this 
email immediately.

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Reply via email to