RE: Control M char in java path when starting tomcat

2008-04-09 Thread Nuno Manuel Martins
Ooops, my bad, obviously meant dos2unix

-Original Message-
From: Nuno Manuel Martins
Sent: quarta-feira, 9 de Abril de 2008 17:27
To: Tomcat Users List
Subject: RE: Control M char in java path when starting tomcat

Hi,

If you have the tool installed you can just run "unix2dos " 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]



RE: Control M char in java path when starting tomcat

2008-04-09 Thread Nuno Manuel Martins
Hi,

If you have the tool installed you can just run "unix2dos " 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]



Re: Control M char in java path when starting tomcat

2008-04-09 Thread Christopher Schultz

-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]



RE: Control M char in java path when starting tomcat

2008-04-09 Thread GARG, Vikrant, GBM
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.


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]



RE: Control M char in java path when starting tomcat

2008-04-09 Thread Caldarale, Charles R
> 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]



Control M char in java path when starting tomcat

2008-04-09 Thread GARG, Vikrant, GBM
Hi,

I am trying to set up tomcat 5.5.25 on a Solaris 10 machine.

However, when I run the "startup.sh" script from the apache-tomcat-5.5.25/bin 
location, and check catalina.out file under /logs folder, I see the following 
error message:

Error: no `server^M' JVM at `/opt/<>/java/jdk1.5.0_06/lib/spa
rc/server^M/libjvm.so'.

I have checked that the file libjvm.so is available under the path indicated.
The variable $JAVA_HOME points to /opt/<>/java/jdk1.5.0_06

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.

Have been struggling with this since yesterday - any pointers on this would be 
very helpful.

Thanks in advance,
Vikrant



***
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 
__

RE: Java path

2006-09-25 Thread Tracy Nelson
If you're on Windows, open the registry editor and go to the key
HKLM/SOFTWARE/Apache Software Foundation/Procrun
2.0/Tomcat5/Parameters/Java/JVM.  This key should have the value of your
JAVA_HOME.

---
Tracy Nelson / Nelnet Business Solutions
402 / 617-9449

| -Original Message-
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
| Sent: Friday, 22 September, 2006 02:40
| To: 'Tomcat Users List'
| Subject: Java path
| 
| Hello List,
| 
| I ve Tomcat5 running and updated Java. Since then Tomcat refuses to
start
| up
| because it can not find Java anymore. Where can I define the Java path
for
| Tomcat to work with? I tried to set JAVA_HOME, but Tomcat still would
not
| work :(
| 
| Thanks!
| 
| -
| To start a new topic, e-mail: users@tomcat.apache.org
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: Java path

2006-09-22 Thread Li

Tomcat has knowledge of what version java is if it can find where java home
dir is.

take a look at the startup file (.bat for windows and .sh for linux/unix),
you will have a brief idea on how tomcat starts

On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


So Tamcat has no information about the Java version to use by itself? This
is hard to believe, because the System where Tomcat is running on never
had
a JAVA_HOME path defiend and Tomcat run great on it until the Java update.
Also during the Tomcat installation process the wizard asks for an Java
installation to run with. This information must be stored somewhere.


-Ursprüngliche Nachricht-
Von: Li [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 22. September 2006 09:46
An: Tomcat Users List
Betreff: Re: Java path


in windows:

echo %JAVA_HOME% see if there is anything

in linux/unix

echo $JAVA_HOME see if there is anything

normally if you export JAVA_HOME, and add to path, you should be able to
use
tools in /bin directly

so make sure your JAVA_HOME is exported

On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello List,
>
> I ve Tomcat5 running and updated Java. Since then Tomcat refuses to
start
> up
> because it can not find Java anymore. Where can I define the Java path
for
> Tomcat to work with? I tried to set JAVA_HOME, but Tomcat still would
not
> work :(
>
> Thanks!
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
When we invent time, we invent death.

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





--
When we invent time, we invent death.


AW: Java path

2006-09-22 Thread news
So Tamcat has no information about the Java version to use by itself? This
is hard to believe, because the System where Tomcat is running on never had
a JAVA_HOME path defiend and Tomcat run great on it until the Java update.
Also during the Tomcat installation process the wizard asks for an Java
installation to run with. This information must be stored somewhere. 


-Ursprüngliche Nachricht-
Von: Li [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 22. September 2006 09:46
An: Tomcat Users List
Betreff: Re: Java path


in windows:

echo %JAVA_HOME% see if there is anything

in linux/unix

echo $JAVA_HOME see if there is anything

normally if you export JAVA_HOME, and add to path, you should be able to use
tools in /bin directly

so make sure your JAVA_HOME is exported

On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello List,
>
> I ve Tomcat5 running and updated Java. Since then Tomcat refuses to start
> up
> because it can not find Java anymore. Where can I define the Java path for
> Tomcat to work with? I tried to set JAVA_HOME, but Tomcat still would not
> work :(
>
> Thanks!
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
When we invent time, we invent death.

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



Re: Java path

2006-09-22 Thread Li

in windows:

echo %JAVA_HOME% see if there is anything

in linux/unix

echo $JAVA_HOME see if there is anything

normally if you export JAVA_HOME, and add to path, you should be able to use
tools in /bin directly

so make sure your JAVA_HOME is exported

On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hello List,

I ve Tomcat5 running and updated Java. Since then Tomcat refuses to start
up
because it can not find Java anymore. Where can I define the Java path for
Tomcat to work with? I tried to set JAVA_HOME, but Tomcat still would not
work :(

Thanks!

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





--
When we invent time, we invent death.


Java path

2006-09-22 Thread news
Hello List,

I ve Tomcat5 running and updated Java. Since then Tomcat refuses to start up
because it can not find Java anymore. Where can I define the Java path for
Tomcat to work with? I tried to set JAVA_HOME, but Tomcat still would not
work :(

Thanks!

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



RE: Install Guide (JAVA PATH)

2006-05-05 Thread Dirk Moolman
Yes, I think you are right   :-)

I ran the following, and found the older version of Java first in the
path:

`which java` -version

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia321420-20040626 (JIT
enabled: jitc))

Dirk


-Original Message-
From: Chris Berthold [mailto:[EMAIL PROTECTED] 
Sent: 05 May 2006 04:31 PM
To: 'Tomcat Users List'
Subject: RE: Install Guide (JAVA PATH)

Also as far as JDK5 goes you could type in:

which java

to make sure that it was pulling up the JDK5 version. If not (you get
/usr/bin/java or path to the ibm or gcj version), you needed to put it
first
in your path.  Most *unix platforms use /etc/profile. Go down to the
line
that says export PATH BLAH BLAH BLAH BLAH. Right before that you would
want
to enter PATH="/path/to/javasdk/bin:$PATH". That would get the right
java
binaries in the path.

Right below that I would add JAVA_HOME="/path/to/javasdk" and then
export
JAVA_HOME

I find that to be the simplest way of getting java up and going.
Without it
getting tomcat to run is just going to be frivolous.


Chris Berthold
IT Systems Analyst
Commercial Refrigerator Door Company
941 . 371 . 8110 x 205


>
The information on this e-mail including any attachments relates to the 
official business of DigiCare (Pty) Ltd. The information is confidential and 
legally privileged and is intended solely for the addressee. Access to this 
e-mail by anyone else is unauthorised and as such any disclosure, copying, 
distribution or any action taken or omitted in reliance on it is unlawful. 
Please notify the sender immediately if it has inadvertently reached you and do 
not read, disclose or use the content in any way. 
>
No responsibility whatsoever is accepted by DigiCare (Pty) Ltd if the 
information is, for whatever reason, corrupted or does not reach its intended 
destination. The views expressed in this e-mail  are the views of the 
individual sender and should in no way be construed as the views of DigiCare 
(Pty) Ltd, except where the sender has specifically stated them to be the views 
of DigiCare (Pty) Ltd.
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]