I have an axis client that uses SSL. It works great, UNTIL I try to run it in Grinder 3 (http://grinder.sourceforge.net). Here's what happens:
C:\grinder-3.0-beta9\examples>java net.grinder.Grinder
Worker process (cit6x33kn9zh0b7-0) started with command line: java -Djava.ext.di
rs=C:\TBClient -classpath C:\TBClient;C:\TBClient\tbclient.jar;C:\TBClient\axis.
jar;C:\TBClient\jaxp-api.jar;C:\TBClient\jaxrpc.jar;C:\TBClient\commons-logging.
jar;C:\TBClient\commons-discovery.jar;C:\TBClient\xalan.jar;C:\TBClient\xerces.j
ar;C:\TBClient\xss4j.jar;C:\TBClient\saaj.jar;C:\TBClient\authenticate.jar;C:\TB
Client\log4j-1.2.4.jar;C:\TBClient\dsig-bin.jar;C:\TBClient\jcert.jar;C:\TBClien
t\jnet.jar;C:\TBClient\jsse.jar;C:\TBClient\ibmjceprovider.jar;C:\TBClient\j2ee.
jar;.;C:\IBM\SQLLIB\java\db2java.zip;C:\IBM\SQLLIB\java\runtime.zip;C:\IBM\SQLLI
B\java\sqlj.zip;C:\IBM\SQLLIB\bin;C:\jdk1.3.1_07\bin;C:\jdk1.3.1_07\lib;C:\grind
er-3.0-beta9\lib\grinder.jar;C:\xml-axis-10\lib net.grinder.engine.process.Grind
erProcess cit6x33kn9zh0b7-0
The Grinder version 3.0-beta9 started
7/11/03 2:52:52 PM (process cit6x33kn9zh0b7-0): waiting for console signal
7/11/03 2:52:52 PM (process cit6x33kn9zh0b7-0): starting threads
javax.net.ssl.keyStorePassword19tb25
javax.net.ssl.keyStoreTBstage.jks
javax.net.ssl.trustStorePassword19tb25
javax.net.ssl.trustStoreTBstage.jks
Sending message
- Error: ; nested exception is:
java.net.SocketException: SSL implementation not available
- AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.net.SocketException: SSL implementation not available
faultActor: null
faultDetail:
stackTrace: java.net.SocketException: SSL implementation not available
at javax.net.ssl.DefaultSSLSocketFactory.createSocket([DashoPro-V1.2-120
198])
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac
tory.java:151)
at org.apache.axis.transport.http.HTTPSender.getSecureSocket(HTTPSender.
java:156)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:116)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at proxy.soap.tb.TBWebServiceProxy.sendTransaction(TBWebServiceProxy.jav
a:146)
at proxy.soap.tb.TBWebServiceProxy.send(TBWebServiceProxy.java:81)
at java.lang.reflect.Method.invoke(Native Method)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at net.grinder.engine.process.TestPyJavaInstance.access$201(TestPyJavaIn
stance.java:34)
at net.grinder.engine.process.TestPyJavaInstance$3.call(TestPyJavaInstan
ce.java:83)
at net.grinder.engine.process.ThreadContext.invokeTest(ThreadContext.jav
a:165)
at net.grinder.engine.process.TestData.dispatch(TestData.java:77)
at net.grinder.engine.process.TestPyJavaInstance.dispatch(TestPyJavaInst
ance.java:47)
at net.grinder.engine.process.TestPyJavaInstance.invoke(TestPyJavaInstan
ce.java:80)
at org.python.pycode._pyx0.__call__$2(VisionInsuranceAuth.py:13)
at org.python.pycode._pyx0.call_function(VisionInsuranceAuth.py)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyFunction.__call__(PyFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.invoke(PyObject.java)
at org.python.core.PyInstance.__call__(PyInstance.java)
at org.python.core.PyObject.__call__(PyObject.java)
at net.grinder.engine.process.JythonScript$JythonRunnable.run(JythonScri
pt.java:113)
at net.grinder.engine.process.GrinderThread.run(GrinderThread.java:119)
at java.lang.Thread.run(Thread.java:479)
7/11/03 2:52:58 PM (process cit6x33kn9zh0b7-0): finished, waiting for console si
gnal
I can only think that it is not finding my digital certificate, but I would hope that it would throw an error sooner. Any thoughts?
Thanks,
Greg
Greg Bobak�����
Senior Programmer Analyst
Cole National
http://www.thingsremembered.com
Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it.
