Perhaps it is a bit obvious but I can help in other way...have you deployed correctly the app? I mean...do you have the web.xml file and the servlets declared in it? Sorry if you do...i can help more :-(
David Sierra Fernandez e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > -----Mensaje original----- > De: news [mailto:[EMAIL PROTECTED] nombre de Werner Daum > Enviado el: domingo, 23 de noviembre de 2003 22:50 > Para: [EMAIL PROTECTED] > Asunto: Tomcat cannot fine java classes > > > Hi, > > I have the following problem with tomcat 4.1.27: my java classes cannot > be found. When I request a JSP which uses a java class, I get messages > like this: > > File not found: > 'http://134.xxx.yyy.zzz:8080/learnweb/servlet/learnweb.module.admi n.userinterface.web.AdminGroupServlet' In this case the class name is AdminGroupServlet and the corresponding class file it is located in the directory /data/htdocs/learnweb/jakarta-tomcat-4.1.27/webapps/learnweb/WEB-INF/classes /learnweb/module/admin/userinterface/web, however tomcat doesn't seem to resolve the above URL correcotly. I tried to request example JSPs which came with tomcat (in webapps/examples), and they worked, howewer I had no success with my own classes. When I call startup.sh, I get the following messages: Using CATALINA_BASE: /data/htdocs/learnweb/jakarta-tomcat-4.1.27 Using CATALINA_HOME: /data/htdocs/learnweb/jakarta-tomcat-4.1.27 Using CATALINA_TMPDIR: /data/htdocs/learnweb/jakarta-tomcat-4.1.27/temp Using JAVA_HOME: /usr/local/j2sdk1.4.2_02 Using CLASSPATH: /usr/local/j2sdk1.4.2_02/lib/tools.jar:/data/htdocs/learnweb/jakarta-tomcat- 4.1.27/bin/bootstrap.jar I tried to add the path to my classes to CLASSPATH in catalina.sh, but after that I could not use tomcat at all. Any ideas, what I am doing wrong? Thanks in advance, Werner Daum --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
