Hello all,
I have just set up tomcat to run on netware 5.1 sp1, all 
the samples work fine.  Next step is to get the 
NSAPI_RD.nlm working with the Enterprise server running on 
NetWare.  I have made the following modifications to the 
obj.conf file:

Init fn="load-modules" funcs="jk_init,jk_service" 
shlib="/system/nsapi_rd.nlm"
Init fn="jk_init" 
worker_file="sys:java/tomcat/conf/workers.properties" 
log_level="debug" log_file="sys:java/tomcat/nsapi.log"

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

<Object name=servlet> 
ObjectType fn=force-type type=text/plain 
Service fn="jk_service" worker="ajp12" 
</Object> 

when the enterprise server is restarted, the nsapi_rd.nlm 
is loaded and points to the correct config files, but 
now my Enterprise server has quit working all together :( 
(no web serving at all)...

I removed all entries for websphere, and turned off the 
servlet gateway built into the enterprise server maybe this 
is what killed the web server????  I have attached the 
whole obj.conf below (sorry for the bandwidth)....

Any ideas?  Also is the source available to the NLMs? found 
in the binary tree under netware?

any help appreciated...
later,
-b

# Netscape Communications Corporation - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.

Init fn="load-types" mime-types="mime.types"
Init fn="cache-init" PollInterval="100000" MaxTotalCachedFileSize="130000" 
MaxNumberOfOpenCachedFiles="13000" MaxNumberOfCachedFiles="13000"
Init fn="load-modules" funcs="lcgi_map_init,lcgi_map" shlib="sys:/system/nslcgi.nlm"
Init fn="lcgi_map_init" PERL_ROOT="SYS:novonyx/suitespot/docs/perlroot" 
CONFIG_DIR="/NOVONYX/SUITESPOT/https-EASPROJECTS/config/"
Init funcs="nw_home" shlib="/novonyx/suitespot/plugins/nwhdir/nwhdir.nlm" 
fn="load-modules"
Init funcs="dav-authtrans,dav-nametrans,dav-pathcheck,dav-objecttype,dav-service" 
shlib="SYS:SYSTEM/webdav.NLM" fn="load-modules"
Init fn="load-modules" funcs="jk_init,jk_service" shlib="/system/nsapi_rd.nlm"
Init fn="jk_init" worker_file="sys:java/tomcat/conf/workers.properties" 
log_level="debug" log_file="sys:java/tomcat/nsapi.log"

<Object name="default">
AuthTrans fn="dav-authtrans"
NameTrans fn="pfx2dir" from="/novellsearch" dir="sys:/nsearch/docs"
NameTrans fn="assign-name" from="/nwservlet/*" name="servlet"
NameTrans fn="assign-name" from="/servlet/*" name="servlet"
NameTrans fn="assign-name" from="/examples/*" name="servlet"
NameTrans fn="assign-name" name="asp2lcgi" from="*.asp"
NameTrans fn="assign-name" name="asp2lcgi" from="*.nsp"
NameTrans fn="assign-name" name="nds" from="/My Network*"
NameTrans fn="pfx2dir" from="/ns-icons" dir="/novonyx/suitespot/ns-icons"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/novonyx/suitespot/ns-icons"
NameTrans fn="pfx2dir" from="/lcgi" dir="/novonyx/suitespot/lcgi-bin" name="lcgi"
NameTrans fn="pfx2dir" from="/webdav" dir="/novonyx/suitespot/bin/webdav"
NameTrans fn="pfx2dir" from="/netbasic" dir="/netbasic/lcgi/cgi2nmx.nlm" name="lcgi"
NameTrans fn="pfx2dir" from="/perl" dir="/perl/lcgi/cgi2perl.nlm" name="lcgi"
NameTrans fn="pfx2dir" from="/nsn" dir="/nsn/lcgi/cgi2ucs.nlm" name="lcgi"
NameTrans fn="pfx2dir" from="/san" dir="data:/san"
NameTrans fn="pfx2dir" from="/sp" dir="/nsn/lcgi/scrptpgs.nlm" name="lcgi"
NameTrans fn="pfx2dir" from="/se" dir="/novonyx/suitespot/lcgi-bin/sewse.nlm" 
name="lcgi"
NameTrans fn="nw_home" from="/~" subdir="public.www"
NameTrans fn="document-root" address="134.53.131.8" port="443" 
root="/novonyx/suitespot/docs" secure="1" ssl2="0" ssl3="0" secure_auth="0"
NameTrans fn="document-root" root="/novonyx/suitespot/docs"
NameTrans fn="dav-nametrans"
PathCheck fn="find-pathinfo"
PathCheck fn="nw-uri-clean"
PathCheck fn="find-index" index-names="index.html,home.html"
PathCheck fn="dav-pathcheck"
PathCheck fn="auth_exit"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
ObjectType fn="dav-objecttype"
Service fn="service_exit"
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/lcgi" fn="send-lcgi"
Service fn="dav-service" 
method="(PROPFIND|PROPPATCH|MKCOL|DELETE|PUT|COPY|MOVE|LOCK|UNLOCK|OPTIONS)"
Service fn="parse-html" type="magnus-internal/parsed-html" method="(GET|HEAD)"
Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
</Object>

<Object name="asp2lcgi">
ObjectType fn="force-type" type="magnus-internal/lcgi"
Service fn="send-lcgi" lcgipath="/nsn/lcgi/scrptpgs.nlm"
</Object>

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

<Object name="nds">
Service fn="dav-service" method="(GET|POST|HEAD)"
</Object>

<Object name=servlet> 
ObjectType fn=force-type type=text/plain 
Service fn="jk_service" worker="ajp12" 
</Object> 

Reply via email to