I am in the process of making a proposal to my web hosting service to include Tomcat (basically so I can use Struts).  They are an NT shop but are ammenable to suggestions.  Here are basically the requirements:
 
The directory structure of accounts look something like this:
    \home
        \user-1
            \domain-1
            \domain-2
            ...
            \domain-x
        \user-2
            \domain-1
            \domain-2
        ...
        \user-n
 
(1) I would like to see the service allow me to deploy a webapp WAR file to my user account under one of my domains.
 
(2) Once I deploy, I'd like to have the changes immediately take affect on my site without affecting other user accounts.
 
(3) My context and class path should only pertain to me.
 
I believe accomplishing (1) & (3) are trivial.  However, I have limited ideas on how (2) can be accomplished.  The only solution I can think of is writing some simple scripts that performs JNI or JMQ (or some other messaging scheme) that talks to an administrative unit that does the work of starting/stopping my instance of tomcat.  Any thoughts on this?
 
Also, I'd to keep the system as autonomous as possible so that as new user accounts and user account domains come into the picture, no other configuration files need updating. 
 
So tell me, is this all a pipe dream or do people think this can be accomplished?
 
 
 

Reply via email to