icontrol assembly
38 TopicsRetrive Virtual server name by passing Virtual address string
Hi Everyone, I am trying retrieve Virtual server name by passing virtual address as argument. Vis Versa is possible by fucntion. my_icontrol_interface.LocalLBVirtualServer.get_destination("vs_test") The above function gives the corresponding virtual Address for that Virtual server name. Please let me know how to retrieve virtual server by passing the virtual address. Thanks in advance. Chandu.403Views0likes6CommentsConnection reset exception while using iControl Asseumbly 10.2 Java
I have included all the library jars available with icontrol assembly 10.2 java download. I am able to create a LTM pool from the UI and using tmsh commands , but it fails while using iControl Assembly. Below is the code I hv written and the exceptions generated. Pls advice. iControl.CommonIPPortDefinition [][] membersAofA = new iControl.CommonIPPortDefinition[1][]; membersAofA[0] = new iControl.CommonIPPortDefinition[1]; membersAofA[0][0] = new iControl.CommonIPPortDefinition(); String addr = members.keySet().iterator().next(); membersAofA[0][0].setAddress(addr); membersAofA[0][0].setPort(members.get(addr)); LocalLBLBMethod lb =LocalLBLBMethod.LB_METHOD_DYNAMIC_RATIO; LocalLBLBMethod[] lBMethods = {lb}; m_interfaces.getLocalLBPool().create(poolNames, lBMethods, membersAofA); ERROR: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.SocketException: Connection reset faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:180) at java.io.BufferedInputStream.fill(BufferedInputStream.java:230) at java.io.BufferedInputStream.read(BufferedInputStream.java:249) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:601) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at iControl.LocalLBPoolBindingStub.create(LocalLBPoolBindingStub.java:1064) at bigIPF5LoadBalancer.LoadBalancerPolicy.createPool(LoadBalancerPolicy.java:92) at bigIPF5LoadBalancer.Test.main(Test.java:69) {http://xml.apache.org/axis/}hostname:tpmoutbound9 java.net.SocketException: Connection reset at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at iControl.LocalLBPoolBindingStub.create(LocalLBPoolBindingStub.java:1064) at bigIPF5LoadBalancer.LoadBalancerPolicy.createPool(LoadBalancerPolicy.java:92) at bigIPF5LoadBalancer.Test.main(Test.java:69) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:180) at java.io.BufferedInputStream.fill(BufferedInputStream.java:230) at java.io.BufferedInputStream.read(BufferedInputStream.java:249) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:601) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) ... 12 more363Views0likes2CommentsIllegalArgumentException using iControl assembly 11.2
The method, LocalLB.Monitor.get_template_list(), returns a IllegalArgumentException from the 11.x BigIP, I use iControl assembly 11.2: Error log: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException java.lang.IllegalArgumentException faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException java.lang.IllegalArgumentException at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:176) at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:345) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at iControl.LocalLBMonitorBindingStub.get_template_list(LocalLBMonitorBindingStub.java:1085) Axis log: 2012-07-16T18:32:51.015Z DEBUG [xxx@xxx][Serving-127.0.0.1:40136] org.apache.axis.ConfigurationException - Exception: org.apache.axis.ConfigurationException: No service named urn:iControl:LocalLB/Monitor is available at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233) [axis-1.jar:na] at org.apache.axis.AxisEngine.getService(AxisEngine.java:311) [axis-1.jar:na] at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756) [axis-1.jar:na] at org.apache.axis.transport.http.HTTPTransport.setupMessageContextImpl(HTTPTransport.java:89) [axis-1.jar:na] at org.apache.axis.client.Transport.setupMessageContext(Transport.java:46) [axis-1.jar:na] at org.apache.axis.client.Call.invoke(Call.java:2738) [axis-1.jar:na] at org.apache.axis.client.Call.invoke(Call.java:2443) [axis-1.jar:na] at org.apache.axis.client.Call.invoke(Call.java:2366) [axis-1.jar:na] at org.apache.axis.client.Call.invoke(Call.java:1812) [axis-1.jar:na] Any ideas?337Views0likes2Commentsicontrol api corresponding to high availability
Hi, I would like to know the follwoing. icontrol api to configure system > platform > high avilability and icontrol api to configure system > high avilability > redundancy , config sync, network failover and network mirrorring? couldn't find it under https://devcentral.f5.com/wiki/iControl.System.ashx320Views0likes6CommentsTruststore file does not exist : Socket exception
I face the above exception while using iControl Assembly 10.2 Java. I have read all the other posts on this same topic but they did not help. I have explicilty included "XTrustProvider.install();" in my calling code. There are many other security providers present , but if I delete them I face errors caused by their dependency. What can be done ?319Views0likes2CommentsiControl 11.3 not working with Java 1.5
The 11.3 Java iControl binary distribution is not working on my Java 1.5 system. I'm getting an error which reads "java.lang.UnsupportedClassVersionError: (iControl/Interfaces) bad major version at offset=6" The 11.1 iControl.jar worked for me previously, but it seems as if the iControl.jar in the lib/JDK1.5 was built using java 1.6. Am I right, or is there something else going on?291Views0likes3Comments