[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Apache Tomcat 3.3a Question



Chad,
 
I am also using tomcat 3.3a on Win 2000.  Assuming that you are using the default configuration, you need to put jar files in your context's WEB-INF/lib directory, not tomcat/lib.
 
I'm surprised that it's not picking up the class files in WEB-INF/classes.  It should do that.  Here are some things to check:
 
1.  Are you restarting tomcat after making changes to your application?  I think it only reloads modified JSP files, not .class or .jar files.
2.  Are you sure you are using a correctly configured context?  You must either create a WAR file and put it in tomcat/webapps, or explicitly create an app-whatever.xml file in tomcat/conf.
 
 
Hope this helps!
 
 
Kevin Chipalowsky
http://www.kevinchipalowsky.com
 
 
 
 
-----Original Message-----
From: Chad Smith [mailto:chadscc@hotmail.com]
Sent: Wednesday, March 27, 2002 10:02 AM
To: ajug-members@ajug.org
Subject: Apache Tomcat 3.3a Question

I have a web application I am trying to deploy in Tomcat 3.3a on Win 2000.  I have placed the class files in the WEB-INF/classes folder in the correct dir structure to mirror the package directory. 

Now when I run the app, JSPs without import statements work fine.  JSPs that have page imports in them give me the good ol' "Class com.whatever.whatever not found in import."

What's wrong here?  I know tomcat ignores the system classpath, and I have tried everything...making the classes a  jar file and sticking it in tomcat/lib - everything I can think of...is there some new setting that I'm not aware of in 3.3a?  Thanks in advance!

cs

 




 

CS
 


Chat with friends online, try MSN Messenger: Click Here