The problem is that you need the manifest file that has the Cocoon-Libs entry and the other entries for the Jars in the cocoon.war. If oyu dont build using this manifest than cocoon will not be able to locate anything. If you deploy as an exploded war than you will not have this problem.
-- Robert ----- Original Nachricht ---- Von: Christian Joelly <[EMAIL PROTECTED]> An: Cocoon ML <[EMAIL PROTECTED]> Datum: 04.02.03 10:40 Betreff: Cocoon 2 with jboss-3.0.4_tomcat-4.1.12 > Hello! > > has anybody cocoon 2 with jboss 3/tomcat 4.1 up and running? > > i have tried to deploy my c2 application which usually runs on jboss > 2.4.4/tomcat 3.2 (j2sdk1.3) to the newly installed jboss3.0.4/tomcat > 4.1.12 (j2sdk1.4) environment. i have also build an ear file with the c2 > war file and an application.xml descriptor. > > in both cases i got the following exception: > > type fatal > > message Language Exception > > description org.apache.cocoon.ProcessingException: Language Exception: > org.apache.cocoon.components.language.LanguageException: Error compiling > sitemap_xmap: Line 22, column 49: cannot access class Component; file > org/apache/avalon/framework/component/Component.class not found Line 23, > column 53: cannot access class Configurable; file > org/apache/avalon/framework/configuration/Configurable.class not found > Line 24, column 53: cannot access class Configuration; file > org/apache/avalon/framework/configuration/Configuration.class not found > Line 25, column 53: cannot access class ConfigurationException; file > org/apache/avalon/framework/configuration/ConfigurationException.class > not found Line 26, column 53: cannot access class DefaultConfiguration; > file > org/apache/avalon/framework/configuration/DefaultConfiguration.class not > found Line 27, column 50: cannot access class Parameters; file > org/apache/avalon/framework/parameters/Parameters.class not found Line > 29, column 29: cannot access class Constants; file > org/apache/cocoon/Constants.class not found Line 30, column 29: cannot > access class ProcessingException; file > org/apache/cocoon/ProcessingException.class not found Line 31, column > 29: cannot access class ResourceNotFoundException; file > org/apache/cocoon/ResourceNotFoundException.class not found Line 32, > column 29: cannot access class ConnectionResetException; file > org/apache/cocoon/ConnectionResetException.class not found Line 33, > column 36: cannot access class Action; file > org/apache/cocoon/acting/Action.class not found Line 34, column 41: > cannot access class Environment; file > org/apache/cocoon/environment/Environment.class not found Line 35, > column 41: cannot access class Redirector; file > > .... > > org/apache/cocoon/components/language/markup/xsp/XSPRequestHelper.class > not found Line 49, column 60: cannot access class XSPResponseHelper; > file > org/apache/cocoon/components/language/markup/xsp/XSPResponseHelper.class > not found Line 50, column 53: cannot access class NotifyingBuilder; file > org/apache/cocoon/components/notification/NotifyingBuilder.class not > found Line 51, column 53: cannot access class Notifying; file > org/apache/cocoon/components/notification/Notifying.class not found Line > 52, column 53: cannot access class SimpleNotifyingBean; file > org/apache/cocoon/components/notification/SimpleNotifyingBean.class not > found Line 63, column 38: class AbstractSitemap not found in class > org.apache.cocoon.www.jndi_.localhost.knp.sitemap_xmap Line 99, column > 64: class Parameters not found in class > org.apache.cocoon.www.jndi_.localhost.knp.sitemap_xmap Line 111, column > 79: class Parameters not found in class > org.apache.cocoon.www.jndi_.localhost.knp.sitemap_xmap Line 129, column > 28: class Configuration not found in class > org.apache.cocoon.www.jndi_.localhost.knp.sitemap_xmap Line 129, column > 55: class ConfigurationException not found in class > org.apache.cocoon.www.jndi_.localhost.knp.sitemap_xmap Line 1804, column > 44: class StreamPipeline not found in class > > .... > > sender org.apache.cocoon.servlet.CocoonServlet > > source Cocoon servlet > > stack-trace > > org.apache.cocoon.ProcessingException: Language Exception: > org.apache.cocoon.components.language.LanguageException: Error compiling > sitemap_xmap: > Line 22, column 49: cannot access class Component; file > org/apache/avalon/framework/component/Component.class not found > Line 23, column 53: cannot access class Configurable; file > org/apache/avalon/framework/configuration/Configurable.class not found > Line 24, column 53: cannot access class Configuration; file > org/apache/avalon/framework/configuration/Configuration.class not found > Line 25, column 53: cannot access class ConfigurationException; file > org/apache/avalon/framework/configuration/ConfigurationException.class > not found > Line 26, column 53: cannot access class DefaultConfiguration; file > org/apache/avalon/framework/configuration/DefaultConfiguration.class not > found > Line 27, column 50: cannot access class Parameters; file > org/apache/avalon/framework/parameters/Parameters.class not found > > .... > > Line 67, column 8: variable dateCreated not found in class > org.apache.cocoon.www.jndi_.localhost.knp.sitemap_xmap > Line 100, column 8: class Selector not found in class > org.apache.cocoon.www.jndi_.localhost.knp.sitemap_xmap > Line 100, column 43: variable selectors not found in class > org.apache.cocoon.www.jndi_.localhost.knp.sitemap_xmap > Line 0, column 0: > 100 errors > > .... > > request-uri > > /knp/knapp/reports/ > > path-info > > knapp/reports/ > > can anybody give me a hint on what is going wrong? > > thx, Chris > > -- > KNAPP Logistics Automation http://www.knapp.com > Ing. Christian Jölly Tel/FAX: (++43) 316 / 495 1926 / 495 394 > Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz > > -- Support your government, give Echelon/Carnivore something to parse -- > AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori > Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP > Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain > compromise defense democracy destroy destruct detonator directorate > elections enforce extasy force foreign embassy government grass hashish > heroin illegal information international military systems missile > million dollars nuclear policital pot power presidental project > restricted data revolution rule the world sensitive smuggle spy steal > system takeover terrorist top-secret warmod warrior-T weapon weed > ------------------------------------------------------------------------ > > ---------------------------------------------------------------------------- Sichern Sie sich jetzt den neuen Otto Katalog mit über 40.000 Artikeln auf über 1.300 Seiten - kostenlos und ganz unverbindlich. http://www.arcor.de/home/redir.php/email.otto ----------------------------------------------------------------------- --------------------------------------------------------------------- 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]>