Re: Conversation Context not active when method called on conversation

Splash Forums PrettyFaces Users Conversation Context not active when method called on conversation Re: Conversation Context not active when method called on conversation

#23368

jllado
Participant

As I understand , I debug when I have server started in debug mode and when there are some breakpoints to suspend server.

There was no other errors logged!

BUT I realised that I could just put all my validator method into try-catch block and see all exceptions caught.

This way I found my amazingly easy mistake !

Unfortunately my validator method also needs to look up Singleton programmatically.

I cannot inject singleton anyway!

My singleton’s head is:

@Singleton
@Startup
@ApplicationScoped
public class ApplicationBacking {

I use initialContext.lookup(“java:comp/env/applicationBacking”); and it returns null.

Can you tell me this?