EJB and client in same EAP run in same thread
I have an EJB in an EAR deployed in a JBoss EAP instannce. I also have a client for the EJB deployed in the same instance in a WAR that is not in an EAR.
I want the EJB to log to its own log files and the client to log to its log files. But what happens is the client logs to its log file until the EJB is called then all the logging for both the client and the EJB go into the EJBs log files.
How can I make this work?
Responses