Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3473

web console config manager plugin no longer works with J9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • webconsole-4.0.0, webconsole-4.2.0
    • webconsole-4.0.0
    • Web Console
    • None

    Description

      When started I've got the following exception:

      Failed to instantiate plugin org.apache.felix.webconsole.internal.compendium.Con
      figManager
      java.lang.NoClassDefFoundError: java.util.regex.Pattern
      at org.apache.felix.webconsole.internal.compendium.ConfigManager.<clinit
      >(ConfigManager.java:98)
      at java.lang.J9VMInternals.initializeImpl(Native Method)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:206)
      at java.lang.Class.newInstanceImpl(Native Method)
      at java.lang.Class.newInstance(Class.java:1275)
      at org.apache.felix.webconsole.internal.servlet.PluginHolder$InternalPlu
      gin.doGetConsolePlugin(PluginHolder.java:748)
      at org.apache.felix.webconsole.internal.servlet.PluginHolder$Plugin.getC
      onsolePlugin(PluginHolder.java:535)
      at org.apache.felix.webconsole.internal.servlet.PluginHolder.getPlugin(P
      luginHolder.java:205)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.initInternal
      Plugins(OsgiManager.java:968)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.updateConfig
      uration(OsgiManager.java:933)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.<init>(OsgiM
      anager.java:318)
      at org.apache.felix.webconsole.internal.OsgiManagerActivator.start(OsgiM
      anagerActivator.java:42)
      at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:431
      6)
      at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java
      :1750)
      at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1648
      )
      at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1521
      )
      at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1356)

      at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1066)

      at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFr
      ameworkPlugable.java:1296)

      We should update the code to use case insensitive substring matching instead of regexp, which is not available on older/embedded java JVMs.

      Attachments

        Activity

          People

            v_valchev Valentin Valchev
            v_valchev Valentin Valchev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: