Judging from the error message you're probably not defining the TestSite
application. Add <application name="TestSite" path="x" /> to server.xml
where x is the path to the root directory of your application or the path
to your .ear file if you're using one...

-t

On Tue, Nov 07, 2000 at 07:36:18AM -0800, Thomas DeBruycker wrote:
> This is my second post for this question.  Are most
> users of Orion only using the default-web-app 
> site to deploy their applications?  It seems like it
> should be a simple thing to add another site.
> 
> 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/

-- 

   Tony Abbott                          [EMAIL PROTECTED]


Reply via email to