cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Nah <jas...@oopl.com.au>
Subject Installing Cocoon on Solaris Sun One Application Server 7
Date Tue, 10 Jun 2003 00:04:44 GMT
Howdy All,

In relation to a previous post... "Sitemap parsing error?"... I'm posting
about the installation and running of Cocoon 2.04 on a Solaris machine
running SunONE application server 7.

I have managed to install the application WAR file successfully. It appears
as a separate web application.

However... I am unable to invoke the servlet context /cocoon successfully.
Here are the problems that I'm noticing and some approaches that I've taken
(with limited effect).
1. On initial install, the cocoon servlet reports:
	description org.xml.sax.SAXParseException: Illegal character at end
of document, u.

2. This turns out to be a character encoding problem. I've noticed that the
default container-encoding was ISO-8859-1. Hence to fix this, I've included
the following in the web.xml file:
   <init-param>
      <param-name>container-encoding</param-name>
      <param-value>utf-8</param-value>
   </init-param>
   <init-param>
      <param-name>form-encoding</param-name>
      <param-value>utf-8</param-value>
   </init-param>
This has removed that exception but I now get the following error:
message Language Exception

description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 6271, column 12: '}' expected Line 5221, column 4: 'try'
without 'catch' or 'finally' Line 3168, column 25: method
error_process_1_500(org.apache.cocoon.sitemap.SitemapRedirector,
org.apache.cocoon.environment.Environment, java.util.Map,
java.lang.Exception, boolean) not found in class
org.apache.cocoon.www.sitemap_xmap Line 3339, column 8: method
matchN4005A9(org.apache.cocoon.sitemap.SitemapRedirector, org.... <enormous
stack dump>

It would seem that there is still some problems with the sitemap.xmap file.
I've noticed when I've vi the file, it reports that the file is incomplete.

Is there something i've missed? Perhaps the wrong distro of cocoon? Perhaps
the sitemap.xmap file is encoded improperly for nix systems?

Any suggestions welcomed....

Cheers,
Jason


Mime
View raw message