You are just running a web application not a full j2ee application, so you
have to add an entry into config/application.xml which is the default
application for orion.

all you have to do is make an entry that looks like:
 <web-module id="TestSite" path="../applications/TestSite" />

*This is assuming that your testsite is in a directory in
$ORION/applications called 'TestSite'

you don't need the entry in default-web-app.  or the web-app directive in
TestSite.xml 

all you need to set in TestSite.xml is
<default-web-app application="default" name="TestSite" />

Your server.xml setting looks ok.

That should get you going.  :)

-Lkb

On Tue, 7 Nov 2000, 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/
> 


Reply via email to