users@glassfish.java.net

Re: Sun Application&Web server Load Balancer problem

From: Pankaj Jairath <Pankaj.Jairath_at_Sun.COM>
Date: Mon, 13 Oct 2008 10:55:46 +0530

Hello,

Do attach the web server log/access and log/errors with log level set to
fine. Also do attach the loadbalancer.xml file.

Thanks
Pankaj

glassfish_at_javadesktop.org wrote:
> Hi All,
>
> I am new in this forum and hope its right place for this question..
>
> I have a system with two application server clustered (Sun Java System Application Server 9.1_02 (build b05-p01) ,and installed in two servers one with DAS +node agent+Web Server ( Sun Java System Web Server 7.0U3 B06/16/2008) other just with a node agent..I have configured load balancer and my sample application (cluster.jsp) was successful when i try from webserver (https://10.25.8.8:5632/clusterjsp), but when i try the application that i have deployed i am unable to see it and getting an error as :
>
> The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.
>
> Web server log files is as attached...
>
>
>
> My obj.conf is ;
>
> #
> # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
> # Use is subject to license terms.
> #
> # You can edit this file, but comments and formatting changes
> # might be lost when you use the administration GUI or CLI.
> <Object name="default">
> AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
> NameTrans fn="name-trans-passthrough" name="lbplugin" config-file="C:/Sun/WebServer7/https-dys1.erzurumbeah.gov.tr/config/loadbalancer.xml"
> NameTrans fn="ntrans-j2ee" name="j2ee"
> NameTrans fn="pfx2dir" from="/mc-icons" dir="C:/Sun/WebServer7/lib/icons" name="es-internal"
> PathCheck fn="uri-clean"
> PathCheck fn="check-acl" acl="default"
> PathCheck fn="find-pathinfo"
> PathCheck fn="find-index-j2ee"
> PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
> ObjectType fn="type-j2ee"
> ObjectType fn="type-by-extension"
> ObjectType fn="force-type" type="text/plain"
> 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"
> </Object>
>
> <Object name="j2ee">
> Service fn="service-j2ee" method="*"
> </Object>
>
> <Object name="es-internal">
> PathCheck fn="check-acl" acl="es-internal"
> </Object>
>
> <Object name="cgi">
> ObjectType fn="force-type" type="magnus-internal/cgi"
> Service fn="send-cgi"
> </Object>
>
> <Object name="send-precompressed">
> 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>
>
> <Object ppath="*lbconfigupdate*">
> PathCheck fn="get-client-cert" dorequest="1" require="1"
> </Object>
>
> <Object ppath="*lbgetmonitordata*">
> PathCheck fn="get-client-cert" dorequest="1" require="1"
> </Object>
>
>
> And magnus.conf is ;
>
> #
> # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
> # Use is subject to license terms.
> #
>
> Init fn="load-modules" shlib="j2eeplugin.dll"
> ##BEGIN EE LB Plugin Parameters
> Init fn="load-modules" shlib="C:/Sun/WebServer7/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="C:/Sun/WebServer7/lib/j2eeplugin.dll" shlib_flags="(global|now)
>
> Would be happy for any idea
>
> Regards
> [Message sent by forum member 'cebeci' (cebeci)]
>
> http://forums.java.net/jive/thread.jspa?messageID=305176
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>