axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "claudio cantonetti" <claudio.cantone...@seceti.it>
Subject Axis exception with JSSE and WS 4.0.3
Date Wed, 01 Sep 2004 08:48:16 GMT

Hi,
i'm trying to use Axis(1.1) with JSSE in WebSphere 4.0.3 to reach a
WebService via SSL, but I got that exception when I call the Service:
 
2004-08-20 14:24:33,595 DEBUG (AxisClient.java:108) - Enter:
AxisClient::invoke
2004-08-20 14:24:33,598 DEBUG (AxisClient.java:123) - EngineHandler:
null
2004-08-20 14:24:36,330 DEBUG (SimpleChain.java:116) - Enter:
SimpleChain::invoke
2004-08-20 14:24:36,333 DEBUG (ProjectResourceBundle.java:111) -
org.apache.axis.i18n.resource::handleGetObject(enter00)
2004-08-20 14:24:36,335 DEBUG (HTTPSender.java:103) - Enter:
HTTPSender::invoke
keyStore is : /SapeNet/keystore/sapenet.keystore
keyStore type is : JKS
init keystore
init keymanager of type SunX509
default context init failed: java.security.PrivilegedActionException <>
2004-08-20 14:24:45,384 DEBUG (HTTPSender.java:130) -
java.net.SocketException: SSL implementation not available
2004-08-20 14:24:45,395 DEBUG (SOAPPart.java:178) - Enter: SOAPPart
ctor(FORM_FAULT)
2004-08-20 14:24:45,401 DEBUG (ProjectResourceBundle.java:111) -
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
2004-08-20 14:24:45,405 DEBUG (SOAPPart.java:312) - Setting current
message form to: FORM_FAULT (currentMessage is now
org.apache.axis.AxisFault)
2004-08-20 14:24:45,409 DEBUG (SOAPPart.java:184) - Exit: SOAPPart
ctor()
2004-08-20 14:24:45,415 DEBUG (ProjectResourceBundle.java:111) -
org.apache.axis.i18n.resource::handleGetObject(exception00)
2004-08-20 14:24:45,535 DEBUG (AxisClient.java:209) - Exception:
2004-08-20 14:24:45,847 DEBUG (AxisClient.java:209) - NSPush (32)
2004-08-20 14:24:48,691 DEBUG (AxisClient.java:209) -
org.apache.axis.i18n.resource::handleGetObject(empty00)
2004-08-20 14:24:48,696 DEBUG (AxisClient.java:209) - NSPop (empty)
AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode: 
faultString: java.net.SocketException: SSL implementation not available
faultActor: 
faultNode: 
faultDetail: 
{http://xml.apache.org/axis/}stackTrace: java.net.SocketException: SSL
implementation not available
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(DashoA6275)
at
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactor
y.java:130)
at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at
it.seceti.creval.clientws.WfSoapBindingStub.verificaCollegamento(WfSoapB
indingStub.java:122)
at
it.diagramaps.f24.action.LoginCrevalAction.perform(LoginCrevalAction.jav
a:106)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServle
t.java:1786)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletMan
ager.java:698)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLife
cycleServlet.java:157)
at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleSe
rvlet.java:279)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifec
ycleServlet.java:105)
at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.jav
a:410)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Servle
tManager.java:842)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletM
anager.java:768)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(WebAppRequestDispatcher.java:623)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppReq
uestDispatcher.java:333)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequ
estDispatcher.java:218)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.j
ava:987)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Cach
edInvocation.java:69)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Servlet
RequestProcessor.java:176)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEList
ener.java:357)
at
com.ibm.ws390.wc.redirector.WS390Redirector$WS390RedirectorDispatcher.se
rvice(WS390Redirector.java:1579)
at
com.ibm.servlet.engine.oselistener.inproc.InProcAppServerDispatcher.serv
ice(InProcAppServerDispatcher.java:54)
at
com.ibm.servlet.engine.oselistener.inproc.InProcThreadPrivateData.dispat
chServletRequest(InProcThreadPrivateData.java:144)
at
com.ibm.servlet.engine.oselistener.inproc.InProcPlugin.service(InProcPlu
gin.java:602)
 
 
I put jsse.jar, jcert.jar and jnet.jar in jre/lib/ext and I rename
ibmjsse.jar to zibmjsse.jar.
I've done this to load the Sun's classes before Ibm classes.
 
Also I put in java.security these providers:
security.provider.1=sun.security.provider.Sun
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
security.provider.3=com.ibm.crypto.provider.IBMJCE
security.provider.4=com.ibm.jsse.JSSEProvider
 
At runtime i set up this line 
java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol.
 
But it doesn't work.
 
A possible solution could be to set up AXIS to use the IBM JSSE
provider?
 
Any Help appreciated.
 
 
Thanks 
Claudio Cantonetti
 

=== Start-of Internet E-mail Confidentiality Footer ===

L'uso non autorizzato di questo messaggio o dei suoi allegati e' vietato e potrebbe costituire
reato.
Se ha ricevuto per errore questo messaggio, La preghiamo di informarci e di distruggerlo immediatamente
coi suoi allegati.
Le dichiarazioni contenute in questo messaggio o nei suoi allegati non impegnano SECETI S.p.A.
nei confronti del destinatario o di terzi.
SECETI S.p.A. non si assume alcuna responsabilita' per eventuali intercettazioni, modifiche
o danneggiamenti del presente messaggio.

Any unauthorized use of this e-mail or any of its attachments is prohibited and could constitute
an offence.
If you are not the intended addressee please advise immediately the sender and destroy the
message and its attachments.
The contents of this message shall be understood as neither given nor endorsed by SECETI S.p.A.
SECETI S.p.A. does not accept liability for corruption, interception or amendment, if any,
or the consequences thereof.

Mime
View raw message