File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat 4.1 DEV instance on multiple partition NT Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 4.1 DEV instance on multiple partition NT Server" Watch "Tomcat 4.1 DEV instance on multiple partition NT Server" New topic

Tomcat 4.1 DEV instance on multiple partition NT Server

DC Dalton
Ranch Hand

Joined: May 28, 2001
Posts: 287
OK, this is a tough one to explain but bear with me. I have been contacted by a potential client who is attempting to set up Tomcat 4.1? Dev on an NT server with ONE instance that services multiple partitions. The guy sounds like he knows what hes doing on servers so Im taking him at his word here. The problem is the examples run just fine but anything in any of the partitions throws a 404 error. He says he has the Catalina_Base variable set up along with the Catalina_Home. As I said the examples run thoughts are he hasnt set up one of the XML files correctly. Im going down there over the weekend to look at this & could use any help putting together a "bug list" before I go instead of floundering around.. The Jakarta instructions, although clear & to the point make me feel somethings missing here as all they discuss is the Catalina_Base when using it across multiple server paritions.... The other thing that bothers me is the fact that the only way to get the Tomcat index.jsp page to come up is by typing the IP:8080 which I know darn well isnt right. Ive used Tomcat on several hosting companies & NEVER had to ad :8080 to my URLs. Any & All help would be appreciated as this could lead to some real work for myself....I do appreciate it.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

1. "Dev" == "Development system???
2. I think by "partition", you mean running multiple Tomcats on the same copy of the OS - something that can be done under Catalina by having a master Tomcat config file plus the config files that define the setups and webapps for each Tomcat instance. BTW, you have to have a unique ip/port address for each Tomcat, no sharing allowed!
This isn't some sort of clustering configuration. Any clustering you want from Tomcat is going to be because you or a 3d party wrote something to do the clustering manually - Tomcat isn't like the expensive systems. So typically, you might run a production system under one Tomcat on port 80 and a test system on port 8080. There are few situations where it's advantageous to run multiple Tomcats unless where you are afraid of having one die and take multiple webapps down, since each Tomcat carries the overhead of a separate Java VM.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Tomcat 4.1 DEV instance on multiple partition NT Server
It's not a secret anymore!