Attached is my full standalone.xml
I will also give a try with that stacktrace but it's quite clear that is something missing in my configurations that make those unnecessary calls.
My java code that does local calls looks like this:
@EJB
PersistenceControllerLocal facade;
....
public void buttonClick(ClickEvent event) {
try{
Long accId = 28897012l;
lbl.setCaption("created by: "
+ facade.get(AccountDebt.class, accId)
}catch(Exception e){
e.printStackTrace();
} .getCreatedBy());
}
Every time I click the button my login module is getting called