[ 
http://issues.apache.org/jira/browse/CACTUS-207?page=comments#action_63733 ]
     
Gili commented on CACTUS-207:
-----------------------------

I'm not familiar with what format documentation patches take. I would just add 
a new section to the aforementioned documentation, something like this:

Multiple Instances of Tomcat on the Same Machine
------------------------------------------------

If you already have an instance of Tomcat running on your machine and you want 
to deploy your tests on a second instance please take note of the following 
issues:

1) Each instance of Tomcat must use different ports. Specifically, you must 
ensure that each instance uses a different <Server> port in its server.xml. 
Once this is done, be sure to configure Cactus to use your external server.xml 
instead of the built-in one (attribute "serverxml" if you are using the Ant 
task).

2) Ensure that your META-INF/context.xml does not contain a "docBase" or else 
Tomcat will fail to deploy your application.


That's about it :) I'm sure it can be cleaned up a bit but it covers the gist 
of it.

> Discuss deploying 2nd Tomcat instance in tutorial
> -------------------------------------------------
>
>          Key: CACTUS-207
>          URL: http://issues.apache.org/jira/browse/CACTUS-207
>      Project: Cactus
>         Type: Improvement
>   Components: Documentation
>     Versions: 1.7
>     Reporter: Gili

>
> The tutorial URL is: 
> http://jakarta.apache.org/cactus/integration/howto_tomcat.html
> The problem is that when one must deploy a 2nd instance of Tomcat on the same 
> computer (because one already exists) for Cactus, one must use a customize 
> server.xml instead of using the built-in one. First, the documentation should 
> discuss this (it isn't obvious).
> Secondly, please warn the user that his META-INF/context.xml must not contain 
> a "docBase" attribute or he'll get deployment problems. All of this stuff 
> isn't obvious and there isn't much that can be found on Google to help 
> newbies out. We should really document all of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to