cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drasko Kokic <drasko_ko...@yahoo.com>
Subject Re: error accessing database
Date Wed, 15 Nov 2000 10:02:25 GMT

--- herbert.hotz@symmetrix.ch wrote:
> 
> On Wed, 15 Nov 2000, Drasko Kokic wrote:
> 
> > Date: Wed, 15 Nov 2000 00:04:54 -0800 (PST)
> > From: Drasko Kokic <drasko_kokic@yahoo.com>
> > 
> > I have one for you:
> > 
> > Definition of a pesimist:  a well informed
> optimist
> > !!!
> > 
> > Drasko :-)
> > 
> 
> Hi,
> 
> Are your problems gone? Hm - it's another day today!
> 
> Greetings,
> Herbert
> -- 

Hmmm ... I have rebuilt Cocoon 1.8.1-dev from
xml-cocoon_20001114231605.tar.gz file and install the
newly cocoon.jar in the tomcat lib directory (Tomcat
3.1 running on Solaris 2.7 with SUN JDK 1.2.2)

Now I have all my XSP pages failing with:

====================================================
Cocoon 1.8.1-dev

                                          Error found
handling the request.

      java.lang.Exception: XSP Java Compiler:
Compilation failed for _register.java
      7: Package org.w3c.dom not found in import.
          import org.w3c.dom.*;
                 ^
      8: Package org.xml.sax not found in import.
          import org.xml.sax.*;
                 ^
      9: Package javax.servlet not found in import.
          import javax.servlet.*;
                 ^
      10: Package javax.servlet.http not found in
import.
          import javax.servlet.http.*;
                 ^
      12: Package org.apache.cocoon.parser not found
in import.
          import org.apache.cocoon.parser.*;
                 ^
      13: Package org.apache.cocoon.producer not found
in import.
          import org.apache.cocoon.producer.*;
                 ^
      14: Package org.apache.cocoon.framework not
found in import.
          import org.apache.cocoon.framework.*;
                 ^
      16: Package org.apache.cocoon.processor.xsp not
found in import.
          import org.apache.cocoon.processor.xsp.*;
                 ^
      17: Package
org.apache.cocoon.processor.xsp.library not found in
import.
          import
org.apache.cocoon.processor.xsp.library.*;
                 ^
      43: Class
org.apache.turbine.services.db.PoolBrokerService not
found in import.
            import
org.apache.turbine.services.db.PoolBrokerService;
                   ^
      45: Class
org.apache.turbine.util.db.pool.DBConnection not found
in import.
            import
org.apache.turbine.util.db.pool.DBConnection;
                   ^
      48: Superclass
_usr._local._kodra._lostXmas.XSPPage of class
_usr._local._kodra._lostXmas._register not found.
          public class _register extends XSPPage {
                                         ^
      482: ')' expected.
                        servletContext.log("<lostXmas
db-error='" + _esql_exception.getMessage() +"'");
                                                      
                                               ^
      53: Class
org.apache.turbine.util.db.pool.DBConnection not
found.
              DBConnection db_connection = null;
                                         ^
      14 errors


              at
java.lang.Throwable.fillInStackTrace(Native Method)
              at
java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled
Code)
              at java.lang.Exception.<init>(Compiled
Code)
              at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(Compiled
Code)
              at
org.apache.cocoon.processor.xsp.XSPProcessor.process(Compiled
Code)
              at
org.apache.cocoon.Engine.handle(Compiled Code)
              at
org.apache.cocoon.Cocoon.service(Cocoon.java:167)
              at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at
org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
              at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
              at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled
Code)
              at
org.apache.tomcat.service.TcpConnectionThread.run(Compiled
Code)
              at java.lang.Thread.run(Compiled Code)
====================================================

It seams that I cannot find any of the neccessary
jar's ... but they are still in the same place and
listed in the CLASSPATH when starting Tomcat (hmmm???)

Drasko

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

Mime
View raw message