users@glassfish.java.net

Re: Webserver not starting: HTTP2122: cannot find function named init-passthrogh

From: Dinesh Patil <Dinesh.Patil_at_Sun.COM>
Date: Mon, 16 Apr 2007 12:39:58 -0700

Gopal Jorapur wrote:

> Hi,
>
> I am trying to setup cluster with LB on Sun Web server 6.1
>
> https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html
>
> Webserver fails to start with following error
>
> # ./start
> Sun ONE Web Server 6.1 B08/22/2003 12:37
> config: func_exec reports: HTTP2122: cannot find function named
> init-passthrough
> failure: CORE3170: Configuration initialization failed: Error running
> init function init-passthrough: unknown error

Gopal,
You can make sure that following line "Init fn="load-modules" " is a
single long line, as cut-and-paste makes this as newline.. Webserver
doesn't like that. Also do step 7 for creating/configuring
loadbalancer.xml and then try to start webserver.

https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html#install_web

    9. Append the following lines to
    |<websrvr_instance_dir>/config/magnus.conf|.

      ##BEGIN EE LB Plugin Parameters
    Init fn="load-modules" shlib="<websrvr_install_dir>/plugins/lbplugin/bin/libpassthrough.so"
funcs="init-passthrough,service-passthrough,name-trans-passthrough" Thread="no"
    Init fn="init-passthrough"
      ##END EE LB Plugin Parameters
    

            The above lines need to be before following line.

Init fn="load-modules" shlib=".../libj2eeplugin.so" shlib_flags="(global|now)"

            Replace <websrvr_install_dir> with your Web Server
            installation directory.

thanks
Dinesh

> Any idea?
>
> Thanks,
> Gopal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>