Hello, I am running RedHat 7.3, Apache 1.3.26 and Tomcat-3.3.1. I am having problems getting Tomcat to pick up new classpaths for virtual hosts. We can successfully run jsp files from the virtual hosts but once we try to add a class (for JavaBeans in this case) it fails. Here is the exact error:
java.lang.ClassNotFoundException: SimpleBean at org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(DependClassLoader.java) at org.apache.tomcat.util.depend.DependClassLoader12$1.run(DependClassLoader12.java) at java.security.AccessController.doPrivileged(Native Method) at org.apache.tomcat.util.depend.DependClassLoader12.loadClass(DependClassLoader12.java) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java) at org.apache.jasper.compiler.Compiler.compile(Compiler.java) at org.apache.tomcat.facade.JasperLiaison.jsp2java(JspInterceptor.java) at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java) at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java) at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java) at org.apache.tomcat.core.ContextManager.service(ContextManager.java) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java) at java.lang.Thread.run(Thread.java:536) Here is my apps-vhosts.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <Server> <Host name="dev.sflsoccer.us"> <Context path="" docBase="/home/vhosting/sfl/htdocs/" debug="5" /> </Host> </Server> Also I have the following lines in my tomcat.properties: wrapper.path=/bin:/usr/bin:/usr/local/bin:/home/vhosting/sfl/bin:/usr/java/j2sdk1.4.0_01/bin wrapper.classpath=@JSERV_CLASSES@:@JSDK_CLASSES@:/home/vhosting/sfl/htdocs I have also tried the following: wrapper.path=/bin:/usr/bin:/usr/local/bin:/home/vhosting/sfl/bin:/usr/java/j2sdk1.4.0_01/bin wrapper.classpath=@JSERV_CLASSES@ wrapper.classpath=@JSDK_CLASSES@ wrapper.classpath=/home/vhosting/sfl/htdocs/classes Normally I would call to a separate class directory but I am just trying to get it to work at this point. I also added the following to my tomcat3.conf although it is my understanding that tomcat3 doesn't care about shell variables for the classpath: CLASSPATH=/home/vhosting/sfl/htdocs/classes:/home/vhostings/sfl/htdocs/classes export CLASSPATH Help would be greatly appreciated, Sincerely, Joshua D. Drake -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>