----- Original Message -----
Sent: Tuesday, February 27, 2001 5:27
PM
Subject: multiple apps
Dear all,
I'm having some trouble getting multiple copies
of an app to run where
i use different <appname>-web-site.xml
files.
I don't have a problem where i configure all
the information within
server.xml and default-web-site.xml, but i want
to use different
web-site.xml files so that i can do
clustering.
I do the following:
1. copy/paste the application within
\orion\applications.
e.g.
\orion\applications\copy1
\orion\applications\copy2
2. create 2 web-site.xml files
e.g.
\orion\config\copy1-web-site.xml
\orion\config\copy2-web-site.xml
3. put a reference to the web-site files in
server.xml
<web-site path="./copy1-web-site.xml"
/>
<web-site path="./copy2-web-site.xml" />
4. put a reference to the 2 applications in
server.xml
<application name="copy1"
path="..\applications\copy1"/>
<application name="copy2"
path="..\applications\copy2"/>
Questions
a) I can run the copy1 app in my browser,
but not copy2.
b) If i comment out copy1, then for some
reason i can run copy2.
c) If i uncomment copy1, then copy1 starts
working, and copy2 is not accessible.
d) I don't get any error messages relating
to not being able to access copy1 or copy2.
Does anyone know what i might be doing
wrong?
Thanks,
Greg