hi,
looks like you're stuck with your kshell.
how about specifying canonical path to your java executable, e.g.
/opt/bin/java?

or if you're under some unix environment like FreeBSD, you can just use
'md5' or 'sha1' provided by system:
% sha1 -s 'passphrase here'
it will produce the same result for you.

On 10/27/05, Nehal Sangoi <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I modified my server.xml as follows.
>
> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> resourceName="UserDatabase" digest="SHA1"/>
>
> Also, downloaded "commons-logging-20051027.tar.gz" and untarred the same.
>
> Later i tried giving below command :
>
> $ java -classpath
> $CATALINA_HOME/server/lib/catalina.jar:/opt/commons-logging/commons-
> logging.jar org.apache.catalina.realm.RealmBase -a sha1 <manager>
>
> But recd. following error :
>
> ksh: syntax error: `newline or ;' unexpected
>
> Please help doing this successfully.
>
>
> Thanks,
> Nehal
>

--
Regards, Charlie

Reply via email to