Setting up an iControl 9.4.0 Java environment

I used the Java Quickstart guide (http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=60) to set up my iControl environment and tried running the make.bat in the root axis directory.

I’m getting the following compilation error for each function:

Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java

Caused by: java.lang.ClassNotFoundException: org.apache.axis.wsdl.WSDL2Java

at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

I don’t know too too much about Java coding, I’m just trying to get a grasp on iControl so I can provide co-workers with a way to run scripts against my F5 LTM. Can anyone assist?

I have not modified the F5 code outside of changing the JAVAHOME variable to my Java JDK directory.

Which version of Apache Axis are you using? The samples are all written for Axis 1.x (thus the org.apache.axis namespace). If you are using the correct version of Axis, have you installed all the jars in the Java jre/lib directory?

-Joe

I couldn’t find soap.jar in any of the Axis downloads, so I found an old Apache SOAP download to use.

Which jar in Axis 1.4 would I need to extract?

Hello:

I have a similar problem. Could you provide a source to download all required jar files for the iControl.jar (JDK1.5)?

Thanks!

Here’s a complete set of libs that I’m using to get the iControl.jar to work with jdk 1.5 and 1.6.

http://devcentral.f5.com/LinkClick.aspx?link=http%3A%2F%2Fdevcentral.f5.com%2Fdownloads%2FiControl%2FiControlJavaLibs.zip&tabid=73&mid=656

Click here

Keep in mind that F5 does not support nor warranty the use of these files so use them at your own risk.

-Joe

Joe, don’t we have a dependency list somewhere? That appears to be the problem, they’re not getting all of the external libraries.

Don.