Thanks.
[b]loadbalancer.xml[/b]
<loadbalancer>
<cluster name="cluster1" policy="round-robin">
<instance name="platina1" enabled="true" disable-timeout-in-minutes="60"
listeners="
http://platina1:38080" weight="100"/>
<instance name="platina2" enabled="true" disable-timeout-in-minutes="60"
listeners="
http://platina2:38080" weight="100"/>
<web-module context-root="clusterjsp" enabled="true" disable-timeout-in-minutes="60"
error-url="sun-http-lberror.html" />
<health-checker url="/" interval-in-seconds="10" timeout-in-seconds="30" />
</cluster>
<property name="reload-poll-interval-in-seconds" value="60"/>
<property name="response-timeout-in-seconds" value="30"/>
<property name="https-routing" value="true"/>
<property name="require-monitor-data" value="false"/>
<property name="active-healthcheck-enabled" value="false"/>
<property name="number-healthcheck-retries" value="3"/>
<property name="rewrite-location" value="true"/>
</loadbalancer>
[b]Changes I made to obj.conf[/b]
I added the following line before the first appearence of "NameTrans":
NameTrans fn="name-trans-passthrough" name="lbplugin" config-file="/opt/sunJavaSystemWebServer/https-perena/config/loadbalancer.xml"
I added the following lines in the end of the file:
<Object name="lbplugin">
ObjectType fn="force-type" type="magnus-internal/lbplugin"
PathCheck fn="deny-existence" path="*/WEB-INF/*"
Service type="magnus-internal/lbplugin" fn="service-passthrough"
Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
</Object>
[b]magnus.conf[/b]
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
##BEGIN EE LB Plugin Parameters
Init fn="load-modules" shlib="/opt/sunJavaSystemWebServer/plugins/lbplugin/bin/libpassthrough.so" funcs="init-passthrough,service-passthrou
gh,name-trans-passthrough" Thread="no"
Init fn="init-passthrough"
##END EE LB Plugin Parameters
Init fn="load-modules" shlib="/opt/sunJavaSystemWebServer/lib/libj2eeplugin.so" shlib_flags="(global|now)"
Webserver was running without error when lbplugin was not installed.
Thanks.
[Message sent by forum member 'alfsancho' (alfsancho)]
http://forums.java.net/jive/thread.jspa?messageID=266800