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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to get the Application name/fullpath in a servlet deployed in WebLogic
 
Similar Threads
please answer this 128 questions for WLS. Urgently!
RequestDispatcher, relative and absolute path
Swing client w/ WebStart & J2ee
Weblogic 9.2 and custom JAAS config
GlassFish Virtual Server