I take part in a distributed system's work.
The system has a application server(jboss) and several web server(tomcat),each tomcat
comunicates with the same jboss and different datasouce.A tomcat mappings to a datasource.
So I need to know the information of tomcat when I connect the datasource in EJB.
I have tried to use "EJBContext.getCallerPrincipal()"to get the information.But it can not
take effect.What can I do?
Somebody help me!Please...