Johnson wrote:
Hi!

I want to run two cocoons in a tomcat, how to set it.

Best Regards

johnson

According to <http://wiki.apache.org/cocoon/CocoonEasyInstallation> you could just configure them in server.xml like

<Engine defaultHost="localhost" name="Catalina">
  [...]

  <Host appBase="../SomeDir1" name="cocoon1">
    <Logger className="org.apache.catalina.logger.FileLogger"
            prefix="cocoon_log." suffix=".txt" timestamp="true"/>
  </Host>

  <Host appBase="../SomeDir2" name="cocoon2">
    <Logger className="org.apache.catalina.logger.FileLogger"
            prefix="cocoon_log." suffix=".txt" timestamp="true"/>
  </Host>

  [...]
</Engine>

then install them in their folders SomeDir1 resp SomeDir2

  $tomcat-hoome
  SomeDir1
  SomeDir2

and don't forget to rename them ROOT, so that you have:

  $tomcat-hoome
  SomeDir1/ROOT/
  SomeDir2/ROOT/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]