aspose file tools*
The moose likes BEA/Weblogic and the fly likes How to get the Application name/fullpath in a servlet deployed in WebLogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to get the Application name/fullpath in a servlet deployed in WebLogic " Watch "How to get the Application name/fullpath in a servlet deployed in WebLogic " New topic
Author

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

tom kapp
Greenhorn

Joined: Mar 25, 2011
Posts: 3
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

Joined: Aug 25, 2008
Posts: 149

maybe this helps: 10.3 JMX documentation, Monitoring Servlets
 
 
subject: How to get the Application name/fullpath in a servlet deployed in WebLogic