I installed Orion 0.9.4 today and couldn't get it working with a different document-root.  Since I'm often installing new versions of Orion and also testing my stuff with other servers, I don't like to have my *.html, *.jsp, etc. files under the Orion directory tree.  I'm trying to set my document root for the default web app to "c:\web" but I get the following error:
 
C:\orion94>java -jar orion.jar
Error starting HttpServer: Error initializing site file:/C:/orion94/config/defau
lt-web-site.xml: Error loading web-app 'defaultWebApp' at C:\orion94\default-web
-app: document-root can only be used when using standalone configs, Servlet 2.2
packaged apps have a preset root
Orion/0.9.4 initialized.
 
I modified default-web-app/web-inf/orion-web.xml with the following snippet (adding only the document-root line which worked under 0.9.2)
:
 
<orion-web-app
deployment-version="0.9.4"
jsp-cache-directory="./persistence"
temporary-directory="./temp"
servlet-webdir="/servlet/"
document-root="c:\web"
>
 
 
Any help would be greatly appreciated.
Thanks!
 
Brien Voorhees
 
 

Reply via email to