This is from the javax.servlet.Servlet class (service method) documentation-

"Servlets typically run inside multithreaded servlet containers that can handle 
multiple requests concurrently. Developers must be aware to synchronize access 
to any shared resources such as files, network connections, and as well as the 
servlet's class and instance variables. More information on multithreaded 
programming in Java is available in the Java tutorial on multi-threaded 
programming. "

Martin --
********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.




----- Original Message ----- 
From: "Sharma, Siddharth" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, August 10, 2006 2:14 PM
Subject: RE: solution to this scenario


> ftp? You mean telnet or rsh or ssh or something right?
> 
> Anyhow, create a different instance of tomcat for each user:
> 
> Recursively copy the following directories from CATALINA_HOME to a new
> location (say /usr/tomcat/instance_n) to create a new instance:
> webapps
> temp
> shared
> conf
> logs
> 
> Then change the conf/server.xml to configure unique ports.
> 
> Then in the user's profile in the user's home directory 
> export CATALINA_BASE=/usr/tomcat/instance_n
> 
> Now when the user executes $CATALINA_HOME/startup.sh or shutdown.sh, it will
> stop and start his/her instance only.
> 
> Additionally, you can configure permissions to disallow users to change
> other user's server.xml
> 
> Did I understand your question?
> 
> 
> -----Original Message-----
> From: Pratap Parne [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 10, 2006 1:25 PM
> To: users@tomcat.apache.org
> Subject: solution to this scenario
> 
> can any one tellme how do i implement this using
> tomcat
> 
> 
> tomcat would be running on a server.a user would log
> into the server using ftp and he has his own version
> of server.xml.he some how starts the tomcat runs his
> application and shuts it down.when other user logs
> into the server he should be having his own server.xml.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to