RE: JSP compile error - class not found

2001-07-18 Thread Jann VanOver

put your classes into a package.  Put the package in WEB-INF\classes\pkgname
(where pkgname is the name of your package)  Then it will work.

-Original Message-
From: Will England [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 8:07 AM
To: [EMAIL PROTECTED]
Subject: RE: JSP compile error - class not found 


Greetings!

Tried copying tools.jar to the TOMCAT_HOME/lib directory.  Didn't help.

Set TOMCAT_HOME and JAVA_HOME vars.  Didn't help.

Any other ideas?


-- 
  /~>'find `funny quote`': Command not found; humor not installed.  
  1986 Concours 72,xxx  1982 Maxim 12,xxx (For Sale!) CDA #00046
  Overland Park, KS [EMAIL PROTECTED] PCS: 316-371-FOAD
http://will.mylanders.com/

On Tue, 17 Jul 2001, Robert Finneran wrote:

> First thing, try copying tools.jar to your TOMCAT_HOME/lib directory.
> (Also make sure your TOMCAT_HOME and JAVA_HOME enviroment vars are set)
> 
> Second, the may be issues involving the use of multiple class loaders (??)
> 
> Hope this helps! 
> 
> -Original Message-
> From: Will England [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:11 PM
> To: [EMAIL PROTECTED]
> Subject: JSP compile error - class not found 
> 
> 
> Greetings!
> 
> Running tomcat 3.2 on Sun 2.7
> 
> Porting a working application from 3.1.  All jsp's and servlets work under
> 3.1.
> 
> Running multiple virtual machines under one Tomcat with the 
> parameter in server.xml.
> 
> The JSPs are failing to compile --
> org.apache.jasper.JasperException: Unable to compile class for JSP
> Class xxx not found.
> 
> The classes that are giving me problems are in the WEB-INF/classes
> directory.  They have correct permissions.  The classpath that tomcat is
> using is:
> 
> bin/../lib/ant.jar:
> bin/../lib/db-2.7.7:
> bin/../lib/db-2.7.7.jar:
> bin/../lib/jasper.jar:
> bin/../lib/jaxp.jar:
> bin/../lib/log4j.jar:
> bin/../lib/mail.jar:
> bin/../lib/mm.mysql-2.0.1-bin.jar:
> bin/../lib/parser.jar:
> bin/../lib/servlet.jar:
> bin/../lib/test:
> bin/../lib/webserver.jar:
> /usr/java1.2/bin/../lib/tools.jar
> 
> The servlets work correctly.  The only odd bit in server.xml is the use of
> this:
> 
>   className="org.apache.tomcat.request.Jdk12Interceptor"/>
> 
> so that I can read text files from each WEB-INF directory for each web
> application.
> 
> I've checked the FAQ's, google, groups.google, Sun and Apache's web
> pages.  I haven't been able to find any reason for this to happen.
> 
> I've cleared the work/ directory out, cleared out all compliled classes
> and recompiled the entire thing from source.  
> 
> I'm rather stumped.  Anyone have any suggestions or ideas why my JSP's
> won't compile?
> 
> Thanks in advance for any tips, tricks or advice!
> 
> Will
> 
> 
> 



RE: JSP compile error - class not found

2001-07-18 Thread Will England

Greetings!

Tried copying tools.jar to the TOMCAT_HOME/lib directory.  Didn't help.

Set TOMCAT_HOME and JAVA_HOME vars.  Didn't help.

Any other ideas?


-- 
  /~>'find `funny quote`': Command not found; humor not installed.  
  1986 Concours 72,xxx  1982 Maxim 12,xxx (For Sale!) CDA #00046
  Overland Park, KS [EMAIL PROTECTED] PCS: 316-371-FOAD
http://will.mylanders.com/

On Tue, 17 Jul 2001, Robert Finneran wrote:

> First thing, try copying tools.jar to your TOMCAT_HOME/lib directory.
> (Also make sure your TOMCAT_HOME and JAVA_HOME enviroment vars are set)
> 
> Second, the may be issues involving the use of multiple class loaders (??)
> 
> Hope this helps! 
> 
> -Original Message-
> From: Will England [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:11 PM
> To: [EMAIL PROTECTED]
> Subject: JSP compile error - class not found 
> 
> 
> Greetings!
> 
> Running tomcat 3.2 on Sun 2.7
> 
> Porting a working application from 3.1.  All jsp's and servlets work under
> 3.1.
> 
> Running multiple virtual machines under one Tomcat with the 
> parameter in server.xml.
> 
> The JSPs are failing to compile --
> org.apache.jasper.JasperException: Unable to compile class for JSP
> Class xxx not found.
> 
> The classes that are giving me problems are in the WEB-INF/classes
> directory.  They have correct permissions.  The classpath that tomcat is
> using is:
> 
> bin/../lib/ant.jar:
> bin/../lib/db-2.7.7:
> bin/../lib/db-2.7.7.jar:
> bin/../lib/jasper.jar:
> bin/../lib/jaxp.jar:
> bin/../lib/log4j.jar:
> bin/../lib/mail.jar:
> bin/../lib/mm.mysql-2.0.1-bin.jar:
> bin/../lib/parser.jar:
> bin/../lib/servlet.jar:
> bin/../lib/test:
> bin/../lib/webserver.jar:
> /usr/java1.2/bin/../lib/tools.jar
> 
> The servlets work correctly.  The only odd bit in server.xml is the use of
> this:
> 
>   className="org.apache.tomcat.request.Jdk12Interceptor"/>
> 
> so that I can read text files from each WEB-INF directory for each web
> application.
> 
> I've checked the FAQ's, google, groups.google, Sun and Apache's web
> pages.  I haven't been able to find any reason for this to happen.
> 
> I've cleared the work/ directory out, cleared out all compliled classes
> and recompiled the entire thing from source.  
> 
> I'm rather stumped.  Anyone have any suggestions or ideas why my JSP's
> won't compile?
> 
> Thanks in advance for any tips, tricks or advice!
> 
> Will
> 
> 
> 




RE: JSP compile error - class not found

2001-07-17 Thread Robert Finneran

First thing, try copying tools.jar to your TOMCAT_HOME/lib directory.
(Also make sure your TOMCAT_HOME and JAVA_HOME enviroment vars are set)

Second, the may be issues involving the use of multiple class loaders (??)

Hope this helps! 

-Original Message-
From: Will England [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:11 PM
To: [EMAIL PROTECTED]
Subject: JSP compile error - class not found 


Greetings!

Running tomcat 3.2 on Sun 2.7

Porting a working application from 3.1.  All jsp's and servlets work under
3.1.

Running multiple virtual machines under one Tomcat with the 
parameter in server.xml.

The JSPs are failing to compile --
org.apache.jasper.JasperException: Unable to compile class for JSP
Class xxx not found.

The classes that are giving me problems are in the WEB-INF/classes
directory.  They have correct permissions.  The classpath that tomcat is
using is:

bin/../lib/ant.jar:
bin/../lib/db-2.7.7:
bin/../lib/db-2.7.7.jar:
bin/../lib/jasper.jar:
bin/../lib/jaxp.jar:
bin/../lib/log4j.jar:
bin/../lib/mail.jar:
bin/../lib/mm.mysql-2.0.1-bin.jar:
bin/../lib/parser.jar:
bin/../lib/servlet.jar:
bin/../lib/test:
bin/../lib/webserver.jar:
/usr/java1.2/bin/../lib/tools.jar

The servlets work correctly.  The only odd bit in server.xml is the use of
this:

 

so that I can read text files from each WEB-INF directory for each web
application.

I've checked the FAQ's, google, groups.google, Sun and Apache's web
pages.  I haven't been able to find any reason for this to happen.

I've cleared the work/ directory out, cleared out all compliled classes
and recompiled the entire thing from source.  

I'm rather stumped.  Anyone have any suggestions or ideas why my JSP's
won't compile?

Thanks in advance for any tips, tricks or advice!

Will


-- 
  /~>'find `funny quote`': Command not found; humor not installed.  
  1986 Concours 72,xxx  1982 Maxim 12,xxx (For Sale!) CDA #00046
  Overland Park, KS [EMAIL PROTECTED] PCS: 316-371-FOAD
http://will.mylanders.com/