Possible Bug or miss configuration in Ejb remote calls

47 views
Skip to first unread message

Sergi Trujillo

unread,
Nov 6, 2019, 9:39:25 AM11/6/19
to Payara Forum
Hi everyone,

I'm using  4.1.2.181 still migrate to the newest version. 

First of all, I can't give code that reproduces this error because it occurs at random time.

I have deployed some ears in the same instance that communicates between them with Remote EJB  interfaces. 

At the beginning, it works fine, but in some cases the parameters arrives with null. 

I tried to debug, but in debug I can't reproduce. 

I have reached these suspicions by logging all calls and many times.

I try to explain better:

I have and @Stateless EJB with Remote Interface that it  have some parameters as a String.

I have another @Stateless with a @EJB injection of Interface. And I make calls to one of the methods.  I log parameters before and after the call and it's correct, then i log the parameters that I received in the method and in a random time It is null. 

I don't know if this problem is because I need to make some changes in payara's configuration o really It is a bug or some other fact.

I tried to look for this, but I couldn't find anything

Thanks in advance.

Steve Millidge (Payara)

unread,
Nov 6, 2019, 11:28:05 AM11/6/19
to Sergi Trujillo, Payara Forum

Hi Sergi,

 

To be honest debugging these sorts of issues is complex and really needs access by Payara Engineers. There have been a few fixes to CORBA (EJB to EJB calls) in customer supported builds of 4.x related to intermittent loss of authenticated user and a few others not sure if these are the cause though.

 

Steve

--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/e75ae343-decb-4a8e-bac3-3e90df8c4b16%40googlegroups.com.

Sergi Trujillo

unread,
Nov 6, 2019, 4:27:05 PM11/6/19
to Payara Forum

Thanks Steve.

I punt a while to do retries and usually at 2n retry I give the correct answer but not always. Sometimes in 50 retries I haven't got a correct result. 

I'm inspecting logs and in some cases  I have observed that the error is in the return of result. I send parameters to an EJB, in EJB it receives correctly and generates a correct answer, but when the caller method gets results it gets a null value.

It's crazy.



El dimecres, 6 novembre de 2019 17:28:05 UTC+1, steve.millidge va escriure:

To unsubscribe from this group and stop receiving emails from it, send an email to payara...@googlegroups.com.

Kevin Penrose

unread,
Mar 4, 2020, 11:26:31 AM3/4/20
to Payara Forum
I have seen this error numerous times, usually when I pass an object to the db through an EJB interface, and the returned object has most of the fields null'd.  What has fixed it for me, reliably, is to clean and build all modules, ejb's, applications, etc.  Not sure what the cause is, but this clears up the issue for me.
Reply all
Reply to author
Forward
0 new messages