Friday, March 2, 2012

IBM websphere plugin configuration

Assume that we have websphere application server installed, application (for ex: xyz) deployed on it and we are able to access the application using http://:/xyz
TO configure it to IHS :
->Install IHS ( for ex we have installed IHS @ /opt/ihs/)
->Install websphere plugin ( for ex: we have installed webspher plugin@ /opt/plugin/)
-> Genearete the plugin , Login to the box where ur websphereapplication server is installed and generate the plugin. for ex: if ur websphere application server installed @ /opt/websphere/was/, then
/opt/websphere/was/profiles/appserver/bin/GenPluginCfg.shthe above command will geneare "plugin-cfg.xml" file
->place the above generated plugin file some where , so that apachecan access it , for ex: /opt/plugin/config/plugin-cfg.xml
->open ur /opt/ihs/conf/httpd.conf file and configure it load theplugin file and module(.so) file as descibed below :
add the below 2 line after the LoadModule lines
LoadModule was_ap20_module /opt/plugins/bin/32bits/mod_was_ap20_http.soWebSpherePluginConfig /opt/plugin/config/plugin-cfg.xml
->Restart ur ihs server.
After that now u should be able to acces ur application using the ihs urlex: http://:/xyz