RE: sun/tools/javac/Main not found while running Tomcat 4 as a service on Windows 2000

2001-09-20 Thread Beem Rickey L (Rick) CNIN
not set this correctly. I set it to point to C:\jdk1.4, but it didn't fix the problem. -Original Message- From: asheesh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 9:01 PM To: [EMAIL PROTECTED] Subject: Re: sun/tools/javac/Main not found while running Tomcat 4

RE: sun/tools/javac/Main not found while running Tomcat 4 as a service on Windows 2000

2001-09-20 Thread Beem Rickey L (Rick) CNIN
Sorry for the mix up. The work around is to copy \jdk1.4\lib\tools.jar to the Apache Tomcat 4.0\common\lib folder. -Original Message- From: Beem Rickey L (Rick) CNIN Sent: Thursday, September 20, 2001 9:10 AM To: '[EMAIL PROTECTED]' Subject: RE: sun/tools/javac/Main not found while

RE: sun/tools/javac/Main not found while running Tomcat 4 as a service on Windows 2000

2001-09-20 Thread Beem Rickey L (Rick) CNIN
Rickey L (Rick) CNIN Sent: Thursday, September 20, 2001 9:13 AM To: Beem Rickey L (Rick) CNIN; '[EMAIL PROTECTED]' Subject: RE: sun/tools/javac/Main not found while running Tomcat 4 as a service on Windows 2000 Sorry for the mix up. The work around is to copy \jdk1.4\lib\tools.jar to the Apache

Re: sun/tools/javac/Main not found while running Tomcat 4 as a service on Windows 2000

2001-09-19 Thread asheesh
Same problem with me, when i upgraded my tomcat 3.1 to tomcat 4.0 , and my tomcat 3.1 stoped compiling all the new JSP pages, where as all pages work fine with tomcat4.0 I hope some one can help us in this. cheers asheesh - Original Message - From: Beem Rickey L (Rick) CNIN [EMAIL

Re: sun/tools/javac/Main?

2001-06-28 Thread Guoben Li
Pete and Julian, I looked into $TOMCAT_HOME/bin/tomcat.sh and saw: CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar So my problem was that JAVA_HOME was not set properly before starting Tomcat. The script tomcat.sh does try to guess what JAVA_HOME is (by `which java`) but in my case the

Re: sun/tools/javac/Main?

2001-06-27 Thread Peter Davison
You need to include tools.jar in your classpath (tools.jar contains the java compiler - javac - required to compile JSPs.). You should find the jar file in the lib directory where you installed your JDK. P. Thus spake Guoben Li [EMAIL PROTECTED] on Wed, 27 Jun 2001 16:46:06 -0700 (PDT): GL

Re: sun/tools/javac/Main?

2001-06-27 Thread Julian Conway
You're either using a jre with no tools.jar (contains sun/tools/javac/Main), or you don't have tools.jar in your classpath. a. Check your using a jdk, not just jre b. Check your classpath. Jules Guoben Li wrote: Hi, I have Tomcat 3.2.1 configured with Apache on Sun Solaris 2.7. A

Re: sun/tools/javac/Main?

2001-06-27 Thread Guoben Li
Jules and Peter, Thank you both for you quick response! I found tools.jar in /usr/j2se/lib on my server. The remaining question is: how to set CLASSPATH for Tomcat? When I run http://myserver/examples/jsp/dates/date.jsp it is Tomcat that tries to compile it and create a servlet for it,

Re: sun/tools/javac/Main?

2001-06-27 Thread Julian Conway
Umm, I think if you have /usr/j2se as your $JAVA_HOME, Tomcat will find it automagically, provided you use the tomcat/catalina startup script in $TOMCAT_HOME/bin. Maybe your JAVA_HOME points elsewhere? Or maybe you need to update the startup script you use to include /usr/j2se/tools.jar e.g.

Re: sun/tools/javac/Main?

2001-06-27 Thread pete
You might try putting tools.jar in $JAVA_HOME/jre/lib/ext/ I believe this is a default classpath for java. Try that for starters, otherwise you could hack tomcat.sh (or whatever script you use to start tomcat) to add a CLASSPATH pointing to tools.jar before tomcat starts. -Pete You need to

RE: sun/tools/javac/Main

2001-01-18 Thread Randy Layman
This is actually an extremely common error. You need to set the environment variable JAVA_HOME to the directory that the JDK is located in so that the shell script/batch file can add JAVA_HOME/lib/tools.jar to your class path for you. Randy -Original Message- From:

RE: sun/tools/javac/Main

2001-01-18 Thread Wang, Jianming
It seems that your jsp file can not be found. Where you put your jsp file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 9:06 AM To: [EMAIL PROTECTED] Subject: sun/tools/javac/Main Hello, I have a strange error during an access