Mmmm .... I think I'm getting somewhere:

I added that line to server.xml, and moved the webstats directory into
applications just to be on the safe side.

The Orion server failed to initialise, so I created a file called
application.xml and put it in the META-INF directory that Orion created
inside WebStats.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application
runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd">

<!-- The global application config that is the parent of all the other
     applications in this server. -->
<orion-application>

</orion-application>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


The server starts up OK now, but I still can't serve any JSP pages; I get
the following error:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error instantiating web-application
No web-app named 'WebStats' found in application 'WebStats'
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Do I have to pack the whole thing up into a JAR file or something?



                                                                                       
                                                        
                    David Sierra                                                       
                                                        
                    Fernandez                To:     Raymond Offiah/INT/DoctorsMess    
                                                        
                    <[EMAIL PROTECTED]        cc:     Orion-Interest 
<[EMAIL PROTECTED]>                                           
                    el.uva.es>               Subject:     Re: Problem running JSP 
files                                                        
                                                                                       
                                                        
                    09/06/00 19:03                                                     
                                                        
                                                                                       
                                                        
                                                                                       
                                                        





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.








Reply via email to