You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Colin Britton <cb...@centervilletech.com> on 2001/02/23 23:10:35 UTC
[C2] Catalina install problems
I have just grabbed the latest (2/23/2001 4:50pm) cut of C2 and have
been trying to get it running with Catalina. My existing version - about
a week old, works fine with Catalina 4.0b1 but the latest does not. Nor
does it work with the current nightly of Catalina.
I have done the usual JAXP and Crimson renaming and use Xerces instead
but get the following entries in the Cocoon log.
Any ideas?
rgds
CB
DEBUG 40 [cocoon ] (HttpProcessor[8080][4]): Using configuration
file: /cocoon.xconf
INFO 40 [cocoon ] (HttpProcessor[8080][4]): Reloading from:
jndi:/cocoon.xconf
DEBUG 100 [cocoon ] (HttpProcessor[8080][4]): New Cocoon object.
DEBUG 100 [cocoon ] (HttpProcessor[8080][4]): Using parser:
org.apache.cocoon.components.parser.JaxpParser
<snip/>
DEBUG 711 [cocoon ] (HttpProcessor[8080][4]): Sitemap location =
sitemap.xmap
DEBUG 771 [cocoon ] (HttpProcessor[8080][3]): Getting the
URLFactories
DEBUG 771 [cocoon ] (HttpProcessor[8080][3]): for protocol:
resource org.apache.cocoon.components.url.ResourceURLFactory
DEBUG 771 [cocoon ] (HttpProcessor[8080][3]): for protocol:
context org.apache.cocoon.components.url.ContextURLFactory
DEBUG 781 [cocoon ] (HttpProcessor[8080][3]): Beginning sitemap
regeneration
DEBUG 781 [cocoon ] (HttpProcessor[8080][3]): Making URL from
file:/D:/xml_technology/jakarta-tomcat-4.0/webapps/cocoon/sitemap.xmap
DEBUG 791 [cocoon ] (Thread-6): CocoonComponentSelector setting
up with root element:
DEBUG 791 [cocoon ] (Thread-6): CocoonComponentSelector setting
up with root element: markup-languages
DEBUG 851 [cocoon ] (Thread-6): CocoonComponentSelector setting
up with root element: programming-languages
DEBUG 2133 [cocoon ] (Thread-6): Looking up
org.apache.cocoon.components.classloader.ClassLoaderManager
DEBUG 2133 [cocoon ] (Thread-6): Setting the parameters
ERROR 2173 [cocoon ] (Thread-6): CocoonComponentSelector Could not
find component for hint 'org\apache\cocoon\sitemap_xmap'.
DEBUG 2173 [cocoon ] (Thread-6): The instance was not accessible,
creating it now.
DEBUG 2253 [cocoon ] (Thread-6): Making URL from
jar:jndi:/WEB-INF/lib/cocoon-2.0a3.jar!/org/apache/cocoon/components/lan
guage/markup/sitemap/java/sitemap.xsl
DEBUG 2263 [cocoon ] (Thread-6): Logicsheet
Used:jar:jndi:/WEB-INF/lib/cocoon-2.0a3.jar!/org/apache/cocoon/component
s/language/markup/sitemap/java/sitemap.xsl
DEBUG 5979 [cocoon ] (Thread-6): Language Exception
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
D:\xml_technology\jakarta-tomcat-4.0\work\localhost\cocoon\org\apache\co
coon\sitemap_xmap.java:21: Class javax.servlet.http.HttpServletRequest
not found in import.
import javax.servlet.http.HttpServletRequest;
^
<snip/>
ERROR 5979 [cocoon ] (Thread-6): CocoonComponentSelector Could not
find component for hint 'org\apache\cocoon\sitemap_xmap'.
DEBUG 5979 [cocoon ] (Thread-6): Can't load ServerPage
org.apache.avalon.ComponentNotAccessibleException: Could not add
component for class: org.apache.cocoon.sitemap_xmap
<snip/>
DEBUG 5989 [cocoon ] (Thread-6): Making URL from
jar:jndi:/WEB-INF/lib/cocoon-2.0a3.jar!/org/apache/cocoon/components/lan
guage/markup/sitemap/java/sitemap.xsl
DEBUG 5989 [cocoon ] (Thread-6): Logicsheet
Used:jar:jndi:/WEB-INF/lib/cocoon-2.0a3.jar!/org/apache/cocoon/component
s/language/markup/sitemap/java/sitemap.xsl
ERROR 7641 [cocoon ] (Thread-6): Error compiling sitemap
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
D:\xml_technology\jakarta-tomcat-4.0\work\localhost\cocoon\org\apache\co
coon\sitemap_xmap.java:21: Class javax.servlet.http.HttpServletRequest
not found in import.
import javax.servlet.http.HttpServletRequest;
^
Re: [C2] Catalina install problems
Posted by Berin Loritsch <bl...@apache.org>.
Put the Servlet.jar in Catalina in the system classpath.
On Monday, when I get back to the office, I will add an attribute called
"include-classpath" which will allow you to specify additional Classpath
elements that won't be classloaded (in the ParanoidCocoonServlet).
----- Original Message -----
From: Colin Britton <cb...@centervilletech.com>
To: Cocoon-Dev@Xml.Apache.Org (E-mail) <co...@xml.apache.org>
Sent: Friday, February 23, 2001 5:10 PM
Subject: [C2] Catalina install problems
I have just grabbed the latest (2/23/2001 4:50pm) cut of C2 and have
been trying to get it running with Catalina. My existing version - about
a week old, works fine with Catalina 4.0b1 but the latest does not. Nor
does it work with the current nightly of Catalina.
I have done the usual JAXP and Crimson renaming and use Xerces instead
but get the following entries in the Cocoon log.
Any ideas?
rgds
CB
DEBUG 40 [cocoon ] (HttpProcessor[8080][4]): Using configuration
file: /cocoon.xconf
INFO 40 [cocoon ] (HttpProcessor[8080][4]): Reloading from:
jndi:/cocoon.xconf
DEBUG 100 [cocoon ] (HttpProcessor[8080][4]): New Cocoon object.
DEBUG 100 [cocoon ] (HttpProcessor[8080][4]): Using parser:
org.apache.cocoon.components.parser.JaxpParser
<snip/>
DEBUG 711 [cocoon ] (HttpProcessor[8080][4]): Sitemap location =
sitemap.xmap
DEBUG 771 [cocoon ] (HttpProcessor[8080][3]): Getting the
URLFactories
DEBUG 771 [cocoon ] (HttpProcessor[8080][3]): for protocol:
resource org.apache.cocoon.components.url.ResourceURLFactory
DEBUG 771 [cocoon ] (HttpProcessor[8080][3]): for protocol:
context org.apache.cocoon.components.url.ContextURLFactory
DEBUG 781 [cocoon ] (HttpProcessor[8080][3]): Beginning sitemap
regeneration
DEBUG 781 [cocoon ] (HttpProcessor[8080][3]): Making URL from
file:/D:/xml_technology/jakarta-tomcat-4.0/webapps/cocoon/sitemap.xmap
DEBUG 791 [cocoon ] (Thread-6): CocoonComponentSelector setting
up with root element:
DEBUG 791 [cocoon ] (Thread-6): CocoonComponentSelector setting
up with root element: markup-languages
DEBUG 851 [cocoon ] (Thread-6): CocoonComponentSelector setting
up with root element: programming-languages
DEBUG 2133 [cocoon ] (Thread-6): Looking up
org.apache.cocoon.components.classloader.ClassLoaderManager
DEBUG 2133 [cocoon ] (Thread-6): Setting the parameters
ERROR 2173 [cocoon ] (Thread-6): CocoonComponentSelector Could not
find component for hint 'org\apache\cocoon\sitemap_xmap'.
DEBUG 2173 [cocoon ] (Thread-6): The instance was not accessible,
creating it now.
DEBUG 2253 [cocoon ] (Thread-6): Making URL from
jar:jndi:/WEB-INF/lib/cocoon-2.0a3.jar!/org/apache/cocoon/components/lan
guage/markup/sitemap/java/sitemap.xsl
DEBUG 2263 [cocoon ] (Thread-6): Logicsheet
Used:jar:jndi:/WEB-INF/lib/cocoon-2.0a3.jar!/org/apache/cocoon/component
s/language/markup/sitemap/java/sitemap.xsl
DEBUG 5979 [cocoon ] (Thread-6): Language Exception
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
D:\xml_technology\jakarta-tomcat-4.0\work\localhost\cocoon\org\apache\co
coon\sitemap_xmap.java:21: Class javax.servlet.http.HttpServletRequest
not found in import.
import javax.servlet.http.HttpServletRequest;
^
<snip/>
ERROR 5979 [cocoon ] (Thread-6): CocoonComponentSelector Could not
find component for hint 'org\apache\cocoon\sitemap_xmap'.
DEBUG 5979 [cocoon ] (Thread-6): Can't load ServerPage
org.apache.avalon.ComponentNotAccessibleException: Could not add
component for class: org.apache.cocoon.sitemap_xmap
<snip/>
DEBUG 5989 [cocoon ] (Thread-6): Making URL from
jar:jndi:/WEB-INF/lib/cocoon-2.0a3.jar!/org/apache/cocoon/components/lan
guage/markup/sitemap/java/sitemap.xsl
DEBUG 5989 [cocoon ] (Thread-6): Logicsheet
Used:jar:jndi:/WEB-INF/lib/cocoon-2.0a3.jar!/org/apache/cocoon/component
s/language/markup/sitemap/java/sitemap.xsl
ERROR 7641 [cocoon ] (Thread-6): Error compiling sitemap
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
D:\xml_technology\jakarta-tomcat-4.0\work\localhost\cocoon\org\apache\co
coon\sitemap_xmap.java:21: Class javax.servlet.http.HttpServletRequest
not found in import.
import javax.servlet.http.HttpServletRequest;
^
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: [C2] Catalina install problems
Posted by Paul Russell <pa...@luminas.co.uk>.
* Colin Britton (cbritton@centervilletech.com) wrote :
> I have just grabbed the latest (2/23/2001 4:50pm) cut of C2 and have
> been trying to get it running with Catalina. My existing version - about
> a week old, works fine with Catalina 4.0b1 but the latest does not. Nor
> does it work with the current nightly of Catalina.
>
> I have done the usual JAXP and Crimson renaming and use Xerces instead
> but get the following entries in the Cocoon log.
>
> Any ideas?
This means the servlet api isn't in your compile time classpath. Try
sticking a copy of it in the WEB-INF/lib directory of your webapp?
I'd have thought it would pick that up from the system classpath when
starting tomcat, but maybe not.
Paul.
--
Paul Russell Email: paul@luminas.co.uk
Technical Director Tel: +44 (0)20 8553 6622
Luminas Internet Applications Fax: +44 (0)870 28 47489
This is not an official statement or order. Web: www.luminas.co.uk