users@glassfish.java.net

Re: LoadBalancer- Sun Web Server 6.1- can't find ../clusterjsp (File not found)

From: <glassfish_at_javadesktop.org>
Date: Thu, 25 Jun 2009 06:18:43 PDT

Here it is..

Magnus.conf
-------------------

#
# The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
# They will not be supported in future releases of the Web Server.
NetsiteRoot D:/Sun/WebServer61
ServerName PC002334.cts.com
ServerID https-PC002334.cts.com
#
RqThrottle 128
DNS off
Security off
ExtraPath D:/Sun/WebServer61/bin/https/bin

##Init fn="load-modules" shlib="D:/Sun/WebServer61/bin/https/bin/j2eeplugin.dll"
##BEGIN EE LB Plugin Parameters
Init fn="load-modules" shlib="D:/Sun/WebServer61/plugins/lbplugin/bin/passthrough.dll" funcs="init-passthrough,service-passthrough,name-trans-passthrough" Thread="no"
Init fn="init-passthrough"
##END EE LB Plugin Parameters

Init fn="load-modules" shlib="D:/Sun/WebServer61/bin/https/bin/j2eeplugin.dll" shlib_flags="(global|now)"
Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"


obj.conf
------------

# Use only forward slashes in pathnames--backslashes can cause
# problems. See the documentation for more information.

<Object name="default">
AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
NameTrans fn="name-trans-passthrough" name="lbplugin" config-file="D:/Sun/WebServer61/https-PC002334.cts.com/config/loadbalancer.xml"
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn=pfx2dir from=/mc-icons dir="D:/Sun/WebServer61/ns-icons" name="es-internal"
NameTrans fn=document-root root="$docroot"
PathCheck fn=nt-uri-clean
PathCheck fn="check-acl" acl="default"
PathCheck fn=find-pathinfo
PathCheck fn=find-index index-names="index.html,home.html,index.jsp"
ObjectType fn=type-by-extension
ObjectType fn=force-type type=text/plain
Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
Service method=TRACE fn=service-trace
Error fn="error-j2ee"
AddLog fn=flex-log name="access"
</Object>

<Object name="j2ee">
ObjectType fn=force-type type=text/html
Service fn="service-j2ee" method="*"
</Object>

<Object name="cgi">
ObjectType fn=force-type type=magnus-internal/cgi
Service fn=send-cgi
</Object>

<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>

<Object name="send-compressed">
PathCheck fn="find-compressed"
</Object>

<Object name="compress-on-demand">
Output fn="insert-filter" filter="http-compression"
</Object>

<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>

Thanks,
Barani.
[Message sent by forum member 'bharanib' (bharanib)]

http://forums.java.net/jive/thread.jspa?messageID=352922