Hi all
I managed to configure iPlanet to redirect the requests from JBOSS 321. I would like to thank Rick for his timely and invaluable help :)
First, you need to add the below lines into your magnus.conf right on top of the already existing init parameters:
Init fn="load-modules" funcs="jk_init,jk_service" shlib="/PATH TO /nsapi_redirector.dll"
Init fn="jk_init" worker_file="/PATH TO/workers.properties" log_level="debug" log_file="PATH TO/nsapi.log"
Inside your workers.properties file, set "worker.jboss.host" to your FQDN.
Now, in your obj.conf file, enter these lines in the <Object name=default> section:
NameTrans fn="assign-name" from="/examples/*" name="jboss"
NameTrans fn="assign-name" from="/jmx-console/*" name="jboss"
NameTrans fn="assign-name" from="/jmx-console*" name="jboss"
NameTrans fn="assign-name" from="/idm/*" name="jboss"
NameTrans fn="assign-name" from="/idm*" name="jboss"
Now, underneath the <Object name=default> section, make a new section:
<Object name="jboss">
ObjectType fn="force-type" type="text/plain"
Service fn="jk_service" worker="jboss"
</Object>
Stop and start your webserver - you should see a message like:
iPlanet-WebServer-Enterprise/6.0SP5 B10/31/2002 16:22
In jk_init.
Worker file = /opt/iplanet/webserver/https-servername/config/workers.properties.
Log level = debug.
Log File = /opt/iplanet/webserver/https-servername/logs/nsapi.log
If not, you probably will have to experiment a bit on the order in which you have the directives entered in magnus.conf and obj.conf.
If everything is working properly you should be able to access this page:
http://youservername:port/jmx-console
and have the JBoss admin console appear.
Thanks Rick .... :) .. couldn't have done it without you
With regards
Ananth