Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2414

Oozie fails to start when db password contains { or }

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • core
    • None

    Description

      Starting oozie fails when the oozie.service.JPAService.jdbc.password contains a

      { or }

      Here is the stacktrace:

      org.apache.oozie.service.ServiceException: E0103: Could not load service classes, Unmatched braces in the pattern.
      at org.apache.oozie.service.Services.loadServices(Services.java:309)
      at org.apache.oozie.service.Services.init(Services.java:213)
      at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:46)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:944)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:779)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:505)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      Caused by: java.lang.IllegalArgumentException: Unmatched braces in the pattern.
      at java.text.MessageFormat.applyPattern(MessageFormat.java:508)
      at java.text.MessageFormat.<init>(MessageFormat.java:363)
      at java.text.MessageFormat.format(MessageFormat.java:835)
      at org.apache.oozie.service.JPAService.init(JPAService.java:187)
      at org.apache.oozie.service.Services.setServiceInternal(Services.java:386)
      at org.apache.oozie.service.Services.setService(Services.java:372)
      at org.apache.oozie.service.Services.loadServices(Services.java:305)
      ... 26 more

      Attachments

        Issue Links

          Activity

            People

              dionusos Dénes Bodó
              anandnalya Anand Nalya
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: