> -----Original Message-----
> From: Zoko, Anthony [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 19, 2002 8:32 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat in an academic development enviroment
> 
>  
> 1) How do I isolate student applications into there own 
> process space to prevent them from crashing Tomcat (these 
> students don't have much development experience)?

I don't believe that this is possible.  On the up side, though, the only way
a student could crash Tomcat is by calling System.exit or loading native
code that crashes.  Both of these options can be disabled using the security
settings for the JVM.  One student would still be able to hog all the
processor, memory, and hard drive resources that you allow Tomcat to take,
though.

> 2) I was tinkering with the ISAPI filter for Tomcat and read 
> an article that it was possible to load Tomcat in the same 
> process space as IIS 
> (http://jakarta.apache.org/tomcat/tomcat-3.2-doc/in-process-ho
>wto.html).  Can this technique be extended to load an instance of Tomcat
for 
>every student using IIS process isolation (I realize this means loading a
Java 
>VM for each student process.)?

The question would be how do you currently set up IIS (I'm not very familiar
with what you are doing with IIS).  I believe that you can only load each
filter once for each host (real or virtual), which would mean that you
couldn't load the filter for each student unless they each have their own
virtual host.
 
> With the current setup, IIS rarely crashes and runs extremely well... I
would
> like to have that same stability if we switch the program over to
JSP/Servlets 
> running Tomcat.  Anybody out there trying to run a similar program?

I haven't seen anyone ask these questions about IIS, but the questions of
this type do come up for Apache - epically from ISPs trying to set up Tomcat
for their clients.
 
        Randy

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to