Forum Discussion

smp_86112's avatar
smp_86112
Icon for Cirrostratus rankCirrostratus
Mar 04, 2010

iControl v10.1.0 Java JAR file

This is going to sound completely ignorant, and let me apologize up front. Today we have LTMs running 9.3.1, and some automation that uses a Java JAR from the iControl 9.6.0 SDK. We have no history of how the JAR file was built.

 

 

Now we are moving to new hardware platforms that will run 10.1.0, so I assume we should be using the 10.1.0 iControl SDK. However it's not clear to us how we build the iControl JAR from the SDK. Can someone help me understand how we get from the 10.1.0 SDK to the iControl JAR file? Will the JAR file be generated when we compile the java sample code?

9 Replies

  • The SDK doesn't contain the build for the support libraries. That is maintained in the iControl Assembly Labs Project.

     

     

    http://devcentral.f5.com/Default.aspx?tabid=68

     

    Click here

     

     

     

    If you look on the right side of the page, there are links to the Java binary and Java source distributions. The binary contains the iControl.jar created from the, as of today, 10.1.0 WSDL files. The source contains the build directory for the library (Warning, it's not very pretty).

     

     

    Let me know if that is enough to get you going. No need to rebuild it yourself if you don't want to, the binaries should be enough to get you going.

     

     

    -Joe

     

  • Wow, yes, that is exactly what we were looking for. Thank you very much for the reference, and the explanation.

     

     

  • yep, you'll be good to go. Only thing might hit you is if you need a depricated method for your 9.3.1 LTM.
  • OK, we hit a snag. My developer thinks that the JAR file was compiled with Java 1.6, and apparently we use 1.5. Can you advise me on what I need to do to get an iControl JAR compiled for 1.5? Is this where the source package comes into play, perhaps?

     

     

  • I have a version of the 9.6.0 SDK's built on Java 1.5 so that might work for you out of the gate until I can get a version of 10.1 build with the older jdk. Give this one a shot and let me know how it works for you.

     

     

    http://devcentral.f5.com/labs/iControlAssembly/iControl-JDK15.zip

     

    Click here

     

     

     

    -Joe
  • It turns out that my developer was smart enough to figure out how to compile from the source. We have our new JAR, and it works. He says the case in many of the method names we use changed from mixed to lower, which freaked him out at first. But that was a minor adjustment.

     

     

    We are in great shape. Thanks very much for your assistance.
  • Send my apologies to your developer for the nasty build setup. It was never meant for public consumption and I've never taken the time to fix it up. Hopefully it wasn't too much work to get it all to compile...

     

     

    I'm interested though in the issue with mixed to lower case. That shouldn't be and I'd hate to have you all do some work and not be able to upgrade in the future to one of our builds. Is there a chance I could get a zipped up source/build directory to be able to take a look at? Email joe - at - f5 - dot - com.

     

     

    In the future, I'll make sure to build it with 1.5 and 1.6 and include both version in the distribution.

     

     

    -Joe