Erro no Glassfish - Tentando executar JUnit

Java

09/11/2016

Ao tentar executar duas classes ao mesmo tempo (@Suite.SuiteClasses({br.com.devmedia.session.UserSessionTest.class, br.com.devmedia.session.ProducSessionTest.class}))

Está sendo retornado um erro somente na execução da segunda classe:

javax.ejb.AccessLocalException: Client not authorized for this invocation
ADVERTÊNCIA: EJB5108:Unable to initialize EJB Timer Service. The possible cause is the timer resource is not configured correctly, the database has not been started, or the timer database table has not been created.
javax.ejb.EJBAccessException
Caused by: javax.ejb.AccessLocalException: Client not authorized for this invocation
GRAVE: Exception while invoking class org.glassfish.ejb.startup.EjbApplication start method
java.lang.RuntimeException: EJB Timer Service is not available
Marcio Silva

Marcio Silva

Curtidas 0
POSTAR