---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- Thanks Dave for explaining me the obscure error message. In my case the error was that the directory in which my packages were in did not allow the user "nobody" execution rights!! :))) Now I can go on. Jean David Hall wrote: > > ---------------------------------------------------------------- > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> > WHEN YOU POST, include all relevant version numbers, log files, > and configuration files. Don't make us guess your problem!!! > ---------------------------------------------------------------- > > You might want to check your wrapper.classpath entries to make sure they cover >everything that is > in your CLASSPATH. Sometimes when Java reports a NoClassDefFoundError, it's not the >class it names > (Helper/DB/ColumnDesc) that it can't find, but a class that that class uses or >instantiates. Make > sure that ALL classess needed by your servlet are available in your >wrapper.classpath= settings. > > Regards, > > Dave. > > Jean Tremblay wrote: > > > ---------------------------------------------------------------- > > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> > > WHEN YOU POST, include all relevant version numbers, log files, > > and configuration files. Don't make us guess your problem!!! > > ---------------------------------------------------------------- > > > > Hi, > > > > I have been trying to solve this problem, which seems so obvious and > > nevertheless I'm really stuck! :( Can you please help? > > > > I have a servlet which uses some classes that I have defined in two > > distiguished packages: > > Helper.General and Helper.DB. > > > > When I compile my application with javac no errors are reported. If I > > run as a normal java application > > my servlet seems to behave normally. > > > > If I run it as a servlet I get the following error: > > >============================================================================================= > > [22/11/1999 17:36:22:932 CET] ImageServer.ImageServer: init > > [22/11/1999 17:36:22:937] (ERROR) ajp11: Servlet Error: > > java.lang.NoClassDefFoundError: > > Helper/DB/ColumnDesc: Helper/DB/ColumnDesc > > [22/11/1999 17:36:22:937] (ERROR) an error returned handling request via > > protocol "ajpv11" > > > > [22/11/1999 17:36:22:938 CET] java.lang.NoClassDefFoundError: > > Helper/DB/ColumnDesc > > at ImageServer.AccessLogger.BuildTableDesc(AccessLogger.java:20) > > at ImageServer.AccessLogger.<init>(AccessLogger.java:39) > > at ImageServer.ImageServer.init(ImageServer.java:34) > > at > > org.apache.jserv.JServServletManager.load_init(JServServletManager.java:478) > > at > > org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:397) > > at > > org.apache.jserv.JServConnection.processRequest(JServConnection.java:287) > > at org.apache.jserv.JServConnection.run(JServConnection.java:197) > > at java.lang.Thread.run(Compiled Code) > > >============================================================================================== > > > > I have defined a zone which is pointing at the root of all my classes. > > > > ... > > repositories=/home/tremblay/Projects > > ... > > > > I have the following directories: > > ====================================================== > > /home/tremblay/Projects/ImageServer (my main >application, package > > ImageServer) > > /home/tremblay/Projects/Helper/DB (package Helper.DB) > > /home/tremblay/Projects/Helper/General (package Helper.General) > > ====================================================== > > The package ImageServer uses the package Helper.DB and Helper.General > > The package Helper.DB uses the package Helper.General. > > > > ------------------------------------------------------ > > I have tried moving the classes around renaming the packages, > > unsuccessfuly. > > I have been doing few servlets now without problems. Now that I am using > > the notion of packages > > more intensively I seem to encounter this new problem. > > > > Any ideas? > > > > Thanks > > > > Jean > > > > -- > > -------------------------------------------------------------- > > Please read the FAQ! <http://java.apache.org/faq/> > > To subscribe: [EMAIL PROTECTED] > > To unsubscribe: [EMAIL PROTECTED] > > Archives and Other: <http://java.apache.org/main/mail.html> > > Problems?: [EMAIL PROTECTED] > > -- > -------------------------------------------------------------- > Please read the FAQ! <http://java.apache.org/faq/> > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] > Archives and Other: <http://java.apache.org/main/mail.html> > Problems?: [EMAIL PROTECTED] -- This message (plus any attachments) is confidential and may be subject to lawyer-client privilege. Use without permission is strictly prohibited. -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]