介绍 WebLogic 的一些结构和特点
生活随笔
收集整理的這篇文章主要介紹了
介绍 WebLogic 的一些结构和特点
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
WebLogic的大部分配置是在 weblogic.properties 里完成的,只要仔細的研究這個文件就可以清楚得知關于 WebLogic 的一些結構和特點,下面就對 weblogic.properties 文件里的一些配置項作一些說明:?
weblogic.httpd.document.oot=public_Html/?
這就是WebLogic 的WEB 服務器的根目錄,即是目錄/weblogic/myserver/public_html/?
weblogic.passWord.system=sdfjkdshfds?
這個前文已經提到,是設置治理員密碼。?
weblogic.system.listenPort=7001?
這是設置 WebLogic 的 WEB 服務器端口。?
weblogic.httpd.servlet.classpath=/weblogic/myserver/servletclasses?
設置Servlet存放的路徑?
關于Servlet?
出于安全的目的,在 WebLogic 下運行的 WebLogic 必須在 weblogic.properties 里登記后才能運行,例如上文的提到Servlet http://localhost:7001/helloWorld,?
它在weblogic.properties 里的登記項是?
weblogic.httpd.register.helloWorld=examples.servlets.HelloWorldServlet?
實際上,這個 Servlet 的實際路徑是?
/weblogic/myserver/servletclasses/examples/servlets/HelloWorldServlet.class?
對照一下weblogic.properties里的登記項和HelloWorldServlet.class文件的路徑,應該不難找出其登記Servlet的規律吧。?
在weblogic.properties里有一下幾個Servlet的登記項:?
weblogic.httpd.register.AdminEvents=admin.AdminEvents?
weblogic.httpd.register.AdminClients=admin.AdminClients weblogic.httpd.register.AdminConnections=admin.AdminConnections weblogic.httpd.register.AdminJDBC=admin.AdminJDBC?
weblogic.httpd.register.AdminLicense=admin.AdminLicense?
weblogic.httpd.register.AdminMain=admin.AdminMain?
weblogic.httpd.register.AdminProps=admin.AdminProps?
weblogic.httpd.register.AdminRealm=admin.AdminRealm?
weblogic.httpd.register.AdminThreads=admin.AdminThreads weblogic.httpd.register.AdminVersion=admin.AdminVersion?
這就是治理員治理 WebLogic 用的Servlet,通過URL訪問http://localhost:7001/AdminMain,在彈出的身份驗證對話框了輸入 system 和在 weblogic.password.system= 設置的密碼,就可以進入 WebLogic 的Web治理界面進行治理。
本文轉自 jxwpx 51CTO博客,原文鏈接:http://blog.51cto.com/jxwpx/209855,如需轉載請自行聯系原作者
weblogic.httpd.document.oot=public_Html/?
這就是WebLogic 的WEB 服務器的根目錄,即是目錄/weblogic/myserver/public_html/?
weblogic.passWord.system=sdfjkdshfds?
這個前文已經提到,是設置治理員密碼。?
weblogic.system.listenPort=7001?
這是設置 WebLogic 的 WEB 服務器端口。?
weblogic.httpd.servlet.classpath=/weblogic/myserver/servletclasses?
設置Servlet存放的路徑?
關于Servlet?
出于安全的目的,在 WebLogic 下運行的 WebLogic 必須在 weblogic.properties 里登記后才能運行,例如上文的提到Servlet http://localhost:7001/helloWorld,?
它在weblogic.properties 里的登記項是?
weblogic.httpd.register.helloWorld=examples.servlets.HelloWorldServlet?
實際上,這個 Servlet 的實際路徑是?
/weblogic/myserver/servletclasses/examples/servlets/HelloWorldServlet.class?
對照一下weblogic.properties里的登記項和HelloWorldServlet.class文件的路徑,應該不難找出其登記Servlet的規律吧。?
在weblogic.properties里有一下幾個Servlet的登記項:?
weblogic.httpd.register.AdminEvents=admin.AdminEvents?
weblogic.httpd.register.AdminClients=admin.AdminClients weblogic.httpd.register.AdminConnections=admin.AdminConnections weblogic.httpd.register.AdminJDBC=admin.AdminJDBC?
weblogic.httpd.register.AdminLicense=admin.AdminLicense?
weblogic.httpd.register.AdminMain=admin.AdminMain?
weblogic.httpd.register.AdminProps=admin.AdminProps?
weblogic.httpd.register.AdminRealm=admin.AdminRealm?
weblogic.httpd.register.AdminThreads=admin.AdminThreads weblogic.httpd.register.AdminVersion=admin.AdminVersion?
這就是治理員治理 WebLogic 用的Servlet,通過URL訪問http://localhost:7001/AdminMain,在彈出的身份驗證對話框了輸入 system 和在 weblogic.password.system= 設置的密碼,就可以進入 WebLogic 的Web治理界面進行治理。
本文轉自 jxwpx 51CTO博客,原文鏈接:http://blog.51cto.com/jxwpx/209855,如需轉載請自行聯系原作者
總結
以上是生活随笔為你收集整理的介绍 WebLogic 的一些结构和特点的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: git命令分类图
- 下一篇: C# Process执行bat