I have been able to deploy servlets and JSPs under the default application, website and web application (i.e. throwing *.jsp in orion/default-web-app directory and the servlets into orion/servlets directory works fine). I am now trying to deploy a web-app to a non-default website. I get to the point where orion seems to initialize fine with the following output: C:\orion>java -jar orion.jar Auto-deploying Test Web Application... Orion/0.9.4 initialized but I am unable to get any of the pages of the test web app from the site (note that http://localhost does show the orion info page). I have orion installed to c:\orion, and the site I want to serve is c:\testsite (this is ../../testsite from c:\orion\config). Here is the directory layout: c:\orion c:\orion\config c:\orion\config\server.xml c:\testsite c:\testsite\web-site.xml c:\testsite\test c:\testsite\test\META-INF c:\testsite\test\META-INF\application.xml c:\testsite\test\testweb c:\testsite\test\testweb\index.html c:\testsite\test\testweb\index.jsp c:\testsite\test\testweb\WEB-INF c:\testsite\test\testweb\WEB-INF\web.xml Here is the configuration of the various XML files (I've omitted irrelevant stuff like comments for brevity): In the original server.xml, I have simply added the following 2 lines inside the <application-server> tag: <web-site path="../../testsite/web-site.xml" /> <application name="Test Application" path="../../testsite/test/" /> In ../../testsite/test/META-INF/application.xml I have: <application> <display-name>Test Web Application</display-name <module> <web> <web-uri>testweb</web-uri> <context-root>/testweb</context-root> </web> </module> </application> Note I don't care about a J2EE application per se at this point; I just want to get a simple web application working first. In ../../testsite/website.xml (which I based on orion/config/default-web-site.xml) I have: <web-site host="[ALL]" port="80" display-name="Test Website"> <default-web-app application="Test Application" name="testweb" /> <web-app application="Test Application" name="Test Web Application" root="/testweb" /> <access-log path="./default-web-access.log" /> </web-site> In ../../testsite/test/testweb/WEB-INF/web.xml I have: <web-app> <display-name>Test Web Application</display-name> <description>used to test that a web application works</description> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app> and that's it. I am just trying to display index.html or index.jsp. I have tried typing in the following URLs in the browser, but I keep getting 404s: http://localhost/testweb http://localhost/testweb/index.html http://localhost/testweb/index.jsp Am I specifying the wrong URL? Are the defaults in the various XML files getting in the way? Is one of these config files wrong? I think I have gotten derailed because of the multiple XML files and also that "name" seems to be an overloaded attribute on alot of the nodes. Any ideas? Thanks, Kit
