----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Thank you for your very helpful post, Garrison! Your idea is intriguing and
may be what we need since we may just run BOTH states from the one
production Apache/Jserv instance using the Virtual Host scheme.

Let me add some kickers in it. One advantage I see with this setup lies in
the fact that the servlets can work for BOTH states; the only difference is
the properties file the java calls to make DB connections, default numerical
values, etc.  One problem is that the call to the properties file is
something like /propertyname.properties. When we ran this setup on Sun's
Java Web Server, it defaulted to the root directory of of the Java Web
Server subdirectory. When we ported everything to Redhat Apache/Jserv, I had
to put the properties file in the root directory of the file system. So, the
only differnce I can see is that I may have to somehow redirect the java
embedded property calls for state1 to the state1.properties file (not the
servlet properties, mind you, but the java properties) and state2 java
properties calls to the state2.properties file.

Does this sound possilble on a server side configuration change rather than
changing the classes (thereby losing one advantage of the Virtual Host
setup)? I was thinking of some sort of URL redirect or mod_rewrite (maybe?
not sure).

Ben Ricker
US-Rx






--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to