> -----Original Message-----
> From: Remy Maucherat [mailto:[EMAIL PROTECTED]] 
> 
> There's a puzzling side effect to procrun, though: Ant fails to start 
> the Java compiler in "fork" mode. If I disable forking javac, 
> it works. Does the Java process lose the right to fork other 
> processes when it is 
> run through procrun ?
> That would be really weird, because the JNI based JavaService didn't 
> have that problem (AFAIK).
> 

Try running in console mode: "procrun.exe //TS//Tomcat5".
If that's OK then it's a security issue thought. Also what Java and OS?
Mine is Sun's 1.4.1 and WIN2K Server.

I'm running TC 4.1.20 and web.xml has set:

<init-param>

  <param-name>development</param-name>

  <param-value>false</param-value>

</init-param>

For each jsp I see that the javac is launched under SYSTEM account. So
it works.
Didn't test with 5.0 but I think that there isn't much difference for
that case.


There is other problem with the running TC using redirected Java, and
that is the
lack of gracefull shutdown option. I'm working on that right now.
It will enable JVM invocation of Bootstrap with (stop or stopd) in that
case if enabled.


MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to