锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
浠婂ぉ鍛ㄦ湯錛屾櫄涓婁笉鎯抽偅涔堟棭灝辯潯鍘伙紝绱㈡ф潵鐮旂┒涓浜涘皬涓滀笢錛屼綔涓轟竴縐嶄箰瓚c?br />鎯蟲(chóng)兂錛屽緢涔呬互鍓嶅氨涓鐩村湪鐪嬩竴浜涙湁鍏砏ebLogic涓嶢pache鐨勬枃绔狅紝浣嗕竴鐩存病鏈夎繖縐嶅疄鏂界殑闇姹傦紝浣嗕粖澶╃獊鐒舵兂璧蜂互鍓嶆繪槸灝咺HS錛圛BM Http Server錛変笌WebSphere鏁村悎錛屾墍浠ヤ篃鏉ユ悶鎼濧pache涓嶹ebLogic鐨勬暣鍚堛?br />
紜歡鐜錛欼BM R50e 錛堣佺埛杞︽湰鏈級(jí)
杞歡鐜錛歐indows XP SP2, Weblogic 9.2涓枃鐗堬紝apache_2.0.63-win32-x86-openssl-0.9.7m.msi
Step1錛屽畨瑁匴ebLogic鍜孉pache錛岃繖鑷劧灝變笉蹇呰浜?jiǎn)锛屼絾瑕佹彁閱掑ぇ瀹跺Q岃WebLogic鐨勬椂鍊欙紝瑕佺敤custome鏂瑰紡錛屽皢plugin鍕句笂錛屽惁鍒欏憜浼?xì)鍎夸綘浼?xì)鎵句笉鍒癆pache闇瑕佺殑鏂囦歡銆?br />
Step2錛屽鍒舵枃浠訛紝浠ユ垜鏈哄櫒涓婂畨瑁呯殑瀹為檯璺緞涓轟緥錛?br />聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)灝咰:\bea\weblogic92\server\plugin\win\32鐩綍涓嬬殑mod_wl_20.so鏂囦歡澶嶅埗鍒?br />聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)C:\Program Files\Apache Group\Apache2\modules榪欎釜鐩綍涓嬨?br />
Step3錛屼慨鏀笰pache鐨刪ttpd.conf鏂囦歡錛屽鍔犲涓嬪唴瀹癸細(xì)
LoadModule weblogic_module modules/mod_wl_20.so
<IfModule mod_weblogic.c>
聽(tīng)聽(tīng) Include conf/Weblogic.conf
</IfModule>
Step4錛屽湪httpd.conf鐩稿悓鐨勭洰褰曚笅澧炲姞鏂囦歡 Weblogic.conf(榪欎釜鏂囦歡灝辨槸絎?姝ヤ腑瀹氫箟鐨勬枃浠?錛屽唴瀹瑰涓嬶細(xì)
# Weblogic.conf file
WebLogicHost localhost聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)#鐪嬬湅榪欓噷錛屾垜浠殑Apache涔熷彲浠ヤ笉璺焀ebLogic瑁呭悓涓鍙版満鍣ㄤ笂鐨?br />WebLogicPort 7001
MatchExpression /AAA_Web/**聽(tīng)聽(tīng)聽(tīng) #姣斿榪欐槸WebLogic涓婂彂甯冪殑搴旂敤鐨刉eb Root
MatchExpression *.jsp
MatchExpression *.do
WLLogFile /tmp/wlproxy.log
娉ㄦ剰錛岃繖涓枃浠墮噷闈㈡渶濂戒笉瑕佹湁澶氫綑鐨勭┖鏍間箣綾葷殑涓滆タ錛屽惁鍒橝pache鍚姩鏃跺彲鑳芥姤閿欍?br />
Step5錛岄噸鍚疉pache錛屾祴璇曘?br />渚嬪鍘熸潵杈撳叆鐨勫湴鍧涓猴細(xì)http://192.168.1.30:7001/index_zh_CN.jsp
鐜板湪鍙敤杈撳叆鍦板潃錛?a >http://192.168.1.30/index_zh_CN.jsp
鐪嬪埌鐢婚潰錛岃〃紺烘垚鍔燂紝宸茬粡閫氳繃Apache鍋氫簡(jiǎn)杞彂銆?br />
Deploy individual modules in application to different targets:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -targets mywar@webserver,myjar@ejbserver -deploy
c:/myapps/myapp.ear
Undeploy application from specified targets:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -undeploy -targets server1,server2..
Redeploy application on current targets:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -redeploy
Redeploy individual module in an application:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -redeploy -targets moduleA@serverA,moduleA@serverB
Partially redeploy, for example, to update a JSP in a exploded webapp:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -redeploy mywar/index.jsp
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng) The path of JSP to be updated is relative to the root of the
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng) application. If a directory is specified the entire subtree is updated.
Multiple servers sharing the same physical deployment:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -targets server1,server2 -nostage -deploy c:/myapps/myapp.ear
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng) The -nostage option indicates that the application is available
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng) on all target servers at the same path and hence server should not copy
聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng)聽(tīng) files to the managed servers.聽(tīng)聽(tīng)聽(tīng)
榪欎簺鑻辨枃閮藉緢綆鍗曪紝鐩鎬俊涓嶇敤鍐嶅璇翠簡(jiǎn)銆?br />
闄勶細(xì)
1銆佷綘鍙兘鍦ㄥ彂甯冩椂閬囧埌榪欎釜闂錛?br />聽(tīng)<Error> <Management> <BEA-141150> <An error occurred while preparing application component of application Adquira:Location=ServerDC1,Name=adquira,Type=ApplicationConfig with HTTP response 500: Internal Server Error ).>
鍑虹幇姝ら棶棰樼殑鍘熷洜鏄洜涓哄彂甯冪殑瀵硅薄瓚呰繃浜?00M.
2銆佽繖鍑犲ぉ鐢⊿olaris鐨勫懡浠よ鐢ㄥお澶氫簡(jiǎn)錛屾病鍔炴硶錛岀幇鍦ㄥ湪Windows涓婤ackSpace閿兘涔?fàn)鎯х殑鍘繪寜Delete閿簡(jiǎn)銆傚樆鍢宦?tīng)?)
浠ヤ笂鎵鐢ㄧ増鏈負(fù)WLS8.1SP5銆?/p>