My exact scene is the following:

i have some linux machines with apache for static and
php shared hosting. I want to offer tomcat hosting but
i know that only few clients are going to want it so i
dont want to install and maintain several tomcat
server on all machines. I would like to have a unique
machine with the tomcat server and all apaches
redirecting to it with mod_jk.

I think is better for tomcat clients to have only an
ftp acount for uploading jsp/servlets or phps and
mantain the machines architecture transparent for
them.

any idea? 

 --- Milt Epstein <[EMAIL PROTECTED]> escribió: > On
Mon, 11 Nov 2002, [iso-8859-1] Jose Antonio
> Martinez wrote:
> 
> > but i have the following scene: i have a ftp
> server in the same
> > machine than the apache server, so i use an ftp
> account for
> > uploading my website. i want upload jsp files but
> jpg or php files
> > too. I think the tomcat server need to have jsp
> files localy located
> > , and then i must copy or move the jsp files from
> the apache to the
> > tomcat machine.
> 
> Yes, all the files that are part of the contexts/web
> applications need
> to be on the server running Tomcat.  But that's the
> only place they
> need to be, that is, they don't need to be on the
> server running
> Apache.  Now, it sounds like you have a limitation
> where you can ftp
> to the Apache server and not the Tomcat server, and
> that might affect
> how you do things.  But that is an artifact of that
> ftp limitation,
> not anything to do with the Apache/Tomcat
> architecture you're using.
> 
> 
> > please help me! , am i right?. i am very confused
> at this point.
> 
> Can you clarify exactly what your setup is?  Like
> why you have the
> separate Apache and Tomcat servers, and why you can
> only ftp to the
> Apache server, and such.
> 
> Sounds like the problem is getting things to the
> Tomcat server, not
> keeping them synchronized betweem the Apache and
> Tomcat servers.
> 
> 
> >  --- "Turner, John" <[EMAIL PROTECTED]> escribió: >
> > > It is not necessary to synchronize the
> directories.
> > >
> > > Typically, most people use these mappings for
> Tomcat requests:
> > > "/*.jsp", and "/servlet/*".  Requests for other
> content would
> > > never get to Tomcat.  If you had output from a
> JSP or servlet that
> > > referenced a GIF file, it wouldn't matter.  In
> your output stream,
> > > there would be something like
> > >
> > > <img src="pic.gif">
> > >
> > > The client browser will convert that into
> http://yourhost/pic.gif
> > > which is a valid URL, and does not match either
> of the Tomcat
> > > mappings.
> > >
> > >
> > > > -----Original Message-----
> > > > From: Jose Antonio Martinez
> [mailto:lfbbes@;yahoo.es]
> > > > Sent: Monday, November 11, 2002 12:52 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: tomcat + apache (synchronization in
> different machines )
> > > >
> > > >
> > > > Hi everybody,
> > > >
> > > > I want to have an apache server in a machine
> and a tomcat server
> > > > in a different machine. I know i can use
> mod_jk to redirect
> > > > jsp/servlets petitions from the apache to the
> tomcat server
> > > > ... but: it seems it is needed that the
> webapps directory be the
> > > > same at both machines... so i must use a
> synchronization method
> > > > ( rsync for example ) am i right?? could it
> possible to not
> > > > replicate the webapps directory from the
> apache to the tomcat
> > > > machine?
> > > >
> > > > Thanks.
> > > >
> > >
> >
> 
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational
> Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>  

_______________________________________________________________
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to