Jenny,
I have JRun3.0 Developer edition installed my machine. Just created a ping.jsp to test your need. I used the command "java " alone to see our luck/
Got all the instructions given by "java" program (all those Usage:..... lines") and captured them. Basically whatever comes out of Process we can capture and work with the output.
All those System.out.printlns will be stored in C:\Program Files\Allaire\JRun\logs\default-out.log file. Here I installed in C:\ProgramFiles dir.
The sample code I used is
I tried with another test "java PingPing" which will just 2 System.out.printlns. I put the PingPing.class 's dir in classPath and tested with
Tomcat. Able to see those printlns in Dos prompt. When I tried the same with JRun didn't get any in log file.
I suspect we have to change the classpath of JRun to include PingPing's dir also. I tried with JRun AdminServer web appln's
Java Appln Management COnsole ---Java Settings---Classpath-- added this new dir. Quit both admin and default servers and loaded again. But couldn't get the output for "java PingPing" in log file. Just a Dos Window appears for a second and disappears.
I suspect JRun didn't take the new classpath.
I know this post doesn't help that much.
If I get any progress , post it here!
regds
maha anna