weblogic 10

来源:互联网 发布:软件云 编辑:程序博客网 时间:2024/04/28 05:07
 

 

      0.  Set up weblogic 10
      1.  Create a domain
           see reference
      2.  Set up apache 2.0 ( pre-http server and  mod_wl_xx.so is not compatible with apache 2.2  )
          .1 下載並安裝 apache 2.0(x86版本 for win 32)
          .2 至WL_HOME/wl_server/server/plugin目錄下複製mod_wl_20.so至C:/Program Files/Apache Group/Apache2/modules
          .3 至C:/Program Files/Apache Group/Apache2/conf下開啟httpd.conf,貼上LoadModule weblogic_module modules/mod_wl_20.so
          .4 開始->程式集->apache http server->control apache server->start .... ,如果沒有出現任何錯誤訊息就是成功
     3.  deploy a  web application
          see reference
          判斷有無deployment成功,可至C:/bea/user_projects/domains/base_domain/config下的config.xml。
          看是否生成這段敘述
         <app-deployment>
          <name>MJ</name>  //web application name
            <target>AdminServer</target>
                <module-type>war</module-type>          //web 壓縮黨
                   <source-path>C:/Documents and Settings/Administrator/My Documents/我已接收的檔案/Alone.war</source-path> //來源
                      <security-dd-model>DDOnly</security-dd-model>    
           </app-deployment>
 
              這時候,嘗試拜訪localhost:port/webname 可能出現503無法訪問的提示訊息
              表示該web application 並未處於activate狀態。