Try this...

You also have to include your application in orion/config/server.xml:

<application name="webstats"  path="../applications/webstats/" />

and include your application in that directory. Remember that "path" is
the physical route to your application, meanwhile "root" is the virtual
path that you have to write in the URL.


        -------------------------------------------------------------
        David Sierra Fern�ndez
        E.T.S.I. Telecomunicaci�n
        Universidad de Valladolid    AULA CEDETEL
        Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
        47011 Valladolid (SPAIN)
        --------------------------------------------------------------

 -- Sierr@ --

On Fri, 9 Jun 2000 [EMAIL PROTECTED] 
wrote:

> Hi there .... I've managed to install the Orion server (version 1.0) and
> get the examples running.
> 
> Now I want to use some of my old JSP files and JavaBeans (not EJBs).
> 
> All the JSP files are in a directory called 'webstats', which I have copied
> into the Orion directory.
> 
> I made some changes to the default-web-site.xml file:
> 
> 
>----------------------------------------------------------------------------------------------------------
> <?xml version="1.0"?>
> <!DOCTYPE web-site PUBLIC "Orion Web-site" "
> http://www.orionserver.com/dtds/web-site.dtd">
> 
> <web-site host="[ALL]" port="80" display-name="Default Orion WebSite">
>      <!-- The default web-app for this site, bound to the root -->
>      <default-web-app application="default" name="defaultWebApp" />
> 
>      <web-app application="webstats" name="WebStats" root="/webstats" />
> 
>      <!-- Access Log, where requests are logged to -->
>      <access-log path="../log/default-web-access.log" />
> </web-site>
> 
>--------------------------------------------------------------------------------------------------------------
> 
> 
> The tried calling a page with
> 
> http://localhost/webstats/login.jsp
> 
> .... and I get this error
> 
> 
>---------------------------------------------------------------------------------------------------------------
> Error instantiating web-application
> No application named 'webstats' found in the server
> 
>------------------------------------------------------------------------------------------------------------------
> 
> So I think haven't told it where to find the webstats directory ..... how
> do I do this?
> 
> 
> 
> 


Reply via email to