Home

Results 1 to 6 of 6

Thread: Blackboard Driver - JAVA Class not found

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Location
    Bloemfontein, South Africa
    Posts
    13

    Blackboard Driver - JAVA Class not found


    Has anybody used the Blackboard driver yet?

    I am trying to get it working and the basic tester is not working,
    following the installation document.

    Section 2.4.6 of the bi_impl_bb.pdf document tests connectivity to the
    Blackboard system, however running these scripts I receive the
    following:

    C:\Novell\RemoteLoader>bbtestcon.bat
    "Blackboard Driver Installation Tester"

    "Using java: RDXML_JRE\bin\java"
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode)

    "Starting test.."
    Exception in thread "main" java.lang.NoClassDefFoundError:
    com/Omnibond/nds/dirx
    ml/driver/Blackboard/Tester
    Caused by: java.lang.ClassNotFoundException:
    com.Omnibond.nds.dirxml.driver.Blac
    kboard.Tester
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at
    sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
    Could not find the main class:
    com.Omnibond.nds.dirxml.driver.Blackboard.Tester.
    Program will exit.
    C:\Novell\RemoteLoader>

    This is the case with the 64 and 32 bit remote loaders, I did copy the
    blackboard.jar file to the required locations, etc. I cannot open the
    blackboard.jar file with the JRE nor a zip utility like 7zip or WinRAR.

    In addition, when configuring the Remote Loader the document state:
    "For the Driver field, enter:
    com.Omnibond.nds.dirxml.driver.Blackboard.Blackboa rdDriverShim"

    That is difficult as it is a drop down box where you can only select a
    driver and the Blackboard driver is not listed.

    Any help?


    --
    NickyVermaak
    ------------------------------------------------------------------------
    NickyVermaak's Profile: http://forums.novell.com/member.php?userid=7462
    View this thread: http://forums.novell.com/showthread.php?t=450543


  2. #2
    ab NNTP User

    Re: Blackboard Driver - JAVA Class not found

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I'm surprised you cannot open this with a regular zip utility. On my
    SLES system 'unzip' handled it properly as shown below:

    Archive: /opt/novell/eDirectory/lib/dirxml/classes/Blackboard.jar


    testing: META-INF/MANIFEST.MF OK


    testing:
    com/Omnibond/nds/dirxml/driver/Blackboard/extensions/EnrollmentExt.class
    OK

    testing: com/Omnibond/nds/dirxml/driver/Blackboard/ActionType.class
    OK

    testing: com/Omnibond/nds/dirxml/driver/Blackboard/AttrInfo.class OK


    testing: com/Omnibond/nds/dirxml/driver/Blackboard/CommandType.class
    OK

    testing:
    com/Omnibond/nds/dirxml/driver/Blackboard/SchemaComponents.class OK


    testing:
    com/Omnibond/nds/dirxml/driver/Blackboard/BlackboardDriverShim.class
    OK

    testing: com/Omnibond/nds/dirxml/driver/Blackboard/CommonImpl.class OK
    testing:
    com/Omnibond/nds/dirxml/driver/Blackboard/BlackboardPublicationShim.class
    OK
    testing: com/Omnibond/nds/dirxml/driver/Blackboard/Exporter.class OK
    testing:
    com/Omnibond/nds/dirxml/driver/Blackboard/BlackboardSubscriptionShim.class
    OK
    testing: com/Omnibond/nds/dirxml/driver/Blackboard/BBApp.class OK
    testing: com/Omnibond/nds/dirxml/driver/Blackboard/Tester.class OK
    testing: com/Omnibond/nds/dirxml/driver/Blackboard/Errors.class OK
    testing: com/Omnibond/util/BuildDriverFilter.class OK
    testing: com/Omnibond/util/BuildSchema.class OK
    testing: com/Omnibond/util/BuildLDIF.class OK
    testing: com/Omnibond/util/Trace.class OK
    testing: com/Omnibond/util/Splitter.class OK
    testing: com/Omnibond/util/AggregatedBBException.class OK
    testing: com/Omnibond/nds/dirxml/util/BBclassDef.class OK
    testing: com/Omnibond/nds/dirxml/util/BBattrDef.class OK
    testing: com/Omnibond/nds/dirxml/util/BBschemaDef.class OK
    testing: com/Omnibond/nds/dirxml/util/AttrAssociatedObject.class OK
    No errors detected in compressed data of
    /opt/novell/eDirectory/lib/dirxml/classes/Blackboard.jar.

    This also shows the full class which you appear to have setup correctly.
    My setup is IDM 4.0 SP1 without any other patches (at least for the
    shim). I have not tried starting anything yet but I suspect this should
    work barring an omission of any other dependencies in the form of JARs
    from Blackboard (were those copied over as well)?

    In my notes I also have the following (copied verbatim) as gotchas for
    when you are stuck running on windows:

    <quote>
    Gotchas specific to bad platform choices:
    Files copied from /blackboard/apps/tomcat/lib to /novell/remoteloader/lib
    Also copy /blackboard/apps/tomcat/lib/xercesImpl.jar to
    /novell/remoteloader/jre/lib

    /Additional_Drivers/Blackboard/ has schema files as well.

    To configure the Remote Loader instance, configure normally choosing the
    Blackboard.jar (optional) and then manually set things properly:
    regedit: HKLM/Software/Novell/RLConsole/<config> key
    Change 'Driver' value from JAR file path to class of
    com.Omnibond.nds.dirxml.drivers.Blackboard.Blackbo ardDriverShim
    Modify RL config text file manually as well.
    </quote>

    Without knowing any better I'd guess that your Blackboard.jar could be
    corrupt; the MD5 checksum for mine (just installed so hopefully okay)
    follows: e7f1285e32958a9f1ba8b304c0511ba2

    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJPDXfOAAoJEF+XTK08PnB5TwYP/3DfskDsk+Wp4fCt/f2R1foJ
    +9SLjJTCoRM1G5dsWlhZKcQq692KiOCoRPY3fsJ1rxz/LPwvkoehAEFrf2cZ8bEu
    SxLk+LxaLCebwZD/3niIz0jInLk20YxCo+dZ92grRXUQ5sqV10RAR9pl4l4hCW3A
    Q7Q/+2GarHOhfpj7QNl8GZF5VdHgxV6EYSajYG0PgEGT8yEJg0Ow1y iXxu2g7SmI
    Ma3A9f/7trzBxVO4hfJSGiJd3qnDa2bZ+RQyIZeK5WkAzvi3Ri3+xWL9/Jm+uNvL
    ZW4LdfGdJmklonLbIPeDJRhOFEqxq8vPNgDUBs9M6s4LzEVDdP ock1kMFAbQvW5P
    vVsHrdqmY8Ynd5MVwxnaLERsPQSxvoZSL3YDISxsK2eGAX9RQs rZOUZWXcWzjM2q
    F27SONuyiyQ/RH1dg3uE+AXX4rHrYuFjyBlsJRmgBHl3KyH3yBxM59ieSECE0X qa
    rMEUDVrubXMVtMRM8uhI+6VMqEzxM2vC4e3hWQLc0MygW3awBr oefUXFqSd9gGm2
    nPr7xHYgqQxv9uNcWarvWWVX2hABZ5d0gv4POf7LaQAJw/ilO9lBz5x/kYTRQ2bT
    +vLUwRJ/Z0we7B7EfSapG5Lus8ic5oTlVQJVzhplPK0NQD6N7PzPVh3x5n 0pn6Y8
    IW/449n7vuS4M6ISJCsB
    =v3tE
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Feb 2008
    Location
    Bloemfontein, South Africa
    Posts
    13

    Re: Blackboard Driver - JAVA Class not found


    Thanks for the prompt and thorough response. The Blackboard.jar file on
    the Identity_Manager_4.0.1_Windows_Advanced.iso is corrupt.


    --
    NickyVermaak
    ------------------------------------------------------------------------
    NickyVermaak's Profile: http://forums.novell.com/member.php?userid=7462
    View this thread: http://forums.novell.com/showthread.php?t=450543


  4. #4
    ab NNTP User

    Re: Blackboard Driver - JAVA Class not found

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Well..... no, but it is obfuscated. As a result it doesn't work
    properly in that drop-down because the RL doesn't know how to find the
    class in there. It should work when running, but perhaps the test
    utility is also broken. Anyway, strange. I can't explain why the test
    utility would not now how to use the JAR and I'm sure I've seen it used,
    but that was likely on Linux so go figure. I'll let the developers know
    so they can decide what they want to do. Thank-you for the feedback.

    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJPDdgvAAoJEF+XTK08PnB5jkAQAJjWT9OSnj qHAs7z0+MMI5bF
    cDmaWkXqdru4rv+OXMRxxzRD64azGBzU8kmFtriZoIKOoLf40O oB6Ocjkc+DTN1N
    0mkxb5aS0mjIWKy+jy1n7sHjKKP1S7ilLCMBBrD0jTA5T28cmA chXERN1FxPlcr4
    ybE617Fu303D8NpjeJbGpYx6aBGi9mGQjZg7PXUqYq8qiNgzRg A0RRD54vzJRxSW
    CrZT1xk1tM+bCAOTbrYh86WF9G9Pab8S1TUWoleFnIQWRkpnPz Wz6ySEKEyv5gnM
    8keAFaq99oQa9OvN/Wso+VTURqPZbAl2QaaVfCxbYpZB+gk6XlC2LN3EulRLfjU0
    Lv3yDxKRGLde5Jg4HbQThIa6NEZ0Gs7dk5rmHj8Ef+gxy09+EA q8Ux9/Jqxrxpvi
    ppQ0nl9NZiJsh2RFgmbYABpBYuaEF82yiE4xpuXnFbZsamhg9t Za5FvzNjta5ERy
    HsOCgdu/vDgvZK+v1T4g5fMT38Io2go7XbwuN2XlxW10FIWrymwC9/008KBw4A8V
    nqjd0QbHnG7NUKpS39XpFr8wU+pF5ujxJ9H2U1IiEv4yV2gNf8 nOVB/LsNjeeVbx
    UH6jVV4T8n3+nQqgWao5imFJdeGqBlHMr5+uC8No8bsGMAaWc8 ZM0DhvXTARiH90
    q+KJKVY46oqbZAWcp4XN
    =erhA
    -----END PGP SIGNATURE-----

  5. #5
    Join Date
    Feb 2008
    Location
    Bloemfontein, South Africa
    Posts
    13

    Re: Blackboard Driver - JAVA Class not found


    Everything is working fine, driver is running, test utility is working
    ... given that you install the Blackboard Driver RPM on some Linux
    machine and copy the Blackboard.jar file from the Linux to the Windows
    Server. The IDM 4.0.1 Windows Advanced ISO has the same MD5 sum as the
    stated on the Novell website, therefor the Blackboard.jar file on the
    media is corrupt seeing as the MD5 sums for the two files also differ.

    Given the corrupt Blackboard.jar file, it explains the behavior/failure
    of all ... RL, test utility, etc.


    --
    NickyVermaak
    ------------------------------------------------------------------------
    NickyVermaak's Profile: http://forums.novell.com/member.php?userid=7462
    View this thread: http://forums.novell.com/showthread.php?t=450543


  6. #6
    ab NNTP User

    Re: Blackboard Driver - JAVA Class not found

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Yes, I understand your reasoning and it is valid up to a point that I
    wish was not necessary to go into, but it may help.

    Some of Novell's shims are obfuscated to prevent them from being as
    easily opened as the Blackboard.jar from Linux was. Why? I do not
    know, but it was not my decision to do it. The obfuscation happens in a
    way that is undone at load time by the engine or Remote Loader, though
    apparently the Remote Loader utility that lets you select a shim does
    not know how to find the shim inside these files (I reported Bug# 711307
    for a similar issue with the Java Remote Loader a while ago).

    In this case the JAR was delivered from the original devs to Novell for
    packaging. The product given to Novell for Linux was an RPM (ready for
    deployment, no changes made) and a JAR for the windows platform. Part
    of the build process apparently then obfuscated the JAR which caused
    your headache, and the difference in checksum between platforms, and
    which was confirmed by my ability to de-obfuscate it on my system. As
    with others JARs handled the same way (Remedy comes to mind, but I know
    there are a few like this) it should have worked just fine if you had
    not needed the drop-down (for which there is that workaround mentioned
    previously) or the test utility (which apparently doesn't know the
    de-obfuscation magic.

    In the end, I believe the bug is that the build process did what it did
    to the windows version when that was unnecessary and unintended by the
    developer.

    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJPDuCDAAoJEF+XTK08PnB5OLAP/1OtI6zjyFjd6wXnhFJvkWtT
    kAdTCxWltwOQNmEfBdCtf/8fIsumrIdZZVFqo5DCflvCmp65qeJtSIjW/GonUYLB
    0FwtjrmB7D88SqxMXpQNpaqtpgNsynfT/D3+DWoNXzn9kOEjQdS2FHLxAy9ptwv2
    fMOjdRbegZKgTHzx/NRCHdHmXhIjn8xWwdiA5XtBa+hjoRyMPnMbB0dFFFw6MKDt
    BIp7i3ye9b4gwV/0F1kZ751rxAzMnRB897CcCK85mZrDU6ND0PvY7NJcLggBMyMH
    gSoqeL7SJEkxmedd9GUz/xbM+v+vV9IB+2yR/9hZyI+BnI6tXzjDBG4x9bPv6kc2
    onaVoN2hkpxAQv2FPV1D/z/qzleemu3pbnGjqGyhuaYC6UyDNobI/uptoQ1LB6C1
    +UF0tlRfj+iAEPvwOYRpC/cfLT3aNDVhzdG7h3/X199qk7blivJ4ZDwxGKse/4cE
    1PidQIm177sekgpbTFgzVb9UU0UZSIX4QHXIqoiFwjzNV+0KdK SFl7d2UAb+gnUN
    tDS5l5kXANsZSs5l1oBdmgRtSLLjjDwdxagmF8Ij+37jvB2tJ2 hCVOurPxdcNUQB
    HNc6shLXMQ1H/fNA9k3B5fpe8UzoVh3sZGz3sCy2b74dS8zymwI9lQVscAK3ClT O
    1m6ZQLkvL+RsyyAu9Q8Q
    =/ZBW
    -----END PGP SIGNATURE-----

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •