Right, but a headache to change ports for each installation and god help you if you don't set CATALINA_HOME right when you bounce your own server. I know - I have three instances running on a client machine and I keep getting confused and bringing down the production instance much to the annoyance of my users ...

To add to the post from Will, you can create separate directories under the <Host> appBase, one for each developer. Then, the developers just drop in the XML descriptor files in the appBase directory, and point the <Context>s to the right places in their own directory structure. One thing to consider is that you might want to point your <Host> appBase to root of your development directory structure, rather than having your developers work within the Tomcat directory structure. Messy, yucky, bad.

Lajos


Filip Hanik wrote:
I totally agree with John,
Tomcat has such a small footpring, so it doesn't make sense sharing one between developers,
you are only creating overhead for yourself and others in your org.

Filip

-----Original Message-----
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 1:22 PM
To: 'Tomcat Users List'
Subject: RE: server-*.xml



Well, you're still going to need to stop/start Tomcat to pick up new changes
to the included files.  Wouldn't it be better to just give each one of them
their own Tomcat instance?  That way, Developer A's requirement that Tomcat
be bounced to pick up his changes doesn't effect Developer B.

John


-----Original Message-----
From: Steve Bucknam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 4:15 PM
To: Tomcat Users List
Subject: RE: server-*.xml


I have one Tomcat server for many developers. Each developer needs
there own host web app. Each webapp has it's own name. I could use the
default mechanism of http://localhost:8080/<war-file-name>/, but then I
can't allow each developer to specify a custom realm unless they are all
editing the same server.xml file. I don't want to do this. I'd much
rather have developers create their own server-*.xml file.

Thanks,

Steve

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 4:07 PM
To: Tomcat Users List
Subject: RE: server-*.xml


Hi,


I want to create multiple contexts for a single server using
the same
port on Tomcat 4.1.18.
OK.


I need to accomplish this through multiple
config (server.xml) files.
Why?

Yoav Shapira
Millennium ChemInformatics

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


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


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


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



--



                   Lajos Moczar
      ----------------------------------------
    Open Source Support, Consulting and Training
      ----------------------------------------
            Cocoon Developer's Handbook
 (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

                   _      _____
                  / \         /
                 /___\      /
                /     \   /____

     http://www.galatea.com -- powered by AzSSL


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

Reply via email to