Problem with https connection using 0.7.6jms
"Laszlo Schaffer personal" <laszlo.schaffer-HYXu6/[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <000001c585dd$ec82aa20$7201a8c0@safhome> |
Hello!
I have the following problem with HTTPS connection using 0.7.6jms
All thing (certificate, openjms-servlet, configuration, db=postgres) have
done (attached the openjms.xml)
The application can establishes the jms connection successfully
(Connection properties from the config file)
<queue_connection_factory>HTTPSQueueConnectionFactory</queue_connection_fact
ory>
<topic_connection_factory>HTTPSTopicConnectionFactory</topic_connection_fact
ory>
<jms_url>https://safhome:8443/</jms_url>
There are more threads that polls different queue-s ,after approx 20 seconds
the receiver Thread drops this exception
2005-07-08 15:56:43,359 ERROR QReceiver - javax.jms.JMSException: Failed to
process request receiveMessage: session not found
Here is code that drops this exception
while (receiver != null &&!ownerThread.isInterrupted()) {
if (!enableCallback) {
try {
Message message = receiver.receive(100); // hereby the
exception (session has been already opened )
if (message != null) {
message.acknowledge();
logger.debug("message arrived :" + message.toString());
fireMessageArrived(new ReceiverEvent(this, message));
}
}
catch(JMSException jex) {
logger.error(jex);
if(jms_exception_count++>MAX_JMSEXCEPTION) {
throw new Exception("Cannot continue too many JMSException");
}
}
}
synchronized (this) {
wait(300);
}
}
However the application works perfect with TCP connection
I have tried with 0.7.7 (openjms-tunnel) also, now the application runs
normally except that the openjms drops this messages (as I have described
in a previous issue)
16:00:38.250 ERROR [tcp://safhome:3030/[server]-Worker-10] - Failed to
execute u pdateMessageHandle for
handle=ID:860ed1ec-bcfa-1004-8fc4-6f311302fb44,
destinati
on id=3, consumer id=4
16:00:38.343 ERROR [tcp://safhome:3030/[server]-Worker-13] - Failed to
execute u pdateMessageHandle for
handle=ID:860f0ce8-bcfa-1004-80d5-6183a17cd974,
Thanks for the help
saf