When I tried to access the server name through java agent it return me blank name of server.
My code is :-
Session session = getSession();
String u = (String) session.getServerName();
System.out.println("Server Name :- "+ u );
out put :-
Server Name :-
does anybody knows, how to find out server name through java agent ?