Consultor Eletrônico



Kbase 19100: Settings on Apache JServ configuration files
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/3/1999
Settings on Apache JServ configuration files


SUMMARY: Setting on the Apache JServ configuration files

Knowledge Base number: 19100
Creation Date: 3-Sep-1999
Author: Enrique Birlanga
This document applies to: Apache JServ and Apptivity
Version and Release Number:
Apptivity 3.1 Build 221, Apache Webserver 1.3.6 & JServ 1.0.


INTRODUCTION:
This will show which entries should be modified/added to the
configuration files in order to be able to run the
shopcart application on a deployment environment.

Please, be aware that this document is for informational
purposes only and no claim can be done to the author for
any possible damage that it may cost. It?s at the own risk
of the user.

First you need to configure your Apache webserver and the
Apache Jserv servlet engine. You may download all the files
as well as the documentation from http://www.apache.org

The Apache webserver?s configuration files have been installed
under f:\Program Files\Apache Group\Apache and the Apache
Jserv servlet engine files under
f:\Program Files\Apache Group\Apache Jserv\.
The apptivity installation has been done under e:\Apptivity31.

On the httpd.conf file you need to modify the following
entries to point to your configuration settings:
Alias /ApptivityHelp "e:/Apptivity31/help"
Alias /Apptivity/images "e:/Apptivity31/public_html/
Apptivity/images"
Alias /redist "e:/Apptivity31/Server/redist"
ScriptAlias /cgi-bin/ "f:/Program Files/Apache Group/
Apache/cgi-bin/"
include "f:\Program Files\Apache Group\Apache JServconf\mod_jserv.conf"

At this moment, you should be able to see the Apptivity
documentation.
In order to test your webserver you may introduce in your
favorite browser http://loaner12/ where loaner12 should
be replaced with the name of your host.

Now, let?s configure the Apache servlet engine. The
configuration files are under the directory
f:\Program Files\Apache Group\ Apache Jserv\conf\. To
configure this, please review the Apache Jserv Documentation
regarding this subject. The following hints apply in order
to configure the Jserv servlet engine to work with the
shopcart application.

On the mod_jser.con add the following entries:
ApJServProperties "f:\Program Files\Apache GroupApache JServ\conf\jserv.properties"
ApJServDefaultHost loaner12
ApJServMount /servlets /root
ApJServMount /servlet /root
ApJServMount /go /root
SetHandler jserv-status

order allow,deny

On the zone.pro add the following entries:
repositories=f:\Program Files\Apache Group\Apache JServservlets
# Servlet Aliases
##################
servlet.shopcart.code=shopcartServlet
# Aliased Servlet Init Parameters
##################################
servlet.shopcart.initArgs=filename=f:\Program FilesApache Group\Apache JServ\servlets\shopcart.properties

On the zone.pro add the following entries:
wrapper.bin=e:\apptivity31\java\bin\java.exe
wrapper.classpath=f:\Program Files\Apache GroupApache JServ\ApacheJServ.jar
wrapper.classpath=e:\apptivity31\javax\lib\jsdk.jar
wrapper.classpath=e:\apptivity31
wrapper.classpath=e:\apptivity31\OrbixWeb
wrapper.classpath=f:\Program Files\Apache GroupApache JServ\servlets
security.allowedAddresses=127.0.0.1,loaner12

Once set the Apache Jserv servlet engine you should
be able to test it with the following command from
your favorite browser:
http://loaner12/servlet/IsItWorking

To take a look at the configuration itself type:
http://loaner12/jserv/


REFERENCES TO WRITTEN DOCUMENTATION:
Own documentation on Apache Webserver and JServ.
http://www.apache.org


EBI (3-SEP-1999)

Progress Software Technical Support Note # 19100