RE: executing cvs commands from tomcat

2002-07-25 Thread Nelson, Tracy (ETW)

Check the permissions of the account that the Tomcat service is run from.
You may need to enable "Permit this application to interact with the
desktop" (or whatever that box is labelled).


-Original Message-
From: Allen Gordon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 14:45
To: '[EMAIL PROTECTED]'
Subject: executing cvs commands from tomcat


We have an application that requires an input form to be processed by some
jsp code from within jakarta tomcat (4.0.3) running on NT4 SP6.  We require
version control for these input forms.  Consequently, we are attempting to
use runtime.exec() to executed cvs commands from cvsnt (current version).  

A problem we ran into is that when tomcat was run as a service, we are got
an error from tomcat that it could not connect to named pipe..  The same cvs
command run outside of tomcat worked fine.  Other dos commands could be
executed from within tomcat.

However, when we stopped the tomcat service and started it as a stand-alone
application, this problem disappeared and the cvs command lines were
executed properly.

Allen

- 
Allen R. Gordon, Ph.D. 
Senior Software Engineer 
CableLabs® 
Telephone: 303/661-3759 
Cell/Page/Text: 3035706288  (@mobile.att.net)
Fax: 303/661-9199 
<<mailto:[EMAIL PROTECTED]>> 
<<http://www.cablelabs.com/>> 



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



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




Re: executing cvs commands from tomcat

2002-07-25 Thread Steven J. Owens

On Thu, Jul 25, 2002 at 03:44:39PM -0600, Allen Gordon wrote:
> We have an application that requires an input form to be processed
> by some jsp code from within jakarta tomcat (4.0.3) running on NT4
> SP6.  We require version control for these input forms.
> Consequently, we are attempting to use runtime.exec() to executed
> cvs commands from cvsnt (current version).

 No idea what's causing this, but a suggestion from left field -
have you considered using a java-based version control system?
Subversion (subversion.tigris.org) just went alpha. 

Steven J. Owens
[EMAIL PROTECTED]

"I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt." - Me

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




executing cvs commands from tomcat

2002-07-25 Thread Allen Gordon

We have an application that requires an input form to be processed by some jsp code 
from within jakarta tomcat (4.0.3) running on NT4 SP6.  We require version control for 
these input forms.  Consequently, we are attempting to use runtime.exec() to executed 
cvs commands from cvsnt (current version).  

A problem we ran into is that when tomcat was run as a service, we are got an error 
from tomcat that it could not connect to named pipe..  The same cvs command run 
outside of tomcat worked fine.  Other dos commands could be executed from within 
tomcat.

However, when we stopped the tomcat service and started it as a stand-alone 
application, this problem disappeared and the cvs command lines were executed properly.

Allen

- 
Allen R. Gordon, Ph.D. 
Senior Software Engineer 
CableLabs® 
Telephone: 303/661-3759 
Cell/Page/Text: 3035706288  (@mobile.att.net)
Fax: 303/661-9199 
<> 
<> 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: