1. 程式人生 > >繫結websphere和httpserver

繫結websphere和httpserver

請問如何將websphere 和http server 繫結在一起?
是通過修改什麼配置檔案達到目的?
我的系統是windows2003 server,安裝的是websphere6.0, 使用的是HTTP server .先安裝了HTTP server ,再安裝 websphere6.0 ,然後安裝 web 外掛。所有的東西都在同一臺機器上。
安裝完成以後通過http://localhost 能訪問到HTTP server 的頁面,通過http://localhost:9060/ibm/console 也能訪問控制檯。現在是想通過http://localhost/servlet/snoop 測試能不能通過 http server 連線到websphere,但是沒有成功。現在想問一下我的安裝是否有問題?該怎麼去測試http server 和websphere 能協同工作?
The first, Pls generated the plugin file on the WAS control pannel. If not, pls studied the http_plugin.log in WAS_HOME/logs. 需要修改httpd.conf檔案,如果你先安裝httpd 在安裝WAS的時候選擇HTTPD PLUG它自己灰修改,如果沒有選擇,需要自己修改檔案
Alias /WSsamples /opt/WebSphere/AppServer/WSsamples
Alias /IBMWebAS/ /opt/WebSphere/AppServer/web/
LoadModule  was_ap20_module  /opt/WebSphere/AppServer/bin/mod_was_ap20_http.so
WebSpherePluginConfig /opt/WebSphere/AppServer/config/cells/plugin-cfg.xml
新增上面幾行,然後記得把WAS的PLUG放到$was_home/bin下面就OK 了



QUOTE: 原帖由 startkill 於 2006-4-25 11:55 發表
需要修改httpd.conf檔案,如果你先安裝httpd 在安裝WAS的時候選擇HTTPD PLUG它自己灰修改,如果沒有選擇,需要自己修改檔案
Alias /WSsamples /opt/WebSphere/AppServer/WSsamples
Alias /IBMWebAS/ /opt/WebSp ... 我用的是was5.0.2,wasnd5.0.2,http server用的是apache2.0.47,os win2000 sever

http.conf中新增
LoadModule app_server_http_module C:/Program Files/WebSphere/AppServer/bin/mod_app_server_http.dll
WebSpherePluginConfig C:/Program Files/WebSphere/AppServer/config/cells/plugin-cfg.xml
路徑正確,為什麼apahce服務起不來呢?
提示 :the requested operation has failed!提示框一般apache起不來都是外掛的原因,仔細檢視外掛的配置,另外PLUG的補丁要對應相應的WAS版本..如果實在不行的話,你先把APACHE裝好,再裝WAS,在安裝過程中選擇HTTPD外掛,讓WAS自己去配置.
最開始我就是使現裝的apahce,可是裝完wasnd和was後apache死活也起不來了

“PLUG的補丁”指的什麼?另外掛的配置都需要修改那些檔案,謝謝!
先安裝websphere,然後再安裝IHS,記得將外掛安裝選項勾上,正確安裝外掛就可以了


*** 作者被禁止或刪除 內容自動遮蔽 ***
was5.0.2,你手動生成plugin檔案,然後copy到http server下,然後重啟apache就可以了!

估計你的web到app的路由不正確造成的!其實很簡單的問題!

was5。0.2更新plugin的地方知道吧?