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

Remote BPMS API using JMS does not work in Karaf

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • jboss-fuse-6.2.1
    • Integration Pack
    • None
    • % %
    • Hide

      Start Fuse with Integration pack.

      git clone -c http.sslverify=false https://gitlab.mw.lab.eng.bos.redhat.com/jbossqe-soa/jbossqe-fsw-it.git
      cd jbossqe-fsw-it
      git checkout JBQA-9702_create-remote-bpms-api-test
      mvn clean install -Pjboss-fuse,bxms -Ddisable.groovy.compiler=true -pl :bpms-remote-api-test -am
      
      Show
      Start Fuse with Integration pack. git clone -c http.sslverify= false https: //gitlab.mw.lab.eng.bos.redhat.com/jbossqe-soa/jbossqe-fsw-it.git cd jbossqe-fsw-it git checkout JBQA-9702_create-remote-bpms-api-test mvn clean install -Pjboss-fuse,bxms -Ddisable.groovy.compiler= true -pl :bpms-remote-api-test -am

      Fuse does not contain class org.jboss.naming.remote.client.InitialContextFactory. I am getting the following exception:

          Caused by: javax.naming.NoInitialContextException: Unable to find the InitialContextFactory org.jboss.naming.remote.client.InitialContextFactory.
                  at org.apache.aries.jndi.ContextHelper.getInitialContext(ContextHelper.java:150)[392:org.apache.aries.jndi.core:1.0.2]
                  at org.apache.aries.jndi.OSGiInitialContextFactoryBuilder.getInitialContext(OSGiInitialContextFactoryBuilder.java:51)[392:org.apache.aries.jndi.core:1.0.2]
                  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)[:1.8.0_66]
                  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)[:1.8.0_66]
                  at javax.naming.InitialContext.init(InitialContext.java:244)[:1.8.0_66]
                  at javax.naming.InitialContext.<init>(InitialContext.java:216)[:1.8.0_66]
                  at org.switchyard.component.common.knowledge.config.builder.RemoteConfigurationBuilder.configRemoteJms(RemoteConfigurationBuilder.java:111)[455:org.jboss.integration.fuse.switchyard-component-common-knowledge:1.2.0.redhat-005]
                  ... 24 more
      

      Missing InitialContextFactory implementation is required here:
      https://github.com/jboss-integration/fuse-bxms-integ/blob/fuse-bxms-integ-1.2.0.redhat-005/switchyard/switchyard-component-common-knowledge/src/main/java/org/switchyard/component/common/knowledge/config/builder/RemoteConfigurationBuilder.java#L96

      Fuse on EAP contains this class in jboss-remote-naming-1.0.10.Final-redhat-1.jar.

              virchete_jira David virgil naranjo (Inactive)
              mbasovni Martin Basovnik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: