Hi Team,

We recently upgraded Qpid library to "qpid-jms-client-0.56.0" and started
getting ProviderException with session closed error while communicating with
ServiceBus broker.

We are trying to reproduce ProviderException with closed session. 

Scenario :
1. Publish message
2. Got illegalStateException - The MessageProducer is closed/The
MessageProducer was closed due to an unrecoverable error.
3. ResetPoducer -- (Assuming session is not closed) --> Which throws "The
Session was closed due to an unrecoverable error."
4. ProviderException -- "Unknown error from remote peer" --> why are we
getting this exception as well in error call stack?

Please find attached "ProviderException_SessionClosed_Qpid.json" and
SessionClosed_ProviderException.PNG.

We are cleared upto ResetPoducer issue but not cleared with
ProviderException. 

If you check attached stack trace there is no directly link between
IllegalStateException and ProviderException.

We have fixed ResetPoducer but not able to fix ProviderException issue,
because we are not able to generate this issue.

Could you please check attached stack trace and help with below queris - 
1. Is ProviderException being generated by
"org.apache.qpid.jms.JmsSession.checkClosed" ? Please refer error
Array[1]-parsedStack[0]
2. How can we generate ProviderException while creating destination ? Please
refer error Array[1]-parsedStack[1]

Could you please let us know your thought, it will help us to close this
issue. Let me know for any query.

ProviderException_SessionClosed_Qpid.json
<http://qpid.2158936.n2.nabble.com/file/t396358/ProviderException_SessionClosed_Qpid.json>
  

SessionClosed_ProviderException.PNG
<http://qpid.2158936.n2.nabble.com/file/t396358/SessionClosed_ProviderException.PNG>
  

 
Regards,
Abhishek Kumar



--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to