Re: Tomcat will not run JSPs

2004-08-29 Thread Michael McQuade
Sorry to bother you again Jacob.  But heres what I have found out,
first time into a program,  the database opens, updates and closes all with
a Status of  0 and 0...  Enter another program,and the database
opens with a Status of SqlCode = -1 and SqlState = 08002  (connection name
in Use). And then, any other attempt to access database results in -1
and 08000 thereafter.  By backing out to Tomcat manager,   stopping and
restarting the application,   seems to take care of the 08002,  but then it
reappears right after you do an initial open/close..  Is there anything
at all that you are aware of,  that Tomcat keeps a resource open?
On my close,  I do a  COMMIT  followed by DISCONNECT ALL..
Im so sorry for bothering you.

Mike

- Original Message - 
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 27, 2004 12:46 PM
Subject: RE: Tomcat will not run JSPs


 Quoting Nelson, Jerry W, Contractor 146CF, SCB
[EMAIL PROTECTED]:

  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)
 

 And what I'm telling you is that:

 1.  Don't bother with the installer.  I've never seen anything but trouble
with it.

 2.  The installer doesn't do much more than what you can do more simply
with the
 zip file.  Just a couple extra manual steps that everyone should do anyway
 (setting up the system vars)

 3.  The service that gets installed doesn't have tools.jar in the
classpath (at
 least with service.bat).  You'll have to add that before JSP's will be
compiled
 properly.  Please do what I recommended.  Start up Tomcat with the
startup.bat
 and see if it works.  If it does, then the problem is the service.  If you
 refuse to try this, then you won't be able to narrow down your issue.

 Sorry, but that's all the help I can provide.  If you ignore the advice
I've
 given you so far, you are on your own.

 Jake


  //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
  
  
 
 
  --
  Dennis Dai
  [EMAIL PROTECTED

Re: Tomcat will not run JSPs

2004-08-29 Thread Michael McQuade
Hi, is this Jerry   Could I ask you a question,wondering if you are
having the same problem as I am.  Im using Tomcat for windows  The
Installer version..  I added my application,  went to the Comapny Logon
screen,which opens MySql database,   updates it, and closes it. All
successfully.  I then go to the User Login screen,which does the
same functions as above, open, update, closeand on my Open database,  I
get a  08002 (connection name in use). Any subsequent call gives an
08000.

By backing out to Tomcat manager,   stopping and restarting the application,
seems to take care of the 08002,  but then it reappears right after you do
an initial open/close..  Is there anything at all that you are aware of,
that Tomcat keeps a resource open?
On my close,  I do a  COMMIT  followed by DISCONNECT ALL..
Im so sorry for bothering you.

What problem were you experiencing?   By the way, Im running Servlets..
Do you have any idea what my problem may be,   Im totally new to this type
of programming,  and extremely frustrated,   cause my App works fine in CGI
format under a different Web Browser,  only problem is,   CGI is extremely
slow..  I need it to work in Servlets

Thank You
Mike




- Original Message - 
From: Nelson, Jerry W, Contractor 146CF, SCB
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, August 27, 2004 11:34 AM
Subject: RE: Tomcat will not run JSPs


 THANK YOU TO ALL OF YOU THAT HELPED.

 I finally took Jakes sugestion.  I abandoned the Tomcat EXE and downloaded
 the zip file from Jakarta, unzipped it into the Tomcat directory and setup
 the environment as all of you had instructed and it FINALLY works,
although
 it would be nice if I could run the Tomcat service under windows so that
DOS
 window is not constantly in my task bar.

 Thank you again!

 //SIGNED//

 Jerry Nelson


 -Original Message-
 From: Jacob Kjome [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 26, 2004 9:48 PM
 To: Tomcat Users List
 Subject: RE: Tomcat will not run JSPs


 Ok, start over.  Uninstall Tomcat.  Grab the .zip file distribution and
 extract it to a directory *without spaces*.  Now, change the value of
 CATALINA_HOME to the new location of Tomcat.  Reboot.  The reboot is
 sometimes not necessary, but many times it is in order for your
environment
 variables to be recognized.  Just be safe and reboot.

 Now you are ready to run.  The question is, which way are you running
 it?  I suggest running using the startup.bat file.  You can create a
 shortcut to this on your desktop (same with shutdown.bat) to make things
 easier.  Since you seem to be a relative newbie to Tomcat (and possibly to
 programming???), I don't suggest trying to set up the windows service,
 especially since the service.bat currently doesn't include tools.jar in
the
 classpath and will cause JSP not to compile.  Why this hasn't been changed
 by the Tomcat developers is beyond me.  I've reported it many a time and
it
 is simply ignored.  Baffling!

 Anyway, you should be set to go.  Seriously, Tomcat is one of the simplest
 apps out there to set up.  If you are having trouble, you might want to
 take a class of some sort to get up to speed on some of this rather than
 banging your head against the wall for as long as you have been.

 Jake

 At 04:44 AM 8/27/2004 +0100, you 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

Re: Tomcat will not run JSPs

2004-08-29 Thread Jacob Kjome
sounds to me like you aren't using connection pooling.  Rather, you are 
opening a connection each time, but not fully closing the 
connection.  Additionally, your database is probably set to only support 1 
connection for this particular user at a time.  You might want to check 
into allowing more connections and using connection pooling so that they 
stay open constantly so it isn't so expensive to use them.

Jake
At 12:00 PM 8/29/2004 -0400, you wrote:
Sorry to bother you again Jacob.  But heres what I have found out,
first time into a program,  the database opens, updates and closes all with
a Status of  0 and 0...  Enter another program,and the database
opens with a Status of SqlCode = -1 and SqlState = 08002  (connection name
in Use). And then, any other attempt to access database results in -1
and 08000 thereafter.  By backing out to Tomcat manager,   stopping and
restarting the application,   seems to take care of the 08002,  but then it
reappears right after you do an initial open/close..  Is there anything
at all that you are aware of,  that Tomcat keeps a resource open?
On my close,  I do a  COMMIT  followed by DISCONNECT ALL..
Im so sorry for bothering you.
Mike
- Original Message -
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 27, 2004 12:46 PM
Subject: RE: Tomcat will not run JSPs
 Quoting Nelson, Jerry W, Contractor 146CF, SCB
[EMAIL PROTECTED]:

  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)
 

 And what I'm telling you is that:

 1.  Don't bother with the installer.  I've never seen anything but trouble
with it.

 2.  The installer doesn't do much more than what you can do more simply
with the
 zip file.  Just a couple extra manual steps that everyone should do anyway
 (setting up the system vars)

 3.  The service that gets installed doesn't have tools.jar in the
classpath (at
 least with service.bat).  You'll have to add that before JSP's will be
compiled
 properly.  Please do what I recommended.  Start up Tomcat with the
startup.bat
 and see if it works.  If it does, then the problem is the service.  If you
 refuse to try this, then you won't be able to narrow down your issue.

 Sorry, but that's all the help I can provide.  If you ignore the advice
I've
 given you so far, you are on your own.

 Jake


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

Re: Tomcat will not run JSPs

2004-08-27 Thread Darryl L. Pierce
On Thursday 26 August 2004 08:00 pm, Nelson, Jerry W, Contractor 146CF, SCB 
wrote:
 Everything I see refers to JDK.  The only thing I can find is SDK.  Are
 they the same???

The JDK (Java Development Kit) is also reference as the J2SDK (Java 2 Software 
Development Kit).

-- 
Darryl L. Pierce [EMAIL PROTECTED]
Visit the Infobahn Offramp - http://mypage.org/mcpierce
Lobby, lobby, lobby, lobby, lobby, lobby, lobby, lobby...

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



Re: Tomcat will not run JSPs

2004-08-27 Thread Darryl L. Pierce
On Thursday 26 August 2004 08:24 pm, Nelson, Jerry W, Contractor 146CF, SCB 
wrote:
 I completely romoved EVERTHING that has anything to do with Java and
 reinstalled J2SDK1.4.2_05 and JRE1.4.2_05 

The J2SDK *comes with* the appropriate JRE. You don't need to install a 
separate JRE.

-- 
Darryl L. Pierce [EMAIL PROTECTED]
Visit the Infobahn Offramp - http://mypage.org/mcpierce
Lobby, lobby, lobby, lobby, lobby, lobby, lobby, lobby...

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



Re: Tomcat will not run JSPs

2004-08-27 Thread Darryl L. Pierce
On Thursday 26 August 2004 11: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.  

JAVA_HOME must point to the *root directory* where you J2SDK is installed. In 
my case, it points to /usr/lib/j2se/1.4 for Linux and on Windows it points to 
c:\j2sdk1.4.2_04. Tomcat can find the rest based on that indicator.

-- 
Darryl L. Pierce [EMAIL PROTECTED]
Visit the Infobahn Offramp - http://mypage.org/mcpierce
Lobby, lobby, lobby, lobby, lobby, lobby, lobby, lobby...

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



Re: Tomcat will not run JSPs

2004-08-27 Thread Darryl L. Pierce
On Friday 27 August 2004 01:10 am, Dennis Dai wrote:
 Of course it will not work!

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

On Windows it *does not matter* since all environment variables are converted 
to uppercase at runtime.

-- 
Darryl L. Pierce [EMAIL PROTECTED]
Visit the Infobahn Offramp - http://mypage.org/mcpierce
Lobby, lobby, lobby, lobby, lobby, lobby, lobby, lobby...

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



Re: Tomcat will not run JSPs

2004-08-27 Thread David Smith
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]


RE: Tomcat will not run JSPs

2004-08-27 Thread Nelson, Jerry W, Contractor 146CF, SCB
THANK YOU TO ALL OF YOU THAT HELPED.

I finally took Jakes sugestion.  I abandoned the Tomcat EXE and downloaded
the zip file from Jakarta, unzipped it into the Tomcat directory and setup
the environment as all of you had instructed and it FINALLY works, although
it would be nice if I could run the Tomcat service under windows so that DOS
window is not constantly in my task bar.

Thank you again!

//SIGNED//
 
Jerry Nelson


-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 9:48 PM
To: Tomcat Users List
Subject: RE: Tomcat will not run JSPs


Ok, start over.  Uninstall Tomcat.  Grab the .zip file distribution and 
extract it to a directory *without spaces*.  Now, change the value of 
CATALINA_HOME to the new location of Tomcat.  Reboot.  The reboot is 
sometimes not necessary, but many times it is in order for your environment 
variables to be recognized.  Just be safe and reboot.

Now you are ready to run.  The question is, which way are you running 
it?  I suggest running using the startup.bat file.  You can create a 
shortcut to this on your desktop (same with shutdown.bat) to make things 
easier.  Since you seem to be a relative newbie to Tomcat (and possibly to 
programming???), I don't suggest trying to set up the windows service, 
especially since the service.bat currently doesn't include tools.jar in the 
classpath and will cause JSP not to compile.  Why this hasn't been changed 
by the Tomcat developers is beyond me.  I've reported it many a time and it 
is simply ignored.  Baffling!

Anyway, you should be set to go.  Seriously, Tomcat is one of the simplest 
apps out there to set up.  If you are having trouble, you might want to 
take a class of some sort to get up to speed on some of this rather than 
banging your head against the wall for as long as you have been.

Jake

At 04:44 AM 8/27/2004 +0100, you 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
 

--
Dennis Dai
[EMAIL PROTECTED]

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

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


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

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



RE: Tomcat will not run JSPs

2004-08-27 Thread Jacob Kjome
Quoting Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED]:

 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)
 

And what I'm telling you is that:

1.  Don't bother with the installer.  I've never seen anything but trouble with it.

2.  The installer doesn't do much more than what you can do more simply with the
zip file.  Just a couple extra manual steps that everyone should do anyway
(setting up the system vars)

3.  The service that gets installed doesn't have tools.jar in the classpath (at
least with service.bat).  You'll have to add that before JSP's will be compiled
properly.  Please do what I recommended.  Start up Tomcat with the startup.bat
and see if it works.  If it does, then the problem is the service.  If you
refuse to try this, then you won't be able to narrow down your issue.

Sorry, but that's all the help I can provide.  If you ignore the advice I've
given you so far, you are on your own.

Jake


 //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
 
 
 
 
 --
 Dennis Dai
 [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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



Re: Tomcat will not run JSPs

2004-08-26 Thread Wendy Smoak
From: Nelson, Jerry W
 The CLASSPATH is set correctly

And the error message says:
 Perhaps JAVA_HOME does not point to the JDK

CLASSPATH is not the same thing as JAVA_HOME.

-- 
Wendy Smoak


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



RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
OK, How do I set JAVA_HOME???

//SIGNED//
 
Jerry Nelson


-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:15 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs


From: Nelson, Jerry W
 The CLASSPATH is set correctly

And the error message says:
 Perhaps JAVA_HOME does not point to the JDK

CLASSPATH is not the same thing as JAVA_HOME.

-- 
Wendy Smoak


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

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



Re: Tomcat will not run JSPs

2004-08-26 Thread Wendy Smoak
From: Nelson, Jerry W
 OK, How do I set JAVA_HOME???

The same way you set CLASSPATH-- it depends on your operating system.

For Windows, I do it in Start-Settings-Control
Panel-System-Advanced-Environment Variables and put it under System
variables so it stays set.

And... set it to the directory that *contains* 'bin', not all the way down
to the bin directory [that one goes in your PATH].

This is a JDK installation question, nothing much to do with Tomcat.

(BTW, Tomcat ignores the system CLASSPATH and forms its own based on the
contents of various directories.)

-- 
Wendy Smoak


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



RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
What's the syntax??  JAVA_HOME is nowhere to be found in System Vaiables.

//SIGNED//
 
Jerry Nelson

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:29 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs


From: Nelson, Jerry W
 OK, How do I set JAVA_HOME???

The same way you set CLASSPATH-- it depends on your operating system.

For Windows, I do it in Start-Settings-Control
Panel-System-Advanced-Environment Variables and put it under System
variables so it stays set.

And... set it to the directory that *contains* 'bin', not all the way down
to the bin directory [that one goes in your PATH].

This is a JDK installation question, nothing much to do with Tomcat.

(BTW, Tomcat ignores the system CLASSPATH and forms its own based on the
contents of various directories.)

-- 
Wendy Smoak


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

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



RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
Everything I see refers to JDK.  The only thing I can find is SDK.  Are they
the same???

//SIGNED//
 
Jerry Nelson


-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:47 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs


From: Nelson, Jerry W
 What's the syntax??  JAVA_HOME is nowhere to be found in System Vaiables.

You have to add it if you want it to be there.  Go back to your installation
instructions for the JDK, it should explain everything you need to set up.
Until you've got the JDK properly installed, Tomcat doesn't have a chance of
working right.  Are you able to compile and run 'HelloWorld' from the
command line?

To answer your question, (assuming you're on Windows,) it will be something
like...

U:\echo %JAVA_HOME%
c:\j2sdk1.5.0

You can set it from the command line as well, just:

U:\set JAVA_HOME=c:\whereever\the\jdk\lives

That will go away when you close the command window.  You could probably
also set it in the batch file that starts Tomcat, but other things that use
Java will be looking for JAVA_HOME, might as well set it once and forget it.

-- 
Wendy Smoak


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

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



Re: Tomcat will not run JSPs

2004-08-26 Thread Nikita
yes, SDK  stands for Software Development Kit (which is a very general 
term). JDK is Java SDK. Sun Microsystems, the company that'd created 
java has a pretty good overview of java, including tutorials at:

http://java.sun.com/learning/new2java/index.html
if you'd like to learn java programming, you can use online tutorials or 
get a copy of core java by Horstmann and Cornell.

cheers
-nikita
Nelson, Jerry W, Contractor 146CF, SCB wrote:
Everything I see refers to JDK.  The only thing I can find is SDK.  Are they
the same???
//SIGNED//
Jerry Nelson
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:47 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs
From: Nelson, Jerry W
 

What's the syntax??  JAVA_HOME is nowhere to be found in System Vaiables.
   

You have to add it if you want it to be there.  Go back to your installation
instructions for the JDK, it should explain everything you need to set up.
Until you've got the JDK properly installed, Tomcat doesn't have a chance of
working right.  Are you able to compile and run 'HelloWorld' from the
command line?
To answer your question, (assuming you're on Windows,) it will be something
like...
U:\echo %JAVA_HOME%
c:\j2sdk1.5.0
You can set it from the command line as well, just:
U:\set JAVA_HOME=c:\whereever\the\jdk\lives
That will go away when you close the command window.  You could probably
also set it in the batch file that starts Tomcat, but other things that use
Java will be looking for JAVA_HOME, might as well set it once and forget it.
 


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


Re: Tomcat will not run JSPs

2004-08-26 Thread Wendy Smoak
From: Nelson, Jerry W
 Everything I see refers to JDK.  The only thing I can find is SDK.
 Are they the same???

Same thing, I think I'm dating myself. ;) JDK == Java Development Kit and
now we have the J2SE SDK - Java 2 Standard Edition [version whatever]
Software Development Kit.

Just make sure you're not getting the 'JRE' which is only the Runtime
Environment and doesn't include the compiler.

http://java.sun.com/j2se/1.4.2/download.html

Please reply off list if you need more help, this isn't Tomcat related...

-- 
Wendy Smoak


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



RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
I completely romoved EVERTHING that has anything to do with Java and
reinstalled J2SDK1.4.2_05 and JRE1.4.2_05 and reinstalled
jakarta-tomcat-5.0.27.  When I reinstalled jakarta, all it asked for was a
directory for the JVM, nothing for home directory OR the location of javac.
I still get an error 500 stating that it can't find javac.  How can I tell
this STUPID program where it is???  I know javac existed in the following
directory: C:\jsdk1.4.2_05\bin.  There has got to be a way to tell Tomcat
where to find the file!

//SIGNED//
 
Jerry Nelson

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:47 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs


From: Nelson, Jerry W
 What's the syntax??  JAVA_HOME is nowhere to be found in System Vaiables.

You have to add it if you want it to be there.  Go back to your installation
instructions for the JDK, it should explain everything you need to set up.
Until you've got the JDK properly installed, Tomcat doesn't have a chance of
working right.  Are you able to compile and run 'HelloWorld' from the
command line?

To answer your question, (assuming you're on Windows,) it will be something
like...

U:\echo %JAVA_HOME%
c:\j2sdk1.5.0

You can set it from the command line as well, just:

U:\set JAVA_HOME=c:\whereever\the\jdk\lives

That will go away when you close the command window.  You could probably
also set it in the batch file that starts Tomcat, but other things that use
Java will be looking for JAVA_HOME, might as well set it once and forget it.

-- 
Wendy Smoak


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

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



RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
This is the JSP I'm trying to run:

html
head
  titleA Simple JSP/title
/head
body
pcenterThe current Date and time is: %= new
java.util.Date()%/center/p
/body
/html

Can't get much simpler than this one.

//SIGNED//
 
Jerry Nelson


-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:47 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs


From: Nelson, Jerry W
 What's the syntax??  JAVA_HOME is nowhere to be found in System Vaiables.

You have to add it if you want it to be there.  Go back to your installation
instructions for the JDK, it should explain everything you need to set up.
Until you've got the JDK properly installed, Tomcat doesn't have a chance of
working right.  Are you able to compile and run 'HelloWorld' from the
command line?

To answer your question, (assuming you're on Windows,) it will be something
like...

U:\echo %JAVA_HOME%
c:\j2sdk1.5.0

You can set it from the command line as well, just:

U:\set JAVA_HOME=c:\whereever\the\jdk\lives

That will go away when you close the command window.  You could probably
also set it in the batch file that starts Tomcat, but other things that use
Java will be looking for JAVA_HOME, might as well set it once and forget it.

-- 
Wendy Smoak


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

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



RE: Tomcat will not run JSPs

2004-08-26 Thread Fredrik Liden
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

-Original Message-
From: Nelson, Jerry W, Contractor 146CF, SCB
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 5:24 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat will not run JSPs


I completely romoved EVERTHING that has anything to do with Java and
reinstalled J2SDK1.4.2_05 and JRE1.4.2_05 and reinstalled
jakarta-tomcat-5.0.27.  When I reinstalled jakarta, all it asked for was
a directory for the JVM, nothing for home directory OR the location of
javac. I still get an error 500 stating that it can't find javac.  How
can I tell this STUPID program where it is???  I know javac existed in
the following
directory: C:\jsdk1.4.2_05\bin.  There has got to be a way to tell
Tomcat where to find the file!

//SIGNED//
 
Jerry Nelson

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:47 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs


From: Nelson, Jerry W
 What's the syntax??  JAVA_HOME is nowhere to be found in System 
 Vaiables.

You have to add it if you want it to be there.  Go back to your
installation instructions for the JDK, it should explain everything you
need to set up. Until you've got the JDK properly installed, Tomcat
doesn't have a chance of working right.  Are you able to compile and run
'HelloWorld' from the command line?

To answer your question, (assuming you're on Windows,) it will be
something like...

U:\echo %JAVA_HOME%
c:\j2sdk1.5.0

You can set it from the command line as well, just:

U:\set JAVA_HOME=c:\whereever\the\jdk\lives

That will go away when you close the command window.  You could probably
also set it in the batch file that starts Tomcat, but other things that
use Java will be looking for JAVA_HOME, might as well set it once and
forget it.

-- 
Wendy Smoak


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

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


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



RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
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

-Original Message-
From: Nelson, Jerry W, Contractor 146CF, SCB
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 5:24 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat will not run JSPs


I completely romoved EVERTHING that has anything to do with Java and
reinstalled J2SDK1.4.2_05 and JRE1.4.2_05 and reinstalled
jakarta-tomcat-5.0.27.  When I reinstalled jakarta, all it asked for was
a directory for the JVM, nothing for home directory OR the location of
javac. I still get an error 500 stating that it can't find javac.  How
can I tell this STUPID program where it is???  I know javac existed in
the following
directory: C:\jsdk1.4.2_05\bin.  There has got to be a way to tell
Tomcat where to find the file!

//SIGNED//
 
Jerry Nelson

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:47 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs


From: Nelson, Jerry W
 What's the syntax??  JAVA_HOME is nowhere to be found in System 
 Vaiables.

You have to add it if you want it to be there.  Go back to your
installation instructions for the JDK, it should explain everything you
need to set up. Until you've got the JDK properly installed, Tomcat
doesn't have a chance of working right.  Are you able to compile and run
'HelloWorld' from the command line?

To answer your question, (assuming you're on Windows,) it will be
something like...

U:\echo %JAVA_HOME%
c:\j2sdk1.5.0

You can set it from the command line as well, just:

U:\set JAVA_HOME=c:\whereever\the\jdk\lives

That will go away when you close the command window.  You could probably
also set it in the batch file that starts Tomcat, but other things that
use Java will be looking for JAVA_HOME, might as well set it once and
forget it.

-- 
Wendy Smoak


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

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


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

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



Re: Tomcat will not run JSPs

2004-08-26 Thread Dennis Dai
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
--
Dennis Dai
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
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
 

-- 
Dennis Dai
[EMAIL PROTECTED]

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

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



RE: Tomcat will not run JSPs

2004-08-26 Thread Jacob Kjome
Ok, start over.  Uninstall Tomcat.  Grab the .zip file distribution and 
extract it to a directory *without spaces*.  Now, change the value of 
CATALINA_HOME to the new location of Tomcat.  Reboot.  The reboot is 
sometimes not necessary, but many times it is in order for your environment 
variables to be recognized.  Just be safe and reboot.

Now you are ready to run.  The question is, which way are you running 
it?  I suggest running using the startup.bat file.  You can create a 
shortcut to this on your desktop (same with shutdown.bat) to make things 
easier.  Since you seem to be a relative newbie to Tomcat (and possibly to 
programming???), I don't suggest trying to set up the windows service, 
especially since the service.bat currently doesn't include tools.jar in the 
classpath and will cause JSP not to compile.  Why this hasn't been changed 
by the Tomcat developers is beyond me.  I've reported it many a time and it 
is simply ignored.  Baffling!

Anyway, you should be set to go.  Seriously, Tomcat is one of the simplest 
apps out there to set up.  If you are having trouble, you might want to 
take a class of some sort to get up to speed on some of this rather than 
banging your head against the wall for as long as you have been.

Jake
At 04:44 AM 8/27/2004 +0100, you 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

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

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


Re: Tomcat will not run JSPs

2004-08-26 Thread Dennis Dai
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


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


RE: Tomcat will not run JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
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
 
 


-- 
Dennis Dai
[EMAIL PROTECTED]

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

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