Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Simple JSP fails!!!

Reply
Thread Tools

Simple JSP fails!!!

 
 
Manish Pandit
Guest
Posts: n/a
 
      08-09-2007
On Aug 9, 10:22 am, k...@icered.com wrote:
> I did a search for CATILINA_HOME on the Unix box.
>
> echo $CATALINA_HOME turns up nothing. Does that mean that
> CATALINA_HOME somehow became deleted?


It is not deleted, it is just not set. The logs (assuming its linux)
should be in /var/log/tomcat5. However, the log will pretty much have
what you see in the console anyway.

Did you get a chance to check for the free space left on the drive?

-cheers,
Manish

 
Reply With Quote
 
 
 
 
kai@icered.com
Guest
Posts: n/a
 
      08-09-2007
Manish - Sorry I forgot to mention that, yes, I checked the
freespace. I am at 34% used, so I don't think that is the problem.

I did try a test JSP. A simple "Hello World" test. It too failed
with the same error.

I have went ahead and set the CATALINA_HOME using the "export"
command, and echo $CATALINA_HOME now returns : /opt/jakarta/jakarta-
tomcat-5.0.28

It did not fix the problem, however I have not restarted Tomcat out of
fear of breaking all my already compiled JSPs. Is a restart of Tomcat
necessary after setting cat_home???

Thanks for the help guys!

 
Reply With Quote
 
 
 
 
kai@icered.com
Guest
Posts: n/a
 
      08-09-2007
Manish - Sorry I forgot to mention that, yes, I checked the
freespace. I am at 34% used, so I don't think that is the problem.

I did try a test JSP. A simple "Hello World" test. It too failed
with the same error.

I have went ahead and set the CATALINA_HOME using the "export"
command, and echo $CATALINA_HOME now returns : /opt/jakarta/jakarta-
tomcat-5.0.28

It did not fix the problem, however I have not restarted Tomcat out of
fear of breaking all my already compiled JSPs. Is a restart of Tomcat
necessary after setting cat_home???

Thanks for the help guys!

 
Reply With Quote
 
Lew
Guest
Posts: n/a
 
      08-09-2007
wrote:
> Manish - Sorry I forgot to mention that, yes, I checked the
> freespace. I am at 34% used, so I don't think that is the problem.
>
> I did try a test JSP. A simple "Hello World" test. It too failed
> with the same error.
>
> I have went ahead and set the CATALINA_HOME using the "export"
> command, and echo $CATALINA_HOME now returns : /opt/jakarta/jakarta-
> tomcat-5.0.28
>
> It did not fix the problem, however I have not restarted Tomcat out of
> fear of breaking all my already compiled JSPs. Is a restart of Tomcat
> necessary after setting cat_home [sic] ???


You only need one question mark to indicate a question.

Setting CATALINA_HOME has nothing to do with fixing your problem. Knowing
where Tomcat is installed has everything to do with locating the log files.

My Tomcat places its log files in a subdirectory of its own installation
directory, not in /var/log/anywhere. Yours might also.

By convention one refers to the installation location as $CATALINA_HOME, on
the assumption that someone doing maintenance on Tomcat (such as looking to
the log files) would know where their installation is and that the speaker
doesn't. You're supposed to translate that envar reference to the appropriate
installation location at your server. There was no advice to go setting that
variable.

If you don't even know where Tomcat is, you'll have serious difficulties
trying to fix your problem.

Again, Tomcat writes log files to its own logs/ subdirectory, not necessarily
to /var/log/.

--
Lew
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM
JSP <jsp:useBean ... /> tag: Difference between 'class' and 'type' Sean Aitken Java 3 10-21-2004 11:35 AM
JSP 2.0: <jsp:attribute> in <c:if> Timo Nentwig Java 0 05-10-2004 03:05 PM
Custom tags and <jsp:plugin> / <jsp:param> Raymond DeCampo Java 0 02-18-2004 01:29 AM
[JSP] Strings Constants from JSP using Struts tags Matthias Nietz Java 1 11-12-2003 04:32 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57