You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "kerin // airside.co.uk" <ke...@airside.co.uk> on 2002/05/14 18:57:34 UTC

Logger for category root.xslt returned

Hi everyone,

I've been trying to setup Cocoon2.0, and after a couple of days still can't
seem to get it up and running.

This is my environment:

Redhat7.1
J2SDK1.4.0
Tomcat 4.0

on x86.

I've got the following environment variables set up correctly : JAVA_HOME,
CATALINE_HOME, TOMCAT_HOME. I also copied across xml-apis.jar, xalan.jar,
and batik.jar to $TOMCAT_HOME/common/lib.

When I try and view localhost:8080/cocoon/ it returns the error "The sitemap
handler's sitemap is not available. Please check logs for the exact error",
and within the logs I see this :

2002-05-14 17:42:04 StandardWrapper[:default]: Loading container servlet
default
2002-05-14 17:42:04 default: init
2002-05-14 17:42:04 StandardWrapper[:invoker]: Loading container servlet
invoker
2002-05-14 17:42:04 invoker: init
2002-05-14 17:42:04 jsp: init
2002-05-14 17:42:05 jsp: init
2002-05-14 17:42:17 DEBUG   (2002-05-14) 17:42.17:555   [        ]
(/cocoon/) Thread-19/DefaultLogKitManager: Logger for category root.xslt
returned


Whats going wrong, and how can I solve it?

This is my first time using Tomcat and Cocoon - I'm trying to get it up and
running so I can hack about with it a bit, and see if its appropriate for an
XML-based website I've got to develop. As such, I'm pretty much a clueless
newbie with all this.

Hope these aren't stupid questions.

Thanks in advance,

--
//
// kerin
// airside.co.uk
//


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Logger for category root.xslt returned

Posted by "kerin // airside.co.uk" <ke...@airside.co.uk>.
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Tuesday, May 14, 2002 6:11 PM
Subject: RE: Logger for category root.xslt returned


> Check *cocoon* log located in:
>
>   tomcat/webapps/cocoon/WEB-INF/logs
>
> Vadim


Oops, should have thought of that.

I just checked the Cocoon logs, and got this :

DEBUG   (2002-05-14) 17:42.16:456   [root    ] (/cocoon/)
Thread-19/AbstractEnvironment: Resolving 'sitemap.xmap' in context
'file:/usr/local/etc/jakarta-tomcat-4.0/webapps/cocoon/
DEBUG   (2002-05-14) 17:42.16:459   [root    ] (/cocoon/)
Thread-19/AbstractEnvironment: Resolved to
'file:/usr/local/etc/jakarta-tomcat-4.0/webapps/cocoon/sitemap.xmap'
DEBUG   (2002-05-14) 17:42.16:460   [root    ] (/cocoon/)
Thread-19/AbstractEnvironment: Resolving '' in context
'file:/usr/local/etc/jakarta-tomcat-4.0/webapps/cocoon/'
DEBUG   (2002-05-14) 17:42.16:462   [root    ] (/cocoon/)
Thread-19/AbstractEnvironment: Resolved to
'file:/usr/local/etc/jakarta-tomcat-4.0/webapps/cocoon/'
ERROR   (2002-05-14) 17:42.19:065   [root    ] (/cocoon/)
Thread-19/CocoonServlet: Problem with servlet


Which, at least for me, doesnt throw much light on the subject.....


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Logger for category root.xslt returned

Posted by Peter Royal <pr...@apache.org>.
On Tuesday 14 May 2002 01:40 pm, kerin // airside.co.uk wrote:
> Sorry, I didnt see this initially in my logs :
>
> DEBUG   (2002-05-14) 17:42.18:284   [cocoon  ] (/cocoon/)
> Thread-19/ExcaliburComponentSelector: Adding
> org.apache.cocoon.serialization.XMLSerializer for svgxml
> ERROR   (2002-05-14) 17:42.19:055   [cocoon  ] (/cocoon/)
> Thread-19/Handler: Error compiling sitemap
> java.lang.UnsatisfiedLinkError:
> /usr/java/j2sdk1.4.0/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared
> object file: No such file or directory
>
>
>
> From a quick search, it looks like libXp.so.6 is an X11 shared library. Why
> would Java be looking for this to run Tomcat/Cocoon? My server is headless,
> with no X install, so its not going to find any X11 libraries.

For JDK 1.3 and lower, the AWT libraries need X11 libraries on *nix's. The 
probably culprit with cocoon is Batik. If you don't need Batik comment out 
the svg2png and svg2jpg serializers, otherwise you need X libs. Check the 
cocoon-users archives, many solutions have been discussed at length.
-pete


-- 
peter royal -> proyal@apache.org

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Logger for category root.xslt returned

Posted by Vadim Gritsenko <va...@verizon.net>.
Read http://xml.apache.org/cocoon/installing/index.html, section
"Headless UNIX and PJA".


Vadim

--
Resistance is futile. 

> -----Original Message-----
> From: kerin // airside.co.uk [mailto:kerin@airside.co.uk]
> 
> From: "Vadim Gritsenko" <va...@verizon.net>
> To: <co...@xml.apache.org>
> Sent: Tuesday, May 14, 2002 6:11 PM
> Subject: RE: Logger for category root.xslt returned
> 
> > Check *cocoon* log located in:
> >
> >   tomcat/webapps/cocoon/WEB-INF/logs
> >
> > Vadim
> >
> 
> Sorry, I didnt see this initially in my logs :
> 
> DEBUG   (2002-05-14) 17:42.18:284   [cocoon  ] (/cocoon/)
> Thread-19/ExcaliburComponentSelector: Adding
> org.apache.cocoon.serialization.XMLSerializer for svgxml
> ERROR   (2002-05-14) 17:42.19:055   [cocoon  ] (/cocoon/)
Thread-19/Handler:
> Error compiling sitemap
> java.lang.UnsatisfiedLinkError:
/usr/java/j2sdk1.4.0/jre/lib/i386/libawt.so:
> libXp.so.6: cannot open shared object file: No such file or directory
> 
> 
> 
> From a quick search, it looks like libXp.so.6 is an X11 shared
library. Why
> would Java be looking for this to run Tomcat/Cocoon? My server is
headless,
> with no X install, so its not going to find any X11 libraries.
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Logger for category root.xslt returned

Posted by "kerin // airside.co.uk" <ke...@airside.co.uk>.
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Tuesday, May 14, 2002 6:11 PM
Subject: RE: Logger for category root.xslt returned

> Check *cocoon* log located in:
>
>   tomcat/webapps/cocoon/WEB-INF/logs
>
> Vadim
>

Sorry, I didnt see this initially in my logs :

DEBUG   (2002-05-14) 17:42.18:284   [cocoon  ] (/cocoon/)
Thread-19/ExcaliburComponentSelector: Adding
org.apache.cocoon.serialization.XMLSerializer for svgxml
ERROR   (2002-05-14) 17:42.19:055   [cocoon  ] (/cocoon/) Thread-19/Handler:
Error compiling sitemap
java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.0/jre/lib/i386/libawt.so:
libXp.so.6: cannot open shared object file: No such file or directory



>From a quick search, it looks like libXp.so.6 is an X11 shared library. Why
would Java be looking for this to run Tomcat/Cocoon? My server is headless,
with no X install, so its not going to find any X11 libraries.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Logger for category root.xslt returned

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: kerin // airside.co.uk [mailto:kerin@airside.co.uk]
> 
> Hi everyone,
> 
> I've been trying to setup Cocoon2.0, and after a couple of days still
can't
> seem to get it up and running.
> 
> This is my environment:
> 
> Redhat7.1
> J2SDK1.4.0
> Tomcat 4.0
> 
> on x86.
> 
> I've got the following environment variables set up correctly :
JAVA_HOME,
> CATALINE_HOME, TOMCAT_HOME. I also copied across xml-apis.jar,
xalan.jar,
> and batik.jar to $TOMCAT_HOME/common/lib.
> 
> When I try and view localhost:8080/cocoon/ it returns the error "The
sitemap
> handler's sitemap is not available. Please check logs for the exact
error",
> and within the logs I see this :

Check *cocoon* log located in:

  tomcat/webapps/cocoon/WEB-INF/logs

Vadim


> 
> 2002-05-14 17:42:04 StandardWrapper[:default]: Loading container
servlet
> default
> 2002-05-14 17:42:04 default: init
> 2002-05-14 17:42:04 StandardWrapper[:invoker]: Loading container
servlet
> invoker
> 2002-05-14 17:42:04 invoker: init
> 2002-05-14 17:42:04 jsp: init
> 2002-05-14 17:42:05 jsp: init
> 2002-05-14 17:42:17 DEBUG   (2002-05-14) 17:42.17:555   [        ]
> (/cocoon/) Thread-19/DefaultLogKitManager: Logger for category
root.xslt
> returned
> 
> 
> Whats going wrong, and how can I solve it?
> 
> This is my first time using Tomcat and Cocoon - I'm trying to get it
up and
> running so I can hack about with it a bit, and see if its appropriate
for an
> XML-based website I've got to develop. As such, I'm pretty much a
clueless
> newbie with all this.
> 
> Hope these aren't stupid questions.
> 
> Thanks in advance,
> 
> --
> //
> // kerin
> // airside.co.uk
> //
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>