Do you have the application defined in config/server.xml?

For instance,
        <application
            name="chat"
            path="/home/shea/work/rsrch/chat/test/stage/"
        />
defines the application 'chat' so that when you use that name
in the web-app element, it is associated with an application.

I suspect but am not sure that you also probably don't want
to mess with the default-web-app element in your new
web site, but I'm out of my depth there.  I recall some
discussion about how the orion default-web-app takes care
of a bunch of details, if I could only remember what they
are!

Hope that is of some help,

        Gary

On Today, Thomas DeBruycker ([EMAIL PROTECTED]) wrote:
> Can someone explain to me (clearly) how to add another
> site to Orion?  I have been successful in deploying
> EJBs and JSPs to the default-web-app location.  But I
> can not figure out how to create another site.  I have
> read all the earlier posting on how to do it but I
> continue to get the error:
> 
> Error initializing site TestSite: No application named
> 
> 'TestSite' found in the server
> 
> The steps if followed were:
> 1) Copied the default-web-site.xml file to
> TestSite.xml.
> 2) Edited TestSite.xml  Set the element
> default-web-app to application="TestSite"
> name="TestSite".  Set the element web-app to
> application="TestSite" name="TestSite"
> root="/TestSite"
> 3) Added the line <web-site path="./TestSite.xml" />
> to server.xml
> 4) Added <web-app application="TestSite"
> name="TestSite" root="/TestSite" /> to
> default-web-app.
> 
> I someone is can point out my error I would appreciate
> it.  Also if someone does post an example (PLEASE!) be
> consistent with file names and site / application
> names.
> 
> The site I am trying to add only contains HTML and
> JSP.  There are no EJBs.
> 
> Thanks in advance.
> 
> Tom D.
> 
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one Place.
> http://shopping.yahoo.com/
> 
> 



Reply via email to