0 Replies Latest reply on May 12, 2010 9:14 AM by aheino_atte.heino

    Using OpenESB components in ServiceMix 4.2

    aheino_atte.heino

      Hi,

       

      I'm trying to use Sun's OpenESB  LDAP BC. I did follow Jos Dirksen's instructions, but they are ServiceMix 3 specific. I did get it to work in SMX3, but no luck in SMX4.

       

      I have created a project with "Proto-LDAP-su"-service unit and "Proto-sa"-service assembly.

       

      The su is configured as  osgi:headers 189

       

      Sun LDAP binding (189)

      -


      Archiver-Version = Plexus Archiver

      Bnd-LastModified = 1265197498008

      Build-Jdk = 1.5.0_16

      Built-By = abuilds

      Bundle-ClassPath = lib/ldapbcimpl.jar,lib/wsdl4j.jar,lib/qos.jar,lib/resolver.jar,lib/common-util.ja

      r,lib/componentsl.jar,lib/xsdmodel.jar,lib/net.sf.hulp.meas.itf.jar,lib/net.sf.hulp.meas.impl.jar

      Bundle-Description = LDAP binding

      Bundle-ManifestVersion = 2

      Bundle-Name = Sun LDAP binding

      Bundle-SymbolicName = sun-ldap-binding

      Bundle-Version = 2.7.0

      Component-Name = sun-ldap-binding

      Created-By = 1.5.0_16 (Sun Microsystems Inc.)

      Ignore-Package = org.apache.xerces.impl.xpath.regex

      Import-Package = com.sun.org.apache.xml.internal.serialize,com.sun.wsdl4j.ext,javax.jbi,javax.jbi.co

      mponent,javax.jbi.management,javax.jbi.messaging,javax.jbi.servicedesc,javax.management,javax.manage

      ment.openmbean,javax.naming,javax.naming.directory,javax.naming.ldap,javax.net.ssl,javax.security.au

      th,javax.servlet,javax.servlet.http,javax.swing.event,javax.transaction,javax.xml.namespace,javax.xm

      l.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.st

      ream,javax.xml.validation,javax.xml.xpath,org.w3c.dom,org.xml.sax,org.xml.sax.helpers

      Manifest-Version = 1.0

      ojc-artifact-url = http://download.java.net/maven/esb/open-jbi-components/ldapbc-installer/2.7-SNAPS

      HOT/ldapbc-installer-2.7-SNAPSHOT.jar

      ojc-artifact-version = 2.7-SNAPSHOT

      ojc-build-number = 100203

      ojc-cvs-branch = main

      ojc-cvs-timestamp = 2010.02.03.11.18.44

      ojc-cvsroot = :pserver:guest@cvs.dev.java.net:/cvs

      ojc-release-version = 2.7.0

      ojc-scm-type = cvs

      Tool = Bnd-0.0.227

      karaf@root>

       

       

      I'm pretty lost now. What to try? I have installed the LDAP BC using the following commands. I bundled the shared libraries using the bnd wrap tool.

       

      osgi:install -s file:/E:/devel/src/AD-Integration-Proto/lib/shared/encoderlib.jar

      osgi:install -s file:/E:/devel/src/AD-Integration-Proto/lib/shared/wsdlextlib.jar

      osgi:install -s file:/E:/devel/src/AD-Integration-Proto/lib/shared/jaxb-xercesImpl-1.5.jar

      osgi:install -s file:/E:/devel/src/AD-Integration-Proto/lib/ldapbc.jar

       

      These go thru without any errors.

       

      -Atte