Sunday, June 13, 2010
Communication between Iplanet webserver and weblogic Appserver6.
0I can give you all the information that you need. We are currently using IPlanet webserver as a proxy for static data (HTML, PDF, images, etc.) while all other requests are routed to weblogic and handled by the application server.
First, you will need to install IPlanet webserver. Let say that you have IPlanet running at the following address: http://andromeda:8080, and, let's say that you have a WL managed server at http://orion:9027, on which your application is currently deployed and running.
You need to configure IPlanet with the correct plugin. If you are running IPlanet on UNIX, then find the file named "libproxy.so" in your WL installation (It's there, just look for it) If you are running IPlanet on Windows, then you will need a file named "proxy36.dll", which does not come with WL 6, but I have it, and I can email it to you (It's only about 500K).
Anyway, when you get either file, copy it to the following directory...
[Iplanet-root]/server4/plugins/lib
Now, go to the "config" directory of your Iplanet webserver (not the admin server), and open the file named "obj.conf". At the top of the file where there are "Init" commands, add the following two lines....
Init fn="load-modules" shlib="[full-path-to-plugin-file]" funcs="wl_proxy,wl_init"
Init fn="wl_init"
Make sure you specify the full path to the plugin file for [full-path-to-plugin-file].
At the bottom of the file, add the folllowing...
THis tells Iplanet how to route requests to Weblogic based on the "MYAPP" pattern. All URI's starting with "/MYAPP" are handled by this configuration.
Hold that thought for one moment, you need to also set up a static folder for your application on IPlanet. Create a directory called "myApp" (this must match the name specified above for the "name" attribute), at the following location...
[Iplanet-root]/server4/docs/
You can create additional folders under the "myApp" directory to accomodate different types of static data, such as an "images" directory for images.
Keep in mind that IPlanet will automatically forward a request to Weblogic provided that the request URI starts with the pattern that matched the "ppname" attribute above, therefore, all requests must start with "/MYAPP/*.
Subscribe to:
Post Comments (Atom)

No Response to "Communication between Iplanet webserver and weblogic Appserver6."
Post a Comment
Note: Only a member of this blog may post a comment.