cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego Amicabile <diego...@yahoo.it>
Subject Installing Cocoon on Orion
Date Mon, 05 Mar 2001 17:05:32 GMT
Hi everybody,

I just succesfully installed Cocoon on this platform :

Operating System : Windows NT 4.0 SP6a  
Application Server : Orion 1.4.5
Servlet engine : Orion 1.4.5
JVM : Sun JDK 1.3

Here are the steps I took :

/orion/config/server.xml
  Added the line
  <application name="cocoon"  
path="../applications/cocoon" />

/orion/config/default-web-site.xml
  Added the line
  <web-app application="cocoon" name="cocoon-web"
root="/cocoon" />

I copied the *.jar files from the cocoon distribution
into the /orion/lib directory

I created the directories

/orion/applications/cocoon
/orion/applications/cocoon/cocoon-web

I copied the files :
1
 $COCOON_HOME/src/WEB-INF/web.xml -->  
 /orion/applications/cocoon/cocoon-web/WEB-INF/web.xml
2
 $COCOON_HOME/conf/cocoon.properties --> 

/orion/applications/cocoon/cocoon-web/WEB-INF/cocoon.properties

I modified the web.xml this way :
   <param-name>properties</param-name>
  
<param-value>/WEB-INF/cocoon.properties</param-value>

I created the file 
/orion/applications/cocoon/application.xml (following)

------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems,
Inc.//DTD J2EE Application 1.2//EN"
"http://java.sun.com/j2ee/dtds/application_1_2.dtd">

<application>
   <display-name>Cocoon servlet</display-name>
   <description>Cocoon</description>
   <module>
      <web>
         <web-uri>cocoon-web</web-uri>
         <context-root>/cocoon</context-root>
      </web>
   </module>
</application>

------------------------------------------------

I copied the files 
  $COCOON_HOME/samples -->
  /orion/applications/cocoon/cocoon-web/servlets

I started the orion Application server.


I was able to read 
http://localhost/cocoon/Cocoon.xml and
http://localhost/cocoon/servlets/index.xml 

Greetings 
Diego Amicabile

______________________________________________________________________
Do You Yahoo!?
Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it

Mime
View raw message