OpenLiberty / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
https://openliberty.io
Eclipse Public License 2.0
1.16k stars 599 forks source link

[22.0.0.9] Unmarshaller error when Unmarshaller obtained [from pool] #23583

Closed LucaT75 closed 1 year ago

LucaT75 commented 1 year ago

Hi, we have upgrade openliberty to 22.0.0.9, now an existing application throw an excption when mange SOAP call. When invoking the service, the exception occurs once every two calls (with the same request message)

When the exception occurs in the logs we see : Unmarshaller obtained [from pool] When the request is succesully manage we see : Unmarshaller created [not in pool]

jhanders34 commented 1 year ago

@LucaT75 can you provide more details about what the exception that occurs is? This will help to determine what the problem is. Or if you can give information about what makes your scenario different that could explain why this happens for you and not for others.

LucaT75 commented 1 year ago

We send a message that conains an element receiptDate defined as

The message is like :

....... ....... This field in java is mapped as XMLGregorianCalendar receiptDate; [ErrorLog.txt](https://github.com/OpenLiberty/open-liberty/files/10196488/ErrorLog.txt) When the Unmarshaller is not in the pool, we don't have the problem. At the moment I can provide you more detail only in private way
neuwerk commented 1 year ago

@LucaT75 thank you for the update! That actually might be enough information to recreate the issue hopefully. Let me try it, and I'll get back to you if I've had success or not.

LucaT75 commented 1 year ago

Hi, I have created an example project to show the problem, the repository is OpsApplication

LucaT75 commented 1 year ago

Hi, @neuwerk have you looked at the project? Were you able to reproduce the anomaly with the example application?

neuwerk commented 1 year ago

@LucaT75 I sure was, and I was able to recreate the issue. Thank you so much for uploading that. I'm in the process of problem determination and I will update you when I know more.

neuwerk commented 1 year ago

@LucaT75 I've just merged a fix for this with #23926. This should go out with the 23.0.0.1 version of Liberty, not sure if you can test with what's in the github repo, that would be one way of verifying the change resolves your issue. Other wise, once you've been able to verify with 23.0.0.1 we can hopefully get the issue closed out.

LucaT75 commented 1 year ago

@neuwerk thanks for your support. I hope to verify soon the fix on versione 23.0.0.1

neuwerk commented 1 year ago

On second thought, I'm closing this issue in the interim, but please reopen if @LucaT75 this isn't resolved.