Need help for redirector of iplanet to Tomcat

2000-11-15 Thread Bo Yang



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" 

Re: Need help for redirector of iplanet to Tomcat

2000-11-15 Thread bo yang

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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Need help for redirector of iplanet to Tomcat

2000-11-15 Thread cmanolache

 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




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]