Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-141

LDAP Conf parameters : Application cannot start if filter is incorrect

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0 M4
    • 1.0.2, 1.1.0, 2.0.0 M3
    • Plugin core
    • None

      If you set a bed filter such as forgetting the parenthesis : the application won't start anymore (even when restarting)

      The only way is to edit the config.xml manually

          [RUNTIME-141] LDAP Conf parameters : Application cannot start if filter is incorrect

          Raphaël Franchet made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Cédric Damioli made changes -
          Fix Version/s New: 2.0.0 M4 [ 10150 ]
          Fix Version/s Original: 2.0.0 [ 10144 ]
          Cédric Damioli made changes -
          Workflow Original: jira [ 11102 ] New: Ametys [ 12691 ]
          Raphaël Franchet made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          regexp added

          Raphaël Franchet added a comment - regexp added
          Raphaël Franchet made changes -
          Link New: This issue Est bloqué par RUNTIME-360 [ RUNTIME-360 ]
          Raphaël Franchet made changes -
          Component/s New: Plugin core [ 10036 ]
          Description Original: Lorsqu'on enleve met un faux filtre ldap comme ne pas mettre les parentheses
          cela genere un plantage de tomcat.
          On redémarre et ça marche.
          New: If you set a bed filter such as forgetting the parenthesis : the application won't start anymore (even when restarting)

          The only way is to edit the config.xml manually
          Summary Original: Paramètre de configuration du LDAP fait gauffrer l'appli si incorrect New: LDAP Conf parameters : Application cannot start if filter is incorrect
          Affects Version/s New: 2.0.0 M3 [ 10072 ]

          Caused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.runtime.user.UsersManager
          	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:200)
          	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
          	at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:58)
          	... 24 more
          Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Invalid filter 'objectclass=person', missing parenthesis @resource://org/ametys/runtime/plugins/core/plugin.xml:1147:86
          	at org.ametys.runtime.plugins.core.util.ldap.AbstractLDAPConnector._getFilter(AbstractLDAPConnector.java:61)
          	at org.ametys.runtime.plugins.core.user.ldap.LdapUsersManager.configure(LdapUsersManager.java:70)
          	at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
          	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:379)
          	at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:107)
          	at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:89)
          	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:195)
          	... 26 more
          

          Raphaël Franchet added a comment - Caused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.runtime.user.UsersManager at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:200) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244) at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:58) ... 24 more Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Invalid filter 'objectclass=person' , missing parenthesis @resource: //org/ametys/runtime/plugins/core/plugin.xml:1147:86 at org.ametys.runtime.plugins.core.util.ldap.AbstractLDAPConnector._getFilter(AbstractLDAPConnector.java:61) at org.ametys.runtime.plugins.core.user.ldap.LdapUsersManager.configure(LdapUsersManager.java:70) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:379) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:107) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:89) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:195) ... 26 more
          Raphaël Franchet made changes -
          Assignee New: Raphaël Franchet [ raphael ]
          Cédric Damioli made changes -
          Fix Version/s New: 2.0.0 [ 10144 ]
          Fix Version/s Original: 2.0.0 M3 [ 10072 ]

            raphael Raphaël Franchet
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: