Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2193

JNDI Service/Feature Does Not Recognize Commands and Breaks Fuse Container

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.1
    • Fix Version/s: jboss-fuse-6.2
    • Component/s: Karaf
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Install the JNDI feature; then you'll note that the corresponding jndi commands are not accepted.

      JBossFuse:karaf@root> features:list | grep jndi
      [installed  ] [1.0.0                  ] jndi                                    karaf-enterprise-2.3.0.redhat-610379 OSGi Service Registry JNDI access
      JBossFuse:karaf@root> jndi:names
      Command not found: jndi:names
      JBossFuse:karaf@root> jndi:contexts
      Command not found: jndi:contexts
      JBossFuse:karaf@root> 
      

      Then attempt to uninstall the feature and the container goes out to lunch. If you cntrl-c the process and restart it, the following exception is thrown.

      Please wait while JBoss Fuse is loading...
        4% [==>                                                                     ]ERROR: Bundle org.apache.aries.proxy.api [8] Error starting mvn:org.apache.aries.proxy/org.apache.aries.proxy.api/1.0.1.redhat-610379 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.aries.proxy.api [8]: Unable to resolve 8.0: missing requirement [8.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0))))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.aries.proxy.api [8]: Unable to resolve 8.0: missing requirement [8.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0)))
       at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
       at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
       at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
       at java.lang.Thread.run(Thread.java:744)
      

      You need to clear out the data dir to get it back to normal.

      Show
      Install the JNDI feature; then you'll note that the corresponding jndi commands are not accepted. JBossFuse:karaf@root> features:list | grep jndi [installed ] [1.0.0 ] jndi karaf-enterprise-2.3.0.redhat-610379 OSGi Service Registry JNDI access JBossFuse:karaf@root> jndi:names Command not found: jndi:names JBossFuse:karaf@root> jndi:contexts Command not found: jndi:contexts JBossFuse:karaf@root> Then attempt to uninstall the feature and the container goes out to lunch. If you cntrl-c the process and restart it, the following exception is thrown. Please wait while JBoss Fuse is loading... 4% [==> ]ERROR: Bundle org.apache.aries.proxy.api [8] Error starting mvn:org.apache.aries.proxy/org.apache.aries.proxy.api/1.0.1.redhat-610379 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.aries.proxy.api [8]: Unable to resolve 8.0: missing requirement [8.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0)))) org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.aries.proxy.api [8]: Unable to resolve 8.0: missing requirement [8.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0))) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225) at org.apache.felix.framework.Felix.startBundle(Felix.java:2063) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:744) You need to clear out the data dir to get it back to normal.

      Description

      After installing the JNDI feature, the corresponding JNDI commands are not being recognized. Also, uninstalling the feature breaks the container.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                janstey Jonathan Anstey
                Reporter:
                joef551 Joe Fernandez
                Tester:
                Tomas Rohovsky
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: