You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Allen Gordon <a....@cablelabs.com> on 2002/07/25 23:44:39 UTC

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 
<<m...@cablelabs.com>> 
<<http://www.cablelabs.com/>> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: executing cvs commands from tomcat

Posted by "Steven J. Owens" <pu...@darksleep.com>.
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
puff@darksleep.com

"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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>