I have just made the switch to JBoss 3.0.3 with embedded Tomcat (4.1.2) and now my XSP code will not compile - obviously a classpath problem.
I am running on JDK1.4.0 and I have successfully been using Cocoon 2.0.3 in JBoss 3.0.0 with embedded Catalina (TomCat 4.0.3)......it runs as a war in an ear
file w/o problem.
....but my XSP now complains about not being able to find the Cocoon and Avalon files when it compiles the XSP.
However, my other XSLT Cocoon code works fine (ie the sitemap compiles and XML/XSLT transformations work) so this suggests that the Cocoon/Avalon files *do* exist....I can also see them unzipped by JBoss after deployment.
..my code hasn't changed at all...I'm just doing the same thing in a newer version of JBoss (Tomcat4.0.4 and 4.1.12 give the same error so it must be JBoss3.0.3 that's the problem).
Any idea how the classpath could be different from comiling the XSP and how/where I can check this?
Here is some of the stack...
org.apache.cocoon.components.language.LanguageException: Error compiling
Line 19, column 49: cannot access class Component; file
org/apache/avalon/framework/component/Component.class not found
Line 20, column 49: cannot access class ComponentException; file
org/apache/avalon/framework/component/ComponentException.class not found
Line 21, column 49: cannot access class ComponentManager; file
org/apache/avalon/framework/component/ComponentManager.class not found
Line 22, column 49: cannot access class ComponentSelector; file
org/apache/avalon/framework/component/ComponentSelector.class not found
Line 23, column 47: cannot access class Context; file
org/apache/avalon/framework/context/Context.class not found
Line 24, column 50: cannot access class DataSourceComponent; file
org/apache/cocoon/ProcessingException.class not found
Line 29, column 47: cannot access class Parser; file
org/apache/cocoon/components/parser/Parser.class not found
Line 30, column 40: cannot access class Generator; file
org/apache/cocoon/generation/Generator.class not found
Line 33, column 60: cannot access class XSPGenerator; file