Getting Started With iControl And Java – Setting Up Eclipse
This is the first article in a series focused on developing iControl applications with the Java language. I’ve picked Eclipse development platform for this set of platforms. The goal here is to giv...
Published Sep 15, 2010
Version 1.0Raj_126122
May 10, 2013Nimbostratus
Hi,
I am getting exception when I tried to execute your code on my machine. I have given hostname, user id, password.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.SocketException: java.io.EOFException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: java.io.EOFException
at javax.net.ssl.DefaultSSLSocketFactory.a(SSLSocketFactory.java:7)
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:11)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:118)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
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.SystemSystemInfoBindingStub.get_system_information(SystemSystemInfoBindingStub.java:1643)
at com.americanexpress.ngi.SystemInfo.getSystemInformation(SystemInfo.java:42)
at com.americanexpress.ngi.SystemInfo.Run(SystemInfo.java:35)
at com.americanexpress.ngi.SystemInfo.main(SystemInfo.java:75)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:386)
at com.ibm.crypto.provider.JavaKeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:414)
at com.ibm.jsse2.uc.a(uc.java:54)
at com.ibm.jsse2.lc.f(lc.java:12)
at com.ibm.jsse2.lc.(lc.java:16)
at com.ibm.jsse2.lc.e(lc.java:17)
at com.ibm.jsse2.SSLSocketFactoryImpl.(SSLSocketFactoryImpl.java:3)
at java.lang.J9VMInternals.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1345)
at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:21)
at org.apache.axis.components.net.JSSESocketFactory.initFactory(JSSESocketFactory.java:87)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:105)
... 16 more
{http://xml.apache.org/axis/}hostname:PHXJ04967807
java.net.SocketException: java.io.EOFException
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.SystemSystemInfoBindingStub.get_system_information(SystemSystemInfoBindingStub.java:1643)
at com.americanexpress.ngi.SystemInfo.getSystemInformation(SystemInfo.java:42)
at com.americanexpress.ngi.SystemInfo.Run(SystemInfo.java:35)
at com.americanexpress.ngi.SystemInfo.main(SystemInfo.java:75)
Caused by: java.net.SocketException: java.io.EOFException
at javax.net.ssl.DefaultSSLSocketFactory.a(SSLSocketFactory.java:7)
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:11)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:118)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
... 13 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:386)
at com.ibm.crypto.provider.JavaKeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:414)
at com.ibm.jsse2.uc.a(uc.java:54)
at com.ibm.jsse2.lc.f(lc.java:12)
at com.ibm.jsse2.lc.(lc.java:16)
at com.ibm.jsse2.lc.e(lc.java:17)
at com.ibm.jsse2.SSLSocketFactoryImpl.(SSLSocketFactoryImpl.java:3)
at java.lang.J9VMInternals.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1345)
at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:21)
at org.apache.axis.components.net.JSSESocketFactory.initFactory(JSSESocketFactory.java:87)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:105)
... 16 more