hi, this may well turn out to be a dumb question, but i've searched everywhere for answers to it and can't find anything. i'm hoping there may be a debian user on the list who can help me out.
tomcat is, apparently, simply broken out of the box on woody -- it runs okay, but it won't compile any of the example jsps that use anything in java.beans (see below; "Error: 'beans' is either a misplaced package name or a non-existent entity."). in all other respects it seems to be working fine; the example servlets all work, for example. i've got the j2sdk1.3 package installed. (i'm intentionally using 'tomcat' rather than 'tomcat4', by the way.) thanks a lot for any help. cheers, -tom obsess:~# apt-get install libapache-mod-jk tomcat Reading Package Lists... Done Building Dependency Tree... Done The following NEW packages will be installed: libapache-mod-jk tomcat 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/1246kB of archives. After unpacking 2005kB will be used. Selecting previously deselected package libapache-mod-jk. (Reading database ... 50138 files and directories currently installed.) Unpacking libapache-mod-jk (from .../libapache-mod-jk_3.3a-2_i386.deb) ... Selecting previously deselected package tomcat. Unpacking tomcat (from .../archives/tomcat_3.3a-2_all.deb) ... Setting up libapache-mod-jk (3.3a-2) ... Initializing apache config for immediate operation. Finding DSO mods........................................found. [...] Pondering........................................ done. Stopping apache with apachectl ... done. Waiting for apache to terminate ... done. /usr/sbin/apachectl start: httpd started Setting up tomcat (3.3a-2) ... Starting Tomcat servlet engine using Java from /usr/lib/j2sdk1.3: tomcat. obsess:~# lynx --dump http://localhost/examples/jsp/num/numguess.jsp Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile Found 1 semantic error compiling "/var/cache/tomcat/DEFAULT/examples/jsp/num/numguess_1.java": 69. numguess = (num.NumberGuessBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "num.NumberGuessBean"); <--------> *** Error: "beans" is either a misplaced package name or a non-existent entity. An expression name is expected in this context. at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:800) at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor. java:641) at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor. java:446) at org.apache.tomcat.core.ContextManager.processRequest(ContextManager. java:968) at org.apache.tomcat.core.ContextManager.internalService(ContextManager .java:875) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection( Ajp13Interceptor.java:213) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint. java:477) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread Pool.java:519) at java.lang.Thread.run(Thread.java:484) ____________________________________________ tom stuart http://obsess.com/ [EMAIL PROTECTED] -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
