You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Bo Yang <bo...@hotmail.com> on 2000/11/15 18:24:49 UTC

Need help for redirector of iplanet to Tomcat


Hello every one,



I have great deal of problems to get the Netscape redirector working.

I followed the “Ho-To….” installation steps religiously, but got still no 
luck.

My environment is the following:

-    IPlanet Enterprise Web Server 4.1 (SP3)

-         Tomcat V3.2 beta-07

-         Jdk1.2.2

After I installed  “nsapi_redirect.dll” I could not start Web Server, I got 
the following diagnostic:



Web Server:



[14/Nov/2000:01:56:12] info (  274): iPlanet-WebServer-Enterprise/4.1SP3 
BB1-09/17/2000 02:30

[14/Nov/2000:01:56:13] failure (  274): Configuration initialization failed: 
Error running init function jk_init: unknown error





NSAPI redirector:

[jk_worker.c (98)]: Into wc_open

[jk_worker.c (217)]: Into build_worker_map, creating 2 workers

[jk_worker.c (223)]: build_worker_map, creating worker ajp12

[jk_worker.c (154)]: Into wc_create_worker

[jk_worker.c (168)]: wc_create_worker, about to create instance ajp12 of 
ajp12

[jk_ajp12_worker.c (264)]: Into ajp12_worker_factory

[jk_worker.c (177)]: wc_create_worker, about to validate and init ajp12

[jk_ajp12_worker.c (182)]: Into jk_worker_t::validate

[jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact 
is localhost:8007

[jk_worker.c (187)]: wc_create_worker, done

[jk_worker.c (233)]: build_worker_map, removing old ajp12 worker

[jk_worker.c (223)]: build_worker_map, creating worker ajp13

[jk_worker.c (154)]: Into wc_create_worker

[jk_worker.c (164)]: wc_create_worker NULL factory for ajp13

[jk_worker.c (239)]: build_worker_map failed to create workerajp13

[jk_nsapi_plugin.c (129)]: In init_workers_on_other_threads, failed

[jk_nsapi_plugin.c (271)]: jk_init, a second passed

[jk_worker.c (98)]: Into wc_open

[jk_worker.c (217)]: Into build_worker_map, creating 2 workers

[jk_worker.c (223)]: build_worker_map, creating worker ajp12

[jk_worker.c (154)]: Into wc_create_worker

[jk_worker.c (168)]: wc_create_worker, about to create instance ajp12 of 
ajp12

[jk_ajp12_worker.c (264)]: Into ajp12_worker_factory

[jk_worker.c (177)]: wc_create_worker, about to validate and init ajp12

[jk_ajp12_worker.c (182)]: Into jk_worker_t::validate

[jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact 
is localhost:8007

[jk_worker.c (187)]: wc_create_worker, done

[jk_worker.c (233)]: build_worker_map, removing old ajp12 worker

[jk_worker.c (223)]: build_worker_map, creating worker ajp13

[jk_worker.c (154)]: Into wc_create_worker

[jk_worker.c (164)]: wc_create_worker NULL factory for ajp13

[jk_worker.c (239)]: build_worker_map failed to create workerajp13

[jk_nsapi_plugin.c (129)]: In init_workers_on_other_threads, failed

[jk_nsapi_plugin.c (271)]: jk_init, a second passed

============================================



I’m wondering, what could be wrong with the “ajp13” ????? I made sure that 
the port 8009 is not in use, but still no luck ….







Thanks

Bo Yang

P.S I also attached my obj.conf and

Obj.cof:





# Sun Netscape Alliance - obj.conf

# You can edit this file, but comments and formatting changes

# might be lost when the admin server makes changes.



# Use only forward slashes in pathnames--backslashes can cause

# problems. See the documentation for more information.

Init fn="flex-init" access="C:/Netscape/Server4/https-bo_yang/logs/access" 
format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] 
\"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% 
%Req->srvhdrs.content-length%"

Init fn="load-types" mime-types="mime.types"



Init fn="load-modules" funcs="jk_init,jk_service" 
shlib="E:/Tools/Servlet_Jsp/Tomcat/bin/netscape/nt4/i386/nsapi_redirect.dll"

Init fn="jk_init" 
worker_file="E:/Tools/Servlet_Jsp/Tomcat/conf/workers.properties" 
log_level="debug"  log_file="E:/Tools/Servlet_Jsp/Tomcat/logs/nsapi.log"



<Object name="default">

NameTrans fn="pfx2dir" from="/ns-icons" dir="C:/Netscape/Server4/ns-icons" 
name="es-internal"

NameTrans fn="pfx2dir" from="/mc-icons" dir="C:/Netscape/Server4/ns-icons" 
name="es-internal"

NameTrans fn="pfx2dir" from="/help" 
dir="C:/Netscape/Server4/manual/https/ug" name="es-internal"

NameTrans fn="pfx2dir" from="/manual" dir="C:/Netscape/Server4/manual/https" 
name="es-internal"

NameTrans fn="document-root" root="C:/Netscape/Server4/docs"



NameTrans fn="assign-name" from="/servlet/*" name="servlet"

NameTrans fn="assign-name" from="/examples/*" name="servlet"



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"

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)" type="*~magnus-internal/*" fn="send-file"

AddLog fn="flex-log" name="access"

</Object>



<Object name="cgi">

ObjectType fn="force-type" type="magnus-internal/cgi"

Service fn="send-cgi"

</Object>





<Object name="servlet">

ObjectType fn="force-type" type="text/html"

Service fn="NSServletService"

</Object>





<Object name="jsp092">

ObjectType fn="type-by-extension"

ObjectType fn="change-type" type="magnus-internal/jsp092" 
if-type="magnus-internal/jsp"

Service fn="NSServletService" type="magnus-internal/jsp092"

</Object>



<Object name="ServletByExt">

ObjectType fn="force-type" type="magnus-internal/servlet"

Service type="magnus-internal/servlet" fn="NSServletService"

</Object>



<Object name="es-internal">

PathCheck fn="check-acl" acl="es-internal"

</Object>



<Object name="servlet">

ObjectType fn=force-type type=text/plain

Service fn="jk_service" worker="ajp12"

</Object>





workers:







# - A jni inprocess worker.

# - A load balancer worker

#

# However by default the plugins will only use the ajp12 worker. To have

# the plugins use other workers you should modify the worker.list property.

#

#



#

# workers.tomcat_home should point to the location where you

# installed tomcat. This is where you have your conf, webapps and lib

# directories.

#

##999 workers.tomcat_home=c:\jakarta-tomcat

workers.tomcat_home=E:\Tools\Servlet_Jsp\Tomcat

#

# workers.java_home should point to your Java installation. Normally

# you should have a bin and lib directories beneath it.

#

#999 workers.java_home=c:\jdk1.2.2

workers.java_home=E:\Tools\Jdk\jdk1.2.2



#

# You should configure your environment slash... ps=\ on NT and / on UNIX

# and maybe something different elsewhere.

#

ps=\

# ps=/



#

#------ ADVANCED MODE ------------------------------------------------

#---------------------------------------------------------------------

#



#

#------ DEFAULT worket list ------------------------------------------

#---------------------------------------------------------------------

#

#

# The workers that your plugins should create and work with

#

worker.list=ajp12, ajp13



#

#------ DEFAULT ajp12 WORKER DEFINITION ------------------------------

#---------------------------------------------------------------------

#



#

# Defining a worker named ajp12 and of type ajp12

# Note that the name and the type do not have to match.

#

worker.ajp12.port=8007

worker.ajp12.host=localhost

worker.ajp12.type=ajp12

#

# Specifies the load balance factor when used with

# a load balancing worker.

# Note:

#  ----> lbfactor must be > 0

#  ----> Low lbfactor means less work done by the worker.

worker.ajp12.lbfactor=1



#

#------ DEFAULT ajp13 WORKER DEFINITION ------------------------------

#---------------------------------------------------------------------

#



#

# Defining a worker named ajp13 and of type ajp13

# Note that the name and the type do not have to match.

#

worker.ajp13.port=8009

worker.ajp13.host=localhost

worker.ajp13.type=ajp13

#

# Specifies the load balance factor when used with

# a load balancing worker.

# Note:

#  ----> lbfactor must be > 0

#  ----> Low lbfactor means less work done by the worker.

worker.ajp13.lbfactor=1



#

# Specify the size of the open connection cache.

#worker.ajp13.cachesize



#

#------ DEFAULT LOAD BALANCER WORKER DEFINITION ----------------------

#---------------------------------------------------------------------

#



#

# The loadbalancer (type lb) workers perform wighted round-robin

# load balancing with sticky sessions.

# Note:

#  ----> If a worker dies, the load balancer will check its state

#        once in a while. Until then all work is redirected to peer

#        workers.

worker.loadbalancer.type=lb

worker.loadbalancer.balanced_workers=ajp12, ajp13





#

#------ DEFAULT JNI WORKER DEFINITION---------------------------------

#---------------------------------------------------------------------

#



#

# Defining a worker named inprocess and of type jni

# Note that the name and the type do not have to match.

#

worker.inprocess.type=jni



#

#------ CLASSPATH DEFINITION -----------------------------------------

#---------------------------------------------------------------------

#



#

# Additional class path components.

#

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes



#

# The XML parser provided with Tomcat

#

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar



#

# Tomcat's implementation

#

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar



#

# Javac as available from Java2SE

#

worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar



#

# Setting the command line for tomcat

# Note: The cmd_line string may not contain spaces.

#

worker.inprocess.cmd_line=-config

worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml

worker.inprocess.cmd_line=-home

worker.inprocess.cmd_line=$(workers.tomcat_home)



#

# The JVM that we are about to use

#

# This is for Java2

#

worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll



#

# And this is for jdk1.1.X

#

#worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll

#



#

# Setting the place for the stdout and stderr of tomcat

#

worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout

worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr



#

# Setting the tomcat.home Java property

#

worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)



#

# Java system properties

#

# worker.inprocess.sysprops=java.compiler=NONE

# worker.inprocess.sysprops=myprop=mypropvalue



#

# Additional path components.

#

# worker.inprocess.ld_path=d:$(ps)SQLLIB$(ps)bin

#






_







_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Re: Need help for redirector of iplanet to Tomcat

Posted by cm...@yahoo.com.
> First of all thank you very much for you reply (to tell the truth, I started
> to lose the light at the end of the tunnel).
> Since we are entirely Java shop, I used pre-compiled mod_jk, and my platform
> is Windows NT 4.0 (SP6) IPlanet4.1(SP3),
> 
> Yes, I tried to run Tomcat with the "ajp12" only, but I got the same errors.
> 
> If you have any built by yourself redirector could you share with me it
> please.

Unfortunately ( or fortunately for me :-) I don't use windows. 

I could build it for Linux, but my evaluation version of IPlanet expired,
I'll need to get a new one, etc - a lot of time that I don't have right
now.

In 1-2 weeks I'll have a bit more time, but my todo list is already very
long - if anyone on the list will help, it would be great. 

I would also be interested to find if anyone else is using NES or IIS or
AOL with tomcat :-).

Costin




Re: Need help for redirector of iplanet to Tomcat

Posted by bo yang <bo...@hotmail.com>.
Hi, Costin:

First of all thank you very much for you reply (to tell the truth, I started
to lose the light at the end of the tunnel).
Since we are entirely Java shop, I used pre-compiled mod_jk, and my platform
is Windows NT 4.0 (SP6) IPlanet4.1(SP3),

Yes, I tried to run Tomcat with the "ajp12" only, but I got the same errors.

If you have any built by yourself redirector could you share with me it
please.


Thanks

Bo



Re: Need help for redirector of iplanet to Tomcat

Posted by cm...@yahoo.com.
Have you compiled mod_jk yourself or is it the pre-compiled one ?

I'm not sure what version of iPlanet/NES was used on the precompiled
module, it may be a possible reason.

You could also try to remove the ajp13 worker and see if it works if only
ajp12 is used. If you want to debug the problem, probably you'll need to
add few printf()s in the code :-). 

I was able to run it with NES ( an older version probably - that happened
>3 months ago ) with both ajp13 and jni.

Costin 



> I have great deal of problems to get the Netscape redirector working.
> 
> I followed the “Ho-To….” installation steps religiously, but got still no 
> luck.
> 
> My environment is the following:
> 
> -    IPlanet Enterprise Web Server 4.1 (SP3)
> 
> -         Tomcat V3.2 beta-07
> 
> -         Jdk1.2.2
> 
> After I installed  “nsapi_redirect.dll” I could not start Web Server, I got 
> the following diagnostic:
> 
> 
> 
> Web Server:
> 
> 
> 
> [14/Nov/2000:01:56:12] info (  274): iPlanet-WebServer-Enterprise/4.1SP3 
> BB1-09/17/2000 02:30
> 
> [14/Nov/2000:01:56:13] failure (  274): Configuration initialization failed: 
> Error running init function jk_init: unknown error
> 
> 
> 
> 
> 
> NSAPI redirector:
> 
> [jk_worker.c (98)]: Into wc_open
> 
> [jk_worker.c (217)]: Into build_worker_map, creating 2 workers
> 
> [jk_worker.c (223)]: build_worker_map, creating worker ajp12
> 
> [jk_worker.c (154)]: Into wc_create_worker
> 
> [jk_worker.c (168)]: wc_create_worker, about to create instance ajp12 of 
> ajp12
> 
> [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
> 
> [jk_worker.c (177)]: wc_create_worker, about to validate and init ajp12
> 
> [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
> 
> [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact 
> is localhost:8007
> 
> [jk_worker.c (187)]: wc_create_worker, done
> 
> [jk_worker.c (233)]: build_worker_map, removing old ajp12 worker
> 
> [jk_worker.c (223)]: build_worker_map, creating worker ajp13
> 
> [jk_worker.c (154)]: Into wc_create_worker
> 
> [jk_worker.c (164)]: wc_create_worker NULL factory for ajp13
> 
> [jk_worker.c (239)]: build_worker_map failed to create workerajp13
> 
> [jk_nsapi_plugin.c (129)]: In init_workers_on_other_threads, failed
> 
> [jk_nsapi_plugin.c (271)]: jk_init, a second passed
> 
> [jk_worker.c (98)]: Into wc_open
> 
> [jk_worker.c (217)]: Into build_worker_map, creating 2 workers
> 
> [jk_worker.c (223)]: build_worker_map, creating worker ajp12
> 
> [jk_worker.c (154)]: Into wc_create_worker
> 
> [jk_worker.c (168)]: wc_create_worker, about to create instance ajp12 of 
> ajp12
> 
> [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
> 
> [jk_worker.c (177)]: wc_create_worker, about to validate and init ajp12
> 
> [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
> 
> [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact 
> is localhost:8007
> 
> [jk_worker.c (187)]: wc_create_worker, done
> 
> [jk_worker.c (233)]: build_worker_map, removing old ajp12 worker
> 
> [jk_worker.c (223)]: build_worker_map, creating worker ajp13
> 
> [jk_worker.c (154)]: Into wc_create_worker
> 
> [jk_worker.c (164)]: wc_create_worker NULL factory for ajp13
> 
> [jk_worker.c (239)]: build_worker_map failed to create workerajp13
> 
> [jk_nsapi_plugin.c (129)]: In init_workers_on_other_threads, failed
> 
> [jk_nsapi_plugin.c (271)]: jk_init, a second passed
> 
> ============================================
> 
> 
> 
> I’m wondering, what could be wrong with the “ajp13” ????? I made sure that 
> the port 8009 is not in use, but still no luck ….
> 
> 
> 
> 
> 
> 
> 
> Thanks
> 
> Bo Yang
> 
> P.S I also attached my obj.conf and
> 
> Obj.cof:
> 
> 
> 
> 
> 
> # Sun Netscape Alliance - obj.conf
> 
> # You can edit this file, but comments and formatting changes
> 
> # might be lost when the admin server makes changes.
> 
> 
> 
> # Use only forward slashes in pathnames--backslashes can cause
> 
> # problems. See the documentation for more information.
> 
> Init fn="flex-init" access="C:/Netscape/Server4/https-bo_yang/logs/access" 
> format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] 
> \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% 
> %Req->srvhdrs.content-length%"
> 
> Init fn="load-types" mime-types="mime.types"
> 
> 
> 
> Init fn="load-modules" funcs="jk_init,jk_service" 
> shlib="E:/Tools/Servlet_Jsp/Tomcat/bin/netscape/nt4/i386/nsapi_redirect.dll"
> 
> Init fn="jk_init" 
> worker_file="E:/Tools/Servlet_Jsp/Tomcat/conf/workers.properties" 
> log_level="debug"  log_file="E:/Tools/Servlet_Jsp/Tomcat/logs/nsapi.log"
> 
> 
> 
> <Object name="default">
> 
> NameTrans fn="pfx2dir" from="/ns-icons" dir="C:/Netscape/Server4/ns-icons" 
> name="es-internal"
> 
> NameTrans fn="pfx2dir" from="/mc-icons" dir="C:/Netscape/Server4/ns-icons" 
> name="es-internal"
> 
> NameTrans fn="pfx2dir" from="/help" 
> dir="C:/Netscape/Server4/manual/https/ug" name="es-internal"
> 
> NameTrans fn="pfx2dir" from="/manual" dir="C:/Netscape/Server4/manual/https" 
> name="es-internal"
> 
> NameTrans fn="document-root" root="C:/Netscape/Server4/docs"
> 
> 
> 
> NameTrans fn="assign-name" from="/servlet/*" name="servlet"
> 
> NameTrans fn="assign-name" from="/examples/*" name="servlet"
> 
> 
> 
> 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"
> 
> 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)" type="*~magnus-internal/*" fn="send-file"
> 
> AddLog fn="flex-log" name="access"
> 
> </Object>
> 
> 
> 
> <Object name="cgi">
> 
> ObjectType fn="force-type" type="magnus-internal/cgi"
> 
> Service fn="send-cgi"
> 
> </Object>
> 
> 
> 
> 
> 
> <Object name="servlet">
> 
> ObjectType fn="force-type" type="text/html"
> 
> Service fn="NSServletService"
> 
> </Object>
> 
> 
> 
> 
> 
> <Object name="jsp092">
> 
> ObjectType fn="type-by-extension"
> 
> ObjectType fn="change-type" type="magnus-internal/jsp092" 
> if-type="magnus-internal/jsp"
> 
> Service fn="NSServletService" type="magnus-internal/jsp092"
> 
> </Object>
> 
> 
> 
> <Object name="ServletByExt">
> 
> ObjectType fn="force-type" type="magnus-internal/servlet"
> 
> Service type="magnus-internal/servlet" fn="NSServletService"
> 
> </Object>
> 
> 
> 
> <Object name="es-internal">
> 
> PathCheck fn="check-acl" acl="es-internal"
> 
> </Object>
> 
> 
> 
> <Object name="servlet">
> 
> ObjectType fn=force-type type=text/plain
> 
> Service fn="jk_service" worker="ajp12"
> 
> </Object>
> 
> 
> 
> 
> 
> workers:
> 
> 
> 
> 
> 
> 
> 
> # - A jni inprocess worker.
> 
> # - A load balancer worker
> 
> #
> 
> # However by default the plugins will only use the ajp12 worker. To have
> 
> # the plugins use other workers you should modify the worker.list property.
> 
> #
> 
> #
> 
> 
> 
> #
> 
> # workers.tomcat_home should point to the location where you
> 
> # installed tomcat. This is where you have your conf, webapps and lib
> 
> # directories.
> 
> #
> 
> ##999 workers.tomcat_home=c:\jakarta-tomcat
> 
> workers.tomcat_home=E:\Tools\Servlet_Jsp\Tomcat
> 
> #
> 
> # workers.java_home should point to your Java installation. Normally
> 
> # you should have a bin and lib directories beneath it.
> 
> #
> 
> #999 workers.java_home=c:\jdk1.2.2
> 
> workers.java_home=E:\Tools\Jdk\jdk1.2.2
> 
> 
> 
> #
> 
> # You should configure your environment slash... ps=\ on NT and / on UNIX
> 
> # and maybe something different elsewhere.
> 
> #
> 
> ps=\
> 
> # ps=/
> 
> 
> 
> #
> 
> #------ ADVANCED MODE ------------------------------------------------
> 
> #---------------------------------------------------------------------
> 
> #
> 
> 
> 
> #
> 
> #------ DEFAULT worket list ------------------------------------------
> 
> #---------------------------------------------------------------------
> 
> #
> 
> #
> 
> # The workers that your plugins should create and work with
> 
> #
> 
> worker.list=ajp12, ajp13
> 
> 
> 
> #
> 
> #------ DEFAULT ajp12 WORKER DEFINITION ------------------------------
> 
> #---------------------------------------------------------------------
> 
> #
> 
> 
> 
> #
> 
> # Defining a worker named ajp12 and of type ajp12
> 
> # Note that the name and the type do not have to match.
> 
> #
> 
> worker.ajp12.port=8007
> 
> worker.ajp12.host=localhost
> 
> worker.ajp12.type=ajp12
> 
> #
> 
> # Specifies the load balance factor when used with
> 
> # a load balancing worker.
> 
> # Note:
> 
> #  ----> lbfactor must be > 0
> 
> #  ----> Low lbfactor means less work done by the worker.
> 
> worker.ajp12.lbfactor=1
> 
> 
> 
> #
> 
> #------ DEFAULT ajp13 WORKER DEFINITION ------------------------------
> 
> #---------------------------------------------------------------------
> 
> #
> 
> 
> 
> #
> 
> # Defining a worker named ajp13 and of type ajp13
> 
> # Note that the name and the type do not have to match.
> 
> #
> 
> worker.ajp13.port=8009
> 
> worker.ajp13.host=localhost
> 
> worker.ajp13.type=ajp13
> 
> #
> 
> # Specifies the load balance factor when used with
> 
> # a load balancing worker.
> 
> # Note:
> 
> #  ----> lbfactor must be > 0
> 
> #  ----> Low lbfactor means less work done by the worker.
> 
> worker.ajp13.lbfactor=1
> 
> 
> 
> #
> 
> # Specify the size of the open connection cache.
> 
> #worker.ajp13.cachesize
> 
> 
> 
> #
> 
> #------ DEFAULT LOAD BALANCER WORKER DEFINITION ----------------------
> 
> #---------------------------------------------------------------------
> 
> #
> 
> 
> 
> #
> 
> # The loadbalancer (type lb) workers perform wighted round-robin
> 
> # load balancing with sticky sessions.
> 
> # Note:
> 
> #  ----> If a worker dies, the load balancer will check its state
> 
> #        once in a while. Until then all work is redirected to peer
> 
> #        workers.
> 
> worker.loadbalancer.type=lb
> 
> worker.loadbalancer.balanced_workers=ajp12, ajp13
> 
> 
> 
> 
> 
> #
> 
> #------ DEFAULT JNI WORKER DEFINITION---------------------------------
> 
> #---------------------------------------------------------------------
> 
> #
> 
> 
> 
> #
> 
> # Defining a worker named inprocess and of type jni
> 
> # Note that the name and the type do not have to match.
> 
> #
> 
> worker.inprocess.type=jni
> 
> 
> 
> #
> 
> #------ CLASSPATH DEFINITION -----------------------------------------
> 
> #---------------------------------------------------------------------
> 
> #
> 
> 
> 
> #
> 
> # Additional class path components.
> 
> #
> 
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes
> 
> 
> 
> #
> 
> # The XML parser provided with Tomcat
> 
> #
> 
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
> 
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar
> 
> 
> 
> #
> 
> # Tomcat's implementation
> 
> #
> 
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar
> 
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar
> 
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar
> 
> 
> 
> #
> 
> # Javac as available from Java2SE
> 
> #
> 
> worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar
> 
> 
> 
> #
> 
> # Setting the command line for tomcat
> 
> # Note: The cmd_line string may not contain spaces.
> 
> #
> 
> worker.inprocess.cmd_line=-config
> 
> worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml
> 
> worker.inprocess.cmd_line=-home
> 
> worker.inprocess.cmd_line=$(workers.tomcat_home)
> 
> 
> 
> #
> 
> # The JVM that we are about to use
> 
> #
> 
> # This is for Java2
> 
> #
> 
> worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
> 
> 
> 
> #
> 
> # And this is for jdk1.1.X
> 
> #
> 
> #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll
> 
> #
> 
> 
> 
> #
> 
> # Setting the place for the stdout and stderr of tomcat
> 
> #
> 
> worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout
> 
> worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr
> 
> 
> 
> #
> 
> # Setting the tomcat.home Java property
> 
> #
> 
> worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)
> 
> 
> 
> #
> 
> # Java system properties
> 
> #
> 
> # worker.inprocess.sysprops=java.compiler=NONE
> 
> # worker.inprocess.sysprops=myprop=mypropvalue
> 
> 
> 
> #
> 
> # Additional path components.
> 
> #
> 
> # worker.inprocess.ld_path=d:$(ps)SQLLIB$(ps)bin
> 
> #
> 
> 
> 
> 
> 
> 
> _
> 
> 
> 
> 
> 
> 
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> Share information about yourself, create your own public profile at 
> http://profiles.msn.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>