EJB error not longer valid

0

I have a webpage project that uses Java beans with EJB3 to query and use resin4 Java Server

>

Randomly (sometimes the error takes several days to happen) I get an error that indicates

  

NoSuchEJBException: Stateful instance Sp093ptclB__StatefulProxy is not   longer valid

From this moment I have to restart the Resin service so that it works

In code in each Bean I have these tags

@Stateful
@StatefulTimeout(value=-1)

At the beginning of the Bean, we can say that if I do not put @StatefulTimeout the indicated error happens to me much more often.

    
asked by Salva 08.09.2017 в 12:08
source

0 answers