Hi,

If you have the tool installed you can just run "unix2dos <filename>" and it 
will strip the offending chars.

-----Original Message-----
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 9 de Abril de 2008 16:06
To: Tomcat Users List
Subject: Re: Control M char in java path when starting tomcat

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vikrant,

GARG, Vikrant, GBM wrote:
| Actually I did not do any edits anywhere. I downloaded the tar.gz for
| solaris from apache website to my windows pc, then "psftp"-ed it to
| the solaris box, gunzipped and untarred it, and then tried to start
| the tomcat.

The effect is the same if you used FTP. Unless you specify "binary" mode
for FTP, windows clients will "helpfully" replace all \n with \r\n in
your file. pscp does not do this, so I'm guessing that psftp doesn't do
it, either.

Try downloading the .tar.gz directly to your Solaris machine (wget is
useful for this purpose, if you have no web browser available).

- -chris

|
|
| Vikrant Garg RBS Global Banking & Markets Office: +44 20 7085 0566
| |  Mobile: +44 7931809520
|
| -----Original Message----- From: Caldarale, Charles R
| [mailto:[EMAIL PROTECTED] Sent: 09 April 2008 15:42 To:
| Tomcat Users List Subject: RE: Control M char in java path when
| starting tomcat
|
|> From: GARG, Vikrant, GBM [mailto:[EMAIL PROTECTED] Subject:
|> Control M char in java path when starting tomcat
|>
|> I have checked through the various tomcat script and xml files, and
|> I cant find a reason for the ^M char to get included in the java
|> path.
|
| Most likely because you edited it with Notepad or some equally
| offensive Windows tool and left carriage returns at the end of each
| line.  Use an editor that creates UNIX (lf-only) line terminators,
| rather than Windows (cr/lf) ones.
|
| - Chuck
|
|
| THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
| PROPRIETARY MATERIAL and is thus for use only by the intended
| recipient. If you received this in error, please contact the sender
| and delete the e-mail and its attachments from all computers.
|
| ---------------------------------------------------------------------
|  To start a new topic, e-mail: users@tomcat.apache.org To
| unsubscribe, e-mail: [EMAIL PROTECTED] For
| additional commands, e-mail: [EMAIL PROTECTED]
|
|
***********************************************************************************
|  The Royal Bank of Scotland plc. Registered in Scotland No 90312.
| Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorised
| and regulated by the Financial Services Authority
|
| This e-mail message is confidential and for use by the addressee
| only. If the message is received by anyone other than the addressee,
| please return the message to the sender by replying to it and then
| delete the message from your computer. Internet e-mails are not
| necessarily secure. The Royal Bank of Scotland plc does not accept
| responsibility for changes made to this message after it was sent.
|
| Whilst all reasonable care has been taken to avoid the transmission
| of viruses, it is the responsibility of the recipient to ensure that
| the onward transmission, opening or use of this message and any
| attachments will not adversely affect its systems or data. No
| responsibility is accepted by The Royal Bank of Scotland plc in this
| regard and the recipient should carry out such virus and other checks
| as it considers appropriate. Visit our websites at: www.rbs.com
| www.rbs.com/gbm www.rbsgc.com
|
***********************************************************************************
|
|
| ______________________________________________________________________
|  This email has been scanned by the MessageLabs Email Security
| System. For more information please visit
| http://www.messagelabs.com/email
| ______________________________________________________________________
|
|
| ---------------------------------------------------------------------
|  To start a new topic, e-mail: users@tomcat.apache.org To
| unsubscribe, e-mail: [EMAIL PROTECTED] For
| additional commands, e-mail: [EMAIL PROTECTED]
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf822EACgkQ9CaO5/Lv0PA5XACeNyAX0Ax4PNX2G2WBhzJm2egb
B0gAnA3H98biIdS3hXqjvPekMQo10Z+d
=WCO4
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to