|
Protomatter Classes v1.1.6 | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
PASCore | The PAS Core. |
PASPropertyUtil | A utility class for parsing properties files. |
PASServlet | The PAS Servlet. |
A simple Application Server. It is intended to be used in conjunction with the Apache JServ servlet engine, but should work with pretty-much any servlet engine.
This will cause the contents of filename to be read into this file in-place. The imported file can also import other files, but be careful, since circular references are not checked and could result in an infinite loop. Importing other files is a nice way to segment configurations for different projects.Import filename
SyslogXML.configure()
method.
com.protomatter.jdbc.pool.PASJdbcPoolStartup
(startup class)com.protomatter.jdbc.pool.PASJdbcPoolShutdown
(shutdown class)
PAS works very well with JServ, and can be used independantly in different servlet zones. This is a very important feature, as it means that one instance of JServ can support multiple PAS instances, one per zone. For this to work, you must have your wrapper.classpath set to only include the JDK's classes.zip, the JServ jar file, and the JSDK jar file. For each zone, you must then set the "repositories" property in the configuration file for that zone to be the list of all the jar files, zip files and directories you are going to need classes from for anything that you're doing in that zone. This works because JServ uses a separate classloader for each servlet zone.
To configure PAS to run in a given zone, add the following properties to the zone's configuration file:
PAS will be started when the zone it's defined in is loaded by JServ.## add PAS to the list of servlets to start when JServ starts servlets.startup=PAS ... ## define the PAS servlet, and give PAS its startup args servlet.PAS.code=com.protomatter.pas.PASServlet servlet.PAS.initArgs=properties=/path/to/pas.properties
|
Protomatter Classes v1.1.6 Copyright 1998-2001 Nate Sammons |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |