Tomcat in a Hosted Environment

2001-05-30 Thread Jeff Trent



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?





RE: Tomcat in a Hosted Environment

2001-05-30 Thread Martin van den Bemt

Probably not a solution for you, but giving it anyway :

Run for everyone a seperate tomcat on a different portnumber (we use this
for our developers..). The urls already look horrible, so the port number
shouldn't be an issue. The question is if you want a huge range of
portnumbers open (we have 4 for each installation : apache 1, apache + ssl
1, tomcat standalone 1, tomcat with apache 1). Just an idea..

Tomcat 4 is much better in achieving what you want, but this is not final
yet and cannot go final if the new servlet /jsp spec is not final..

Mvgr,
Martin

-Original Message-
From: Jeff Trent [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 6:28 PM
To: [EMAIL PROTECTED]
Subject: Tomcat in a Hosted Environment


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?