Alas, the getInputStream and getOutputStream methods are mixed up, the
getInputStream method gives you the stdout of the process and the
getOutputStream - the stdin.
Leon

On 6/29/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
I suppose you use Runtime.exec() ?
If yes, you should grab the process output and error streams from the
resulting Process class:

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html

regards
Leon

On 6/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
> Good Afternoon All-
>
> I am attempting to exec a kshell from a Servlet
> I execute it fine but do not see any output or error messages from 
catalina.out or my debug file (a redirect of output inside the kshell)
> In other words I have no clue as to what this kshell script is actually doing
> Any Suggestions to find out what is happening???
>
> Many Thanks,
> 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.
>
>
>
>


---------------------------------------------------------------------
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