Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11643

Fix configuration after adding quartz-cluster template

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF19, 5.7.1
    • Component/s: Configuration

      Description

      Adding ***-quartz-cluster template removes the following line from conf/Catalina/localhost/nuxeo.xml whereas it should not.

      <Listener className="org.nuxeo.runtime.tomcat.ContextSecurityGrabber" />

      It raises errors when loading jdbc/activites

      ERROR [DataSourceComponent] Cannot bind datasource 'jdbc/nxactivities' in JNDI
      javax.naming.NamingException: Context is read only
      	at org.apache.naming.NamingContext.checkWritable(NamingContext.java:903)
      	at org.apache.naming.NamingContext.bind(NamingContext.java:831)
      	at org.apache.naming.NamingContext.bind(NamingContext.java:171)
      	at org.apache.naming.NamingContext.bind(NamingContext.java:187)
      	at org.nuxeo.runtime.datasource.DataSourceComponent.addDataSource(DataSourceComponent.java:88)
      	at org.nuxeo.runtime.datasource.DataSourceComponent.registerContribution(DataSourceComponent.java:50)
      	at org.nuxeo.runtime.model.DefaultComponent.registerExtension(DefaultComponent.java:47)
      	at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.registerExtension(ComponentInstanceImpl.java:204)
      	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:389)
      	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.resolve(RegistrationInfoImpl.java:450)
      	at org.nuxeo.runtime.model.impl.ComponentRegistry.resolveComponent(ComponentRegistry.java:184)
      	at org.nuxeo.runtime.model.impl.ComponentRegistry.addComponent(ComponentRegistry.java:130)
      	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.register(ComponentManagerImpl.java:168)
      	at org.nuxeo.runtime.model.impl.DefaultRuntimeContext.deploy(DefaultRuntimeContext.java:119)
      	at org.nuxeo.runtime.model.impl.DefaultRuntimeContext.deploy(DefaultRuntimeContext.java:94)
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.loadComponents(OSGiRuntimeService.java:219)
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.createContext(OSGiRuntimeService.java:169)
      	at org.nuxeo.runtime.osgi.OSGiComponentLoader.bundleChanged(OSGiComponentLoader.java:103)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: