Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-254

Resource bundle not found for non-english locales

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0beta
    • 3.0
    • core
    • None

    Description

      The messages_en.properties should be renamed to messages.properties so it becomes the base resource bundle.

      Initial configuration failed:java.util.MissingResourceException: Can't find bund
      le for base name messages, locale zh_CN
      2009-6-29 15:24:34 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
      info : Application has thrown exception, unwinding now org.apache.cxf.interceptor.
      Fault at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractIn
      voker.java:119)
      at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJ
      AXWSMethodInvoker.java:83)
      at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
      .java:107)
      at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.jav
      a:54)
      at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
      .java:68)
      at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInv
      okerInterceptor.java:56)
      at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecu
      tor.java:37)
      at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Se
      rviceInvokerInterceptor.java:92)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
      orChain.java:220)
      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainIniti
      ationObserver.java:78)
      at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDes
      tination.java:92)
      at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
      ServletController.java:285)
      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCont
      roller.java:168)
      at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCX
      FServlet.java:175)
      at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCX
      FServlet.java:153)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:210)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:117)
      at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
      va:393)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :870)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
      lowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:685)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ExceptionInInitializerError
      at org.apache.juddi.config.ResourceConfig.<clinit>(ResourceConfig.java:3
      7)
      at org.apache.juddi.error.ErrorMessage.<init>(ErrorMessage.java:34)
      at org.apache.juddi.auth.JUDDIAuthenticator.authenticate(JUDDIAuthentica
      tor.java:50)
      at org.apache.juddi.api.impl.UDDISecurityImpl.getAuthToken(UDDISecurityI
      mpl.java:82)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abst
      ractInvoker.java:136)
      at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
      .java:82)
      ... 29 more
      Caused by: java.util.MissingResourceException: Can't find bundle for base name m
      essages, locale zh_CN
      at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
      .java:837)
      at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
      at java.util.ResourceBundle.getBundle(ResourceBundle.java:577)
      at org.apache.juddi.config.ResourceConfig.<clinit>(ResourceConfig.java:3
      3)
      ... 38 more

      Attachments

        Activity

          People

            kstam Kurt Stam
            kurtstam Kurt T Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: