orion/config/default-web-site.xml:
<default-web-app application="default" name="defaultWebApp" /> --> <default-web-app
application="pussycat" name="defaultWebApp" />
You may also have problems as you are running two websites that are both listening on
port 80 to all hosts:
<web-site path="./pussycat-web-site.xml" />
<web-site path="./default-web-site.xml" />
You may need to change orion/config/default-web-site.xml:
<web-site host="[all]" port="80" display-name="Default Orion WebSite"> -> <web-site
host="[all]" port="8080" display-name="Default Orion WebSite">
All you examples should then be available on port 8080.
I think this is right.
What you should have done is left the default-application as "default" in server.xml,
and then don't worry about the extra web-site. You can then add extra web-apps in
default-web-site.xml
If I haven't explained things properly, let me know and I'll write a full example.
Scott
>>> [EMAIL PROTECTED] 05/03/01 08:56am >>>
I managed to deploy a website/app but in so doing, broke the default website
with all the nice jsp examples. I would like to use that default app to test
and learn about jsp and plug modified versions into my app.
now i get this error from orion:
Error initializing site Default Orion WebSite: No application named 'default'
found in the server
how do i unbreak the default web app and keep it working alongside my app -
and KISS?
thanks in advance.
Joey,
newbie in distress
relevent config files:
orion/config/server.xml:
...
<global-application name="pussycat" path="application.xml" />
<!-- <global-application name="default" path="application.xml" /> can't do
this-->
<global-web-app-config path="global-web-application.xml" />
<web-site path="./pussycat-web-site.xml" />
<web-site path="./default-web-site.xml" />
...
orion/config/application.xml:
...
<orion-application>
<web-module id="pussycat" path="../applications/pussycat" />
<web-module id="defaultWebApp" path="../applications/default-web-app" />
...
orion/config/default-web-site.xml:
...
<web-site host="[all]" port="80" display-name="Default Orion WebSite">
<default-web-app application="default" name="defaultWebApp" />
</web-site>
orion/config/pussycat-web-site.xml:
...
<web-site host="[all]" port="80" display-name="Pussycat Web Study"
virtual-hosts="localhost"
>
<default-web-app application="pussycat" name="pussycat" />
<!-- <default-web-app application="pussycat" name="defaultWebApp" /> can't do
this-->
...
</web-site>
server.xml:
...
<application-server
application-directory="../applications"
deployment-directory="../application-deployments"
>
...
<global-application name="pussycat" path="application.xml" />
<!-- <global-application name="default" path="application.xml" /> can't do
this-->
<global-web-app-config path="global-web-application.xml" />
<web-site path="./pussycat-web-site.xml" />
<web-site path="./default-web-site.xml" />
...
end
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1