Ok, but running as a service offers it's own set of complexities. For instance, the environment variables you've set (JAVA_HOME and CATALINA_HOME) may not be visible to the Tomcat service. This is a reality of services under Windows, not anything to do with Java or Tomcat. Also, that handy, nifty installer seems to be known for not finding the JDK properly. People have had to fix that after installation because the installer finds the JRE first. A couple of places to look for that is 1) in the Apache Tomcat group installed in your Start menu and 2) service.bat that seems to be available in recent versions of tomcat 5.

If I were you, I would start by stopping the tomcat service and then starting it with the manual bat files in the bin directory of tomcat 5. Get that to work and then take a look at service.bat I believe. I'm a unix person, but I've seen it referenced enough on the list for Windows installs. A search of the archives may help you out a lot. Also test in increments. Does http://127.0.0.1:8080 work?

--David

Nelson, Jerry W, Contractor 146CF, SCB wrote:

In the envorinment settings they are capitalized, it's just the way I typed
the echo command.

I also tried the %CATALINA_HOME% pointing to where you said, it didn't work
either.

Cheerfully waiting for more suggestions...

And to Jake, Apache-Tomcat (Jakarta Project) version 5.0.27 (the one I'm
running) does run under a server service and it has an installer to set
everything up for you (supposedly)

//SIGNED//

Jerry Nelson


-----Original Message----- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:10 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs


Of course it will not work!

First, I believe the environment variables need to be CAPITALIZED, as in %JAVA_HOME% and %CATALINA_HOME%.

Second, your %CATALINA_HOME% is pointing to the wrong place. It should be the root of tomcat installation (ie., "D:\Program Files\Apache Software Foundation\Tomcat 5.0"), not webapps\ROOT.

On 8/26/2004 8:44 PM, Nelson, Jerry W, Contractor 146CF, SCB wrote:



That didn't work either and I have been researching this for a week, some
days as many as 10 hours.  I've probably spent an entire work week on this
problem and I am getting really frustrated.

Here are my current envirnment settings:

L:\>echo %java_home%
C:\j2sdk1.4.2_05

L:\>echo %catalina_home%
D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT

It STILL doesn't work!

//SIGNED//

Jerry Nelson


-----Original Message----- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 6:17 PM To: Tomcat Users List Subject: Re: Tomcat will not run JSPs


You need to set %JAVA_HOME% to the installation directory of JDK, Not JRE. The JDK is installed in C:\j2sdk1.4.2_05 by default.


I agree with Fredrik that you need to do some more home work by yourself since this is fairly basic stuff.

On 8/26/2004 6:01 PM, Nelson, Jerry W, Contractor 146CF, SCB wrote:



OK, I got the instructions and the homes are set as follows:

L:\>echo %JAVA_HOME%
C:\Program Files\Java\j2re1.4.2_05\bin\client

L:\>ECHO %CATALINA_HOME%
D:\Program Files\Apache Software Foundation\Tomcat 5.0

Tomcat STILL can't find javac!!!  What's next????

//SIGNED//

Jerry Nelson


-----Original Message----- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 5:41 PM To: Tomcat Users List Subject: RE: Tomcat will not run JSPs


Go to google:

Search for "setting java_home" click the first link in the result link.
Follow step-by-step instructions.


Once you get passed the step of setting the paths you'll no doubt
encounter tons of problems and questions. Make sure to read the basic
tutorials and search the archive for the same questions. If you can't
find the answer after looking in those two places please feel free to
post your questions.

Let's keep this list somewhat relevant shall we.

Fredrik








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



Reply via email to