Forum Discussion
Joseph_Hamilton
Nimbostratus
Sep 15, 2008Setting 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.
5 Replies
- 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 - Joseph_Hamilton
Nimbostratus
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? - Paul_71209
Nimbostratus
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 - Don_MacVittie_1Historic F5 AccountJoe, don't we have a dependency list somewhere? That appears to be the problem, they're not getting all of the external libraries.
Don.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
