hi magnus

i have no knowledge of novell at all but just searched the archive of this mailing 
list and found the following. all list - sorry for posting it again, but i felt it was 
seemed necessary, as there seem to be lots of netware folks who have probs w/ tomcat.

regards,

-nico

(mailing list archive: http://www.mail-archive.com/ ;)


==========================================================================
> Can you, or anyone provide setup/installation information?
> Thanks
> -jim
>
        Yes.

        Mikko Peltonen wrote the following instructions
at devforums.novell.com. They have worked for me. But,
first of all, download the JVM from Novell.

        Cristian Ramos Prange   

(--------------------------------------------------------)

Subject: Re: Info on Jakarta/Tomcat port to Netware
Date: Fri, 1 Dec 2000 11:56:13 +0200
From: "Mikko Peltonen" <[EMAIL PROTECTED]>
Organization: Another Netscape Collabra Server User
Newsgroups: novell.devsup.jvm
References: 1 , 2 , 3


OK. There seemed not to be any documentation concerning NetWare on the
official release package of Tomcat 3.2, even though there are now
compiled
nlm's, so I'll try to briefly give some instructions:

- Download Tomcat 3.2
(http://jakarta.apache.org/builds/tomcat/release/v3.2/bin/) and extract
it
to SYS volume.
- Add the following lines to sys:\etc\java.cfg and restart JVM:
TOMCAT_HOME=sys:\jakarta-tomcat-3.2
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\ant.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\jasper.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\jaxp.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\parser.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\servlet.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\webserver.jar

- Create sys:\system\tomcat.ncf, and put in it line:
java -Dtomcat.home="sys:/jakarta-tomcat-3.2"
org.apache.tomcat.startup.Tomcat

- Start Tomcat by executing the ncf file you just created

At this point, you should be able to use Tomcat with the Tomcat's
built-in
http server, which by default listens in port 8080. Try pointing your
browser to http://<your-server-ip>:8080/examples/.

If you want to integrate with the Enterprise Server, do the following:

-  Copy the nsapi_rd.nlm file to sys:/jakarta-tomcat-3.2/bin -directory.
This file is the nsapi plugin that handles the communications between
Enterprise Server and Tomcat. By default communication is done through
sockets by using the ajp12 protocol.
-  Disable Novell's Servlet Gateway. Go to Web Manager
(https://<your-server-ip>:2200/), Enterprise Web Server configuration ->
Programs -> Novell Servlet Gateway -> Activate Servlet Gateway=No. Save
&
Apply.
-  Edit the sys:\Novonyx\suitespot\https-SERVERNAME\config\obj.conf. Add
the
following lines.
To the Init section, add:
Init fn="load-modules" funcs="jk_init,jk_service"
shlib="sys:/jakarta-tomcat-3.2/bin/nsapi_rd.nlm"
Init fn="jk_init"
worker_file="sys:/jakarta-tomcat-3.2/conf/workers.properties"
log_level="debug" log_file="sys:/jakarta-tomcat-3.2/logs/nsapi.log"

To the NameTrans section of the default object, add:
NameTrans fn="assign-name" from="/servlet/*" name="servlet"
NameTrans fn="assign-name" from="/examples/*" name="servlet"

To the end of the file, add new "servlet" object:
<Object name="servlet">
ObjectType fn="force-type" type="text/plain"
Service fn="jk_service" worker="ajp12"
</Object>

- Restart Enterprise Server

Now you should be able to get to Tomcat examples through Enterprise
Server
(http://<your-server-ip>/examples/). If you want to configure more
contexts
(URLs) for Tomcat, or want to setup Tomcat to serve only dynamic pages
in
its contexts, additional information can be found from file
sys:\jakarta-tomcat-3.2\doc\tomcat-netscape-howto.html (sections "Adding
Additional Contexts" and "Advanced Config Configuration").
> 

Reply via email to