Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: tomcat4.0


Message #1 by "Ramy" <ramymoneiry@h...> on Tue, 27 Nov 2001 19:16:11
<html><div style='background-color:'><DIV>
<P>thnak you for your answer , I solved the first problem when I delete the space as you told me but I still can not solve the
second problem . my jsp file in two places :</P>
<P>1 - webapps\root</P>
<P>2- webapps\mywebapp</P>
<P>but jsp files in the two directories can not be reloadable .</P>
<P>can you help me to fix the secon problem </P>
<P>&nbsp;</P>
<P>thank you</P>
<P><BR><BR>&nbsp;</P><BR><BR><BR>Ramy Moneiry </DIV>Software developer 
<DIV></DIV>phone:+x xxx xxxxxxx 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: Chanoch Wiggers <CHANOCHW@W...>
<DIV></DIV>&gt;Reply-To: "Servlets" <SERVLETS@P...>
<DIV></DIV>&gt;To: "Servlets" <SERVLETS@P...>
<DIV></DIV>&gt;Subject: [servlets] RE: tomcat4.0 
<DIV></DIV>&gt;Date: Wed, 28 Nov 2001 11:15:33 -0000 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;the only thing I can think of that would cause your first problem is if 
<DIV></DIV>&gt;there was a space between tomcat and 4.0. In the bit where it says 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; CATALINA_HOME = C:\tomcat4.0\jakarta-tomcat-4.0-b5 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;are you sure it doesnt say 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; CATALINA_HOME = C:\tomcat 4.0\jakarta-tomcat-4.0-b5 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;the reason I ask is because for some reason your system is looking at 
<DIV></DIV>&gt;4.0\jakarta-tomcat-4.0-b5 as though it is a class name. It is swapping the 
<DIV></DIV>&gt;dots "." with backslashes (for windows) and then trying to load the class. 
<DIV></DIV>&gt;Look out for that... 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;before I can answer your second question it would help to know where on your 
<DIV></DIV>&gt;system the jsps are? are they in the webapps/ROOT folder, 
<DIV></DIV>&gt;webapps/<YOURWEBAPPLICATIONSNAME> or where. If in doubt, include the whole 
<DIV></DIV>&gt;path to a specific jsp. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;chanoch 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;-----Original Message----- 
<DIV></DIV>&gt;From: Ramy [mailto:ramymoneiry@h...] 
<DIV></DIV>&gt;Sent: 27 November 2001 19:16 
<DIV></DIV>&gt;To: Servlets 
<DIV></DIV>&gt;Subject: [servlets] tomcat4.0 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;dear all 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; I installed tomcat 4.0 on windows 2000 at the directory c:\tomcate4.0 , 
<DIV></DIV>&gt;it work good but I have two problems : 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 1- when I shutdown the server from by shutdown.bat I find the following 
<DIV></DIV>&gt;error 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; exception in thread main , java.lang.NoClassDefFoundError: 
<DIV></DIV>&gt; 4/0\jakarta-tomcat-4/0-b5 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 2 - when I change my jsp pages and try to reload them or shutdown the 
<DIV></DIV>&gt;server (by closing the window not using shutdown script) and startagain I 
<DIV></DIV>&gt;can not find my changes 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; I defined the CATALINA_HOME and JAVA_HOME VARIABLES . 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; JAVA_HOME = C:\JDK1.3 
<DIV></DIV>&gt; CATALINA_HOME = C:\tomcat4.0\jakarta-tomcat-4.0-b5 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; could you please help me to fix the problem 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; thank you 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;--- 
<DIV></DIV>&gt;SIGS Conference for Java Development 
<DIV></DIV>&gt;Targeted, focused classes, expertise level classes 
<DIV></DIV>&gt;taught by Java gurus, rigorous tutorials, and 
<DIV></DIV>&gt;exhibit floor makes SIGS Conference for Java 
<DIV></DIV>&gt;Development a learning experience unlike any 
<DIV></DIV>&gt;other. Join over 10,000 developers and programmers 
<DIV></DIV>&gt;from across the U.S. and around the world who 
<DIV></DIV>&gt;have benefited from attending SIGS/101 Conferences. 
<DIV></DIV>&gt;http://www.javadevcon.com 
<DIV></DIV>&gt;--- 
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Read the future with ebooks at B&amp;N 
<DIV></DIV>&gt;http://service.bfast.com/bfast/click?bfmid=2181&amp;sourceid=38934667&amp;categoryid 
<DIV></DIV>&gt;=rn_ebooks 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;--- 
<DIV></DIV>&gt;SIGS Conference for Java Development 
<DIV></DIV>&gt;Targeted, focused classes, expertise level classes 
<DIV></DIV>&gt;taught by Java gurus, rigorous tutorials, and 
<DIV></DIV>&gt;exhibit floor makes SIGS Conference for Java 
<DIV></DIV>&gt;Development a learning experience unlike any 
<DIV></DIV>&gt;other. Join over 10,000 developers and programmers 
<DIV></DIV>&gt;from across the U.S. and around the world who 
<DIV></DIV>&gt;have benefited from attending SIGS/101 Conferences. 
<DIV></DIV>&gt;http://www.javadevcon.com 
<DIV></DIV>&gt;--- 
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Read the future with ebooks at B&amp;N 
<DIV></DIV>&gt;http://service.bfast.com/bfast/click?bfmid=2181&amp;sourceid=38934667&amp;categoryid=rn_ebook
s 
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a
href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>

  Return to Index