RedHat Linux 7.1, Tomcat 4.0 RC1

2001-09-13 Thread Scott Brinker

I'm having trouble getting Tomcat 4.0 RC1 to start under RedHat Linux 7.1. I
have installed the latest release in a directory in /usr/local, installed
JSE 1.3.1_01 in /usr/java, and set up JAVA_HOME and CATALINA_HOME
environment variables.

When I execute ./startup.sh, I get these messages:

  Using CLASSPATH ...
  Using CATALINA_BASE ...
  Using CATALINA_HOME ...

And then it returns me to the command prompt. No Tomcat process appears to
be running, and no other messages are displayed.

I should also mention that I've done this as the root account to make sure
there weren't permission problems.

Can anyone offer any suggestions?

Many thanks,

--
Scott Brinker
i-on interactive, inc.
561.394.9484 (Boca Raton)
646.486.6204 (New York)
888.466.4332 (toll-free)
http://www.i-on.com




Re: RedHat Linux 7.1, Tomcat 4.0 RC1

2001-09-13 Thread Scott Brinker

Thanks, the log files helped me figure it out (I was pointing at the wrong
directory for JAVA_HOME).

Thanks again,

Scott

- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 1:37 PM
Subject: Re: RedHat Linux 7.1, Tomcat 4.0 RC1




 On Thu, 13 Sep 2001, Scott Brinker wrote:

  Date: Thu, 13 Sep 2001 12:53:29 -0400
  From: Scott Brinker [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: RedHat Linux 7.1, Tomcat 4.0 RC1
 
  I'm having trouble getting Tomcat 4.0 RC1 to start under RedHat Linux
7.1. I
  have installed the latest release in a directory in /usr/local,
installed
  JSE 1.3.1_01 in /usr/java, and set up JAVA_HOME and CATALINA_HOME
  environment variables.
 
  When I execute ./startup.sh, I get these messages:
 
Using CLASSPATH ...
Using CATALINA_BASE ...
Using CATALINA_HOME ...
 
  And then it returns me to the command prompt. No Tomcat process appears
to
  be running, and no other messages are displayed.
 

 Tomcat starts in the background, and logs all it's output to files in the
 $CATALINA_HOME/logs directory.  Try pointing your browser at:

   http://localhost:8080/

  I should also mention that I've done this as the root account to make
sure
  there weren't permission problems.
 

 You definitly won't want to run it that way, however.

  Can anyone offer any suggestions?
 
  Many thanks,
 
  --
  Scott Brinker
  i-on interactive, inc.
  561.394.9484 (Boca Raton)
  646.486.6204 (New York)
  888.466.4332 (toll-free)
  http://www.i-on.com
 
 

 Craig McClanahan








Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Scott Brinker

I am trying to load the Oracle 8.1.7 thin client JDBC driver in a simple
servlet under Tomcat 4.0-b5. However, the following line:

  Class.forName(oracle.jdbc.driver.OracleDriver);

...keeps generating a ClassNotFoundException. I am running on Windows 2000,
and I have verified that the CLASSPATH environment variable is:

  D:\oracle\ora81\jdbc\lib\classes12.zip

...which is where the JDBC driver is. (I can write a stand-alone Java
application that loads that driver just fine, so I know it is where I think
it is.)

For what it's worth, I'm also running under JDK 1.3.1.

Do I have to do something special to have my web app recognize the system
CLASSPATH? Is there some place else I need to explicitly define it?

Many thanks,

Scott




Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Scott Brinker

Alas, it's still not finding it. I now have the classes12.zip in the
following locations:

  /jakarta-tomcat-4.0-b5/lib
  /jakarta-tomcat-4.0-b5/common/lib
  /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib

...(the latter being my web app), in addition to the CLASSPATH environment
variable. Any other thoughts?

Thanks,

Scott

- Original Message -
From: Sampige, Srinivas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 6:24 PM
Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0


 put the zip file under /lib folder that you find under your tomcat
installation.Should work without having to set the classpath because tomcat
puts everything under /lib in classpath autmoatically when it starts up .





Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Scott Brinker

 Can you confirm it is a valid archive (jar -t classes12.zip)?
 --
 John Alex Hebert
 [EMAIL PROTECTED]
 System Engineer

Ah, I figured it out: I had to rename the file from classes12.zip to
classes12.jar in the root /lib directory. (Apparently Tomcat appends only
.jar's to its classpath, not .zip's, and must not pay attention to the
system CLASSPATH variable.)

Thanks John, Srinivas,

Scott