aspose file tools*
The moose likes Web Services and the fly likes Error on Websphere 6.1 while deploying WAR with XFire Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Error on Websphere 6.1 while deploying WAR with XFire" Watch "Error on Websphere 6.1 while deploying WAR with XFire" New topic
Author

Error on Websphere 6.1 while deploying WAR with XFire

juan diego navarre
Greenhorn

Joined: Apr 27, 2009
Posts: 6
Hi:

I'm deploying a application in Websphere 6.1, the application uses XFire to create connections to endpoints. Those endpoints have certificates that I previously imported on browsers.

My application has to verify connections to DB, and the Webservice, and has a listener that runs a TimerTask each minute.

I tested my application on Eclipse running it with Tomcat 6.0 and works fine. But if I deploy on Websphere, the connection to the endpoint to request for information doesn't work.

The log is:

22/04/09 17:14:11:982 COT] 00000080 SystemErr org.codehaus.xfire.fault.XFireFault: Couldn't send message.
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:30)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.client.Client.invoke(Client.java:336)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.client.XFireProxy.handleequest(XFireProxy.java:77)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at $Proxy54.notificacionOperacionesqstOp(Unknown Source)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at com.Service0002.Service0002Client.<init>(Service0002Client.java:173)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at com.util.Temporizador$1.run(Temporizador.java:79)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at java.util.TimerThread.mainLoop(Timer.java:527)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at java.util.TimerThread.run(Timer.java:477)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr Caused by: org.codehaus.xfire.XFireException: Couldn't send message.
at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:145)
at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
at org.codehaus.xfire.client.Client.invoke(Client.java:336)
at org.codehaus.xfire.client.XFireProxy.handleequest(XFireProxy.java:77)
at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
at $Proxy54.notificacionOperacionesqstOp(Unknown Source)
at com.Service0002.Service0002Client.<init>(Service0002Client.java:173)
at com.util.Temporizador$1.run(Temporizador.java:79)
at java.util.TimerThread.mainLoop(Timer.java:527)
at java.util.TimerThread.run(Timer.java:477)
Caused by: java.net.SocketException
at java.lang.Throwable.<init>(Throwable.java:57)
at java.lang.Throwable.<init>(Throwable.java:68)
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:4)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.codehaus.xfire.transport.http.CommonsHttpMessageSender.send(CommonsHttpMessageSender.java:369)
at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:123)
... 13 more

[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:145)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
[22/04/09 17:14:11:982 COT] 00000080 SystemErr ... 11 more
[22/04/09 17:14:11:982 COT] 00000080 SystemErr Caused by: java.net.SocketException
at java.lang.Throwable.<init>(Throwable.java:57)
at java.lang.Throwable.<init>(Throwable.java:68)
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:4)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.codehaus.xfire.transport.http.CommonsHttpMessageSender.send(CommonsHttpMessageSender.java:369)
at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:123)
at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
at org.codehaus.xfire.client.Client.invoke(Client.java:336)
at org.codehaus.xfire.client.XFireProxy.handleequest(XFireProxy.java:77)
at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
at $Proxy54.notificacionOperacionesqstOp(Unknown Source)
at com.Service0002.Service0002Client.<init>(Service0002Client.java:173)
at com.util.Temporizador$1.run(Temporizador.java:79)
at java.util.TimerThread.mainLoop(Timer.java:527)
at java.util.TimerThread.run(Timer.java:4

Can somebody help me, please???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error on Websphere 6.1 while deploying WAR with XFire