Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get the Application name/fullpath in a servlet deployed in WebLogic

 
tom kapp
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Just like we can get the domain root directory from weblogic.management.DomainDir




and domain name from weblogic.management.configuration.DomainMBean





How can i get , the application name in which the servlet is deployed from inside the same servlet ? Which API from weblogic provides that information ?

for eg : application path = Middleware/user_projects/domains/Domain_1/servers/AdminServer/upload/webapp1.war

and application name = webapp1.war
 
Matt Cartwright
Ranch Hand
Posts: 152
Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maybe this helps: 10.3 JMX documentation, Monitoring Servlets
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic