Get the server name (PB/JAVA)(this howto is deprecated)Tag(s): DEPRECATED


TransactionServer ts
Management mgmt

this.getContextService("TransactionServer", ts)
its_jag.CreateInstance(mgmt, "Jaguar/Management")
return mgmt.getServer()
In Java
// web server name
String hostname = request.getServerName();
// jaguar server name ex: Jaguar
String servername = com.sybase.jaguar.server.Jaguar.getServerName();

blog comments powered by Disqus