Something has changed with bei apache tomcat installation. I installed some
php4 WebFOrum software and in the course of this I upgraded apache to 1.3.27.

The tomcat examples are working again but I still get this in my application:

Internal Servlet Error:
java.lang.ClassNotFoundException: java.util.Arrays at 
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:450) 
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java) at 
Some.doGet(Some.java:320) at Some.doPost(Some.java:30) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at 
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597) at 
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at 
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
 at org.apache.tomcat.service.TcpConn!
ectionThread.run(SimpleTcpEndpoint.java:338) at java.lang.Thread.run(Thread.java)

(Sorry for sending an unwrapped line which is normally not my habit :-)

Some.java is my Servlet and I'm just doing a s=fp.list() on a 

       String s[];
       File fp = new File(SomeDir);
       s=fp.list();  <<<< offending line



I have no idea what happened. Maybe some new java got installed? Classpath is this:

"/usr/local/build/tomcat/classes:.:/usr/local/build/tomcat/lib/ant.ja
r:/usr/local/build/tomcat/lib/classes111.zip:/usr/local/build/tomcat/lib/classes
12.zip:/usr/local/build/tomcat/lib/jndi.zip:/usr/local/build/tomcat/lib/jta.zip:
/usr/local/build/tomcat/lib/nls_charset11.zip:/usr/local/build/tomcat/lib/nls_ch
arset12.zip:/usr/local/build/tomcat/lib/test:/usr/local/build/tomcat/lib/xml.jar
:.:/usr/local/jdk1.1.8/lib/classes.zip:/home/kuku/rmijdbc/rmijdbc.jar:/usr/local
/jsdk2.1/servlet.jar:/home/kuku/swing-1.1.1fcs/swing.jar:/usr/local/jdk1.1.8/cla
sses:/usr/local/jdk1.1.8/lib/classes.jar:/usr/local/jdk1.1.8/lib/rt.jar:/usr/loc
al/jdk1.1.8/lib/i18n.jar:/usr/local/jdk1.1.8/lib/classes.zip"

I admit, it's noit a beautiful classpath but it grew that way by
during the course of time.

--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to