Tuesday, August 23, 2011

IBM HTTP Server port issues


Many a times , we come across issues where we want to access an application on port 80 and we have IBM HTTP Server as the web server and IBM Websphere Application Server.
By default, we can bypass the webserver and access the application directly through 908x port .
To configure your webserver to handle requests for the application , we need to change plugin-cfg.xml located at : {IBM HTTPServer}\Plugins\config\{webserver name}\plugin-cfg.xml





Saturday, August 20, 2011

VMware Player issue

In case we are using VM Player from our personal WIFI network , then Ethernet Adapter type should be NAT.

Also ,we need to make sure that the following services are started -
VMware DHCP Service ( To obtain dynamic ip )
VMware NAT Service ( To enable to connect to internet or local machine )

Tested on VMPlayer 3.1

Thursday, August 18, 2011

Using Content Engine API for webservices in Websphere Application server

If you are using Content Engine API for webservices in WAS 7 application, then we need to perform following steps in your application -

1. Add the following jar files in classpath -

client-download.jar
stax-api.jar
xlxpScanner.jar
xlxpScannerUtils.jar

2. Make sure the following jar is within the application ear , else we will get ClassNotFoundException: com.ibm.websphere.security.auth.WSSubject

Jace.jar

3. Add the jvm generic argument for jaas.conf.WSI

4. Modify the application to have class loading as (Classes loaded with local class loader first (parent last))

And you should be ready to use the CE API on your WAS application