Feb 11, 2002 #1 Guest_imported New member Joined Jan 1, 1970 Messages 0 Is there any way to identify tht root directory of weblogic(installation directory) using java
Feb 13, 2002 #2 Alkesh Programmer Joined Dec 31, 2000 Messages 3 Location IN weblogic contain some classes called t3servicesDef. by that class you can know Home of weblogic. this is example of how you can use this... import weblogic.common.T3ServicesDef; import weblogic.common.T3Services; import weblogic.common.T3Exception; public class WeblogicUtil { public static String getWeblogicHomeDirectory() throws T3Exception { T3ServicesDef t3 = T3Services.getT3Services(); return t3.config().getProperty("weblogic.system.home" } } Upvote 0 Downvote
weblogic contain some classes called t3servicesDef. by that class you can know Home of weblogic. this is example of how you can use this... import weblogic.common.T3ServicesDef; import weblogic.common.T3Services; import weblogic.common.T3Exception; public class WeblogicUtil { public static String getWeblogicHomeDirectory() throws T3Exception { T3ServicesDef t3 = T3Services.getT3Services(); return t3.config().getProperty("weblogic.system.home" } }