RE: Setting JAVA_HOME path on Linux 7.0

2000-11-13 Thread Lacerda, Wellington (AFIS)

Oops !

Maybe it doesn't with JDK1.3 on Linux, because I've 4 servers running with
long up-times and my own machine using tomcat 3.1 AND JDK1.3. The problem I
found on NT was when using Tomcat as a service as soon as you logged off the
JDK was being shut down, but even this was a problem on the JDK, not TOMCAT,
and it seems to have been solved.

Wellington Silva
UN/FAO

-Original Message-
From: Sterling [mailto:[EMAIL PROTECTED]]
Sent: 10 November 2000 20:48
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re: Setting JAVA_HOME path on Linux 7.0


H-

This might not be relevant now, but I have read that Tomcat 3.1 doesn't work
with JDK1.3. It only works with JDK1.2.

I was having problems getting Tomcat running using JDK1.3. I switched and
changed my JAVA_HOME to point to JDK1.2 and all the problems went away. Well
not
all, but it started working as soon as I set my CLASS_PATH correctly. (The
whole
500 error terror. 8^)

Newbies .002$.
-Sterling


"Lambert, Stephen : CO IR" wrote:

 I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).

 However, on a Redhat 7.0 server, I having difficulty setting the path for
 JAVA_HOME after installing JDK1.3
 I can't cd to $JAVA_HOME.

 The .bash_profile is as follows:
 # .bash_profile

 # Get the aliases and functions
 if [ -f ~/.bashrc ]; then
 . ~/.bashrc
 fi

 # User specific environment and startup programs

 PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
 BASH_ENV=$HOME/.bashrc
 USERNAME="root"

 export USERNAME BASH_ENV PATH

 JAVA_HOME=/usr/local/jdk1.3
 export JAVA_HOME

 ---

 Also, when I shutdown the server, it requires /sbin/./shutdown -h now

 The only difference I can tell between the two Linux version is the
ENV(6.2)
 vs BASH_ENV(7.0)

 Can someone help?
 Thanks.



Re: Setting JAVA_HOME path on Linux 7.0

2000-11-13 Thread Gregory Guthrie

At 03:11 PM 11/10/2000 -0500, you wrote:

I'm using tomcat 3.2 and jdk1.3 and it works fine on debian.  Haven't
tryed tomcat 3.1 with jdk1.3

-- I've had many problems trying to get this to work,
I started with the Debian tomcat, and have posted a few notes to this 
group, but not gotten much help.

I'd really love it if you could tell me the steps to a working tomcat + 
Apache install on Debian!

Thanks,

Gregory


Gregory Guthrie
[EMAIL PROTECTED] (641)472-1125Fax: -1103





RE: Setting JAVA_HOME path on Linux 7.0

2000-11-10 Thread Lambert, Stephen : CO IR


On the Redhat 6.2 server, I'm running JDK1.3 with Tomcat 1.3(standalone) and
all of the JSP examples work fine!

On the RedHat 7 server, once the path is rectified, then I will install the
latest version of Tomcat.

Since I can't shutdown the server without fully qualifying the path to
/sbin, it appears setting environment variables just don''t take. :(
I'm not sure why! I tried all combinations that I can think of!



-Original Message-
From: Sterling [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 11:48 AM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re: Setting JAVA_HOME path on Linux 7.0


H-

This might not be relevant now, but I have read that Tomcat 3.1 doesn't work
with JDK1.3. It only works with JDK1.2.

I was having problems getting Tomcat running using JDK1.3. I switched and
changed my JAVA_HOME to point to JDK1.2 and all the problems went away. Well
not
all, but it started working as soon as I set my CLASS_PATH correctly. (The
whole
500 error terror. 8^)

Newbies .002$.
-Sterling


"Lambert, Stephen : CO IR" wrote:

 I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).

 However, on a Redhat 7.0 server, I having difficulty setting the path for
 JAVA_HOME after installing JDK1.3
 I can't cd to $JAVA_HOME.

 The .bash_profile is as follows:
 # .bash_profile

 # Get the aliases and functions
 if [ -f ~/.bashrc ]; then
 . ~/.bashrc
 fi

 # User specific environment and startup programs

 PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
 BASH_ENV=$HOME/.bashrc
 USERNAME="root"

 export USERNAME BASH_ENV PATH

 JAVA_HOME=/usr/local/jdk1.3
 export JAVA_HOME

 ---

 Also, when I shutdown the server, it requires /sbin/./shutdown -h now

 The only difference I can tell between the two Linux version is the
ENV(6.2)
 vs BASH_ENV(7.0)

 Can someone help?
 Thanks.



Re: Setting JAVA_HOME path on Linux 7.0

2000-11-10 Thread Trevor Little

I'm using tomcat 3.2 and jdk1.3 and it works fine on debian.  Haven't
tryed tomcat 3.1 with jdk1.3


Sterling wrote:
 
 H-
 
 This might not be relevant now, but I have read that Tomcat 3.1 doesn't work
 with JDK1.3. It only works with JDK1.2.
 
 I was having problems getting Tomcat running using JDK1.3. I switched and
 changed my JAVA_HOME to point to JDK1.2 and all the problems went away. Well not
 all, but it started working as soon as I set my CLASS_PATH correctly. (The whole
 500 error terror. 8^)
 
 Newbies .002$.
 -Sterling
 
 "Lambert, Stephen : CO IR" wrote:
 
  I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).
 
  However, on a Redhat 7.0 server, I having difficulty setting the path for
  JAVA_HOME after installing JDK1.3
  I can't cd to $JAVA_HOME.
 
  The .bash_profile is as follows:
  # .bash_profile
 
  # Get the aliases and functions
  if [ -f ~/.bashrc ]; then
  . ~/.bashrc
  fi
 
  # User specific environment and startup programs
 
  PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
  BASH_ENV=$HOME/.bashrc
  USERNAME="root"
 
  export USERNAME BASH_ENV PATH
 
  JAVA_HOME=/usr/local/jdk1.3
  export JAVA_HOME
 
  ---
 
  Also, when I shutdown the server, it requires /sbin/./shutdown -h now
 
  The only difference I can tell between the two Linux version is the ENV(6.2)
  vs BASH_ENV(7.0)
 
  Can someone help?
  Thanks.



RE: Setting JAVA_HOME path on Linux 7.0

2000-11-10 Thread Lambert, Stephen : CO IR

# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

-Original Message-
From: James Harman [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 12:07 PM
To: Tomcat-Linux
Subject: Re: Setting JAVA_HOME path on Linux 7.0


Is there something in your .bashrc that sets the JAVA_HOME value?



On Fri, 10 Nov 2000, Lambert, Stephen : CO IR wrote:

 I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).
 
 However, on a Redhat 7.0 server, I having difficulty setting the path for
 JAVA_HOME after installing JDK1.3
 I can't cd to $JAVA_HOME.
 
 The .bash_profile is as follows:
 # .bash_profile
 
 # Get the aliases and functions
 if [ -f ~/.bashrc ]; then
   . ~/.bashrc
 fi
 
 # User specific environment and startup programs
 
 PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
 BASH_ENV=$HOME/.bashrc
 USERNAME="root"
 
 export USERNAME BASH_ENV PATH
 
 JAVA_HOME=/usr/local/jdk1.3
 export JAVA_HOME
 
 ---
 
 Also, when I shutdown the server, it requires /sbin/./shutdown -h now
 
 The only difference I can tell between the two Linux version is the
ENV(6.2)
 vs BASH_ENV(7.0)
 
 Can someone help?
 Thanks.
 
 
 
 

James Harman
Requisite Technology
[EMAIL PROTECTED]
--
For Technical Support,
email: [EMAIL PROTECTED]
phone: 303-474-2288



Setting JAVA_HOME path on Linux 7.0

2000-11-10 Thread Lambert, Stephen : CO IR

I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).

However, on a Redhat 7.0 server, I having difficulty setting the path for
JAVA_HOME after installing JDK1.3
I can't cd to $JAVA_HOME.

The .bash_profile is as follows:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"

export USERNAME BASH_ENV PATH

JAVA_HOME=/usr/local/jdk1.3
export JAVA_HOME

---

Also, when I shutdown the server, it requires /sbin/./shutdown -h now

The only difference I can tell between the two Linux version is the ENV(6.2)
vs BASH_ENV(7.0)

Can someone help?
Thanks.