| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| X-YMail-OSG: | 1STtvGAVM1ms5cv6KSw.cnSg96qXi_zwoqBbzPrVEhis3S3UPXbZNDt2pRk6F0vZAXd88uK6jOfad.v0_1mjoODwVuRLcC1YroE.LoqIDSaala_lD_7BTnInGA8tdK3mBYtfN5WpOjah60uk6P01UrUFVJkeyWLVCOeRt1z8cp3h4cDURm.muh6lPA-- |
| X-Mailer: | YahooMailRC/368.3 YahooMailWebService/0.6.132.7 |
| Date: | Tue, 30 Jan 2007 12:26:25 +0000 (GMT) |
| From: | Rick Anderson <rick_l_anderson AT yahoo DOT co DOT uk> |
| Subject: | cygpath problems |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| Message-ID: | <84265.54844.qm@web23115.mail.ird.yahoo.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l0UCQdpq028772 |
Hi
I am trying to run the following shell script in cygwin:
>#! /bin/sh
>
>if [ $# -ne 1 ]; then
> echo 1>&2 Usage: $0 certificate.p12
> exit 127
>fi
>
>java -classpath ${AHECLIENT_HOME}/lib/org.mortbay.jetty.jar org.mortbay.util.PKCS12Import $1 ${AHECLIENT_HOME}/conf/aheclient.ks
>
>keytool -keystore ${AHECLIENT_HOME}/conf/aheclient.ks -import -alias rootca -file ${AHECLIENT_HOME}/lib/certs/cacert.pem -trustcacerts
Where AHECLIENT_HOME=~/aheclient-1.0.1/
When running this I get two error messages;
>bash-3.2$ ./kssetup ~/Certs/certificate.p12
>java.lang.NoClassDefFoundError: org/mortbay/util/PKCS12Import
>Exception in thread "main" Enter keystore password: sausage1
>keytool error: java.io.FileNotFoundException: \home\Administartor\ahec
>ient-1.0.1\lib\certs\cacert.pem (The system cannot find the path specified)
>bash-3.2$
I am aware that this is a path problem and that i need to use cygpath to resolve this issue but i have no idea how. Sorry if this is a trivial question that has been covered before.
Rick
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |