[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Calling Command Line Utils from ASP
- Subject: RE: [cobalt-developers] Calling Command Line Utils from ASP
- From: "Tim Cole" <tscole@xxxxxxxxxxxxxxxxxxx>
- Date: Tue Sep 30 03:45:00 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
That's OK, the only problem now is this (that I have found in the
ChiliASP Docs):
"In order to register a Java class to use with Chili!Soft ASP, the
.class file must exist in a directory that is listed in the Java
CLASSPATH environment variable."
The directory in question is not. So I guess that's why I'm getting the
following:
"Could not find class bean/classes/FishNet/command"
But I'm not sure what to do about this?
Tim
-----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
> --
>
>
_______________________________________________
cobalt-developers mailing list cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers