[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] Calling Command Line Utils from ASP



On 30 Sep 2003 at 11:11, Tim Cole wrote:

> Ian
> 
> Thanks so much for this, just one snag... I can't register the class:
> 
> [admin classes]$ /home/chiliasp/chregclass -f FishNet.command
> FishNet/command
> /home/chiliasp/chregclass: bean/cbreg/cbreg: No such file or directory
> 
> Any ideas?
> Thanks
> Tim

Hi,

Sorry, I think I missed out a command!  Change into the root of the chiliasp 
directory first:

	cd /home/chiliasp

then run the command.

Ian
-- 

> 
> -----Original Message-----
> From: cobalt-developers-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx] On Behalf Of Ian
> Gibbons
> Sent: 30 September 2003 10:45
> To: cobalt-developers@xxxxxxxxxxxxxxx
> Subject: RE: [cobalt-developers] Calling Command Line Utils from ASP
> 
> 
> On 30 Sep 2003 at 9:57, Tim Cole wrote:
> 
> > Ian
> > 
> > I've got a Raq 550, running whichever version of ChiliASP (Sun One 
> > ASP) that it comes with. I think that is version 3.6? Sorry, I'm a bit
> 
> > new to this...
> > 
> > Tim
> 
> I have managed to compile a Java Bean which runs ok.  
> 
> There is only one problem,  it will run commands as the same user as
> that which 
> chiliasp runs under.  On my installation this is root.  So make sure you
> lock down 
> any scripts you create.
> 
> The instructions for installation are here:
> 
> http://www.fishnet.co.uk/support/cobalt/chiliasp/
> 
> I don't have a 550 to test this on, so some of the commands may be
> different.
> 
> Regards
> 
> Ian
> -- 
> 
> > 
> > -----Original Message-----
> > From: Ian Gibbons
> > Sent: 30 September 2003 09:31
> > To: Tim Cole; cobalt-developers@xxxxxxxxxxxxxxx
> > Subject: Re: [cobalt-developers] Calling Command Line Utils from ASP
> > 
> > 
> > On 27 Sep 2003 at 17:34, Tim Cole wrote:
> > 
> > > Is there a way to call command line utilites in using Chilisoft ASP?
> > > 
> > > Thanks
> > > Tim Cole.
> > 
> > Hi Tim,
> > 
> > A while ago I created a Java Bean which uses gnupg from the command
> > line.  This can be called from within ChiliAsp in the same way that
> > ActiveX 
> > objects are called in windows ASP.
> > 
> > I will have a look at modifying it to run any program.
> > 
> > What version of Chiliasp are you running and which type of Raq/Cube ?
> > 
> > Regards
> > 
> > Ian
> > --
> > 
> >