juan diego navarre

Greenhorn
+ Follow
since Apr 27, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by juan diego navarre

Ok, then try using a queueconnection without user
13 years ago
Are you using MQSeries?
13 years ago
Hi,

When you have MQJMS2008, you have no permissions to manipulate that queue, you must get a nested Exception that gives you more information about your error, and it tells you a MQRC Reason Code and Termination Code.

For more info about the Reason Code, open a CMD and type mqrc <reason code you obtain in nested exception>

Analiyzing your error, looks you are permitted to access that queue, i have some questions:

Are you connecting using JNDI? If you are connecting with a class that makes PTP connecting (i mean not using JNDI), you must provide the MQQueueConnectionFactory the channel, the queue manager, the queue name, and the hostname of the server, if you wanna know more about PTP connections, here is: http://hursleyonwmq.wordpress.com/2007/05/29/simplest-sample-applications-using-websphere-mq-jms/ .

If you are doing this with a remote queue and you are using MQSeries and not WMQ on Windows, you must grant to public all privilegies.
Use WRKMQMQ.


If you can give the nested exception, i will help you.
13 years ago
A policy file in my app? My app contains a client of a webservice that uses SSL, that service uses a certificate for the connection with the endpoint, but you are saying me about the Java 2 configuration, where i do that? in security?
13 years ago
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???
13 years ago
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???
13 years ago