WebLogic的初步研究(2-2)

發表于:2007-07-14來源:作者:點擊數: 標簽:
關于Servlet 出于 安全 的目的,在 WebLogic 下運行的 WebLogic 必須在 weblogic.properties 里登記后才能運行,例如上文的提到Servlet http://localhost:7001/helloWorld, 它在weblogic.properties 里的登記項是 weblogic.httpd.register.helloWorld=examp
關于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管理界面進行管理。

原文轉自:http://www.anti-gravitydesign.com

国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97