I decided to get the src for 2.0.3 and did a build on it instead of the 2.0.2 I couldn't get to work. Now I'm getting different (but somewhat less arcane) errors when starting.
in access.log: ===================================================== DEBUG (2002-07-25) 16:47.28:377 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Trying to load class: org.hsqldb.jdbcDriver WARN (2002-07-25) 16:47.28:396 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Could not force-load class: org.hsqldb.jdbcDriver java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver at java.net.URLClassLoader.findClass(URLClassLoader.java:205) ... extra removed ... INFO (2002-07-25) 16:47.28:411 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Reloading from: file:/usr/local/jakarta-tomcat-3.2.2/we ERROR (2002-07-25) 16:47.28:412 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Exception reloading java.lang.ClassNotFoundException: org.apache.cocoon.Cocoon at java.net.URLClassLoader.findClass(URLClassLoader.java:205) ... extra removed ... ERROR (2002-07-25) 17:01.08:814 [access] (/cocoon/) Thread-7/CocoonServlet: Problem with Cocoon servlet java.lang.NullPointerException at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) ... extra removed ... INFO (2002-07-25) 17:01.08:972 [access] (/cocoon/) Thread-7/CocoonServlet: '' Processed by Apache Cocoon 2.0.3 in 510 milliseconds. ERROR (2002-07-25) 17:02.09:203 [access] (/cocoon/) Thread-8/CocoonServlet: Problem with Cocoon servlet java.lang.NullPointerException at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) Is this an easier one to eradicate? :) mark s. kent - web dev vistyx corp. - www.vistyx.com 972.755.0447 x 107 -----Original Message----- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 3:27 PM To: [EMAIL PROTECTED]; Mark Kent Subject: RE: LanguageException errors on startup > From: Mark S. Kent [mailto:[EMAIL PROTECTED]] > > All of the .log files have the same sequence of messages starting with the > ProcessingException: ... Here is the second stacktrace: > org.apache.cocoon.components.language.LanguageException: Could not load > class for program 'org/apache/cocoon/www/sitemap_xmap' due to a > java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap > at > org.apache.cocoon.components.language.programming.java.JavaLanguage.load Prog > ram(JavaLanguage.java:186) Unfortunately (for you), I don't have redhat to experiment with and ran out of suggestions... No, wait a second. I've got several more (assuming you don't want to move to 4.0.4 right now): 1. Try with X running. Launch X and start tomcat under same user, and (IIRC) not root. 2. Remove lib/optional/batik, build clean, build .... It will create totally X-less setup. 3. Try Cocoon 2.0.3 release These are all guesses because I can't imagine why class could not be loaded. PS I have Cocoon running with tomcat 4.0.4, mandrake, some Sun jdk. Vadim ... > We are looking at going to Tomcat 4 so maybe that will take care of things. > However, for now I'd like to see it working on 3.2.2 so I can complete the > integration with my existing app. > > mark ... --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>