Hello,
   Further information that I could gather on this error is as follows:
   The file:
skins/common/xslt/html/site-to-xhtml.xsl has the following on line 381
<xsl:variable name="year" select="java:format($formatter, $date)"/>

The java: namespace has earlier been defined in the same stylesheet as
below:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:java="http://xml.apache.org/xslt/java";
exclude-result-prefixes="java">

So the reported error seems to be that the classes for the
java:format($formatter, $date) are not locatable/ not included.

Which classes/jar file in forrest/cocoon has these function extensions?


Bhatia
-----Original Message-----
From: Dr. Praveen Bhatia [mailto:praveen.bha...@sumpurn.com] 
Sent: Tuesday, December 08, 2009 1:45 PM
To: user@forrest.apache.org
Subject: Internal Server Error:Cannot find a matching 2-argument function

Hello,
   While deploying the my-project.war to Tomcat via eclipse WTP I get the
following error once the servlet runs. (my-project.war that is used is the
default .war generated after 
Step 1) forrest seed
Step 2) forrest war
=======================
Internal Server Error
Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI

index.html

cause

Cannot find a matching 2-argument function named
{http://xml.apache.org/xslt/java}format()

request-uri

/my-project/index.html

Apache Cocoon 2.2.0-dev
========================


Searching the web, the best I could make out was that "while calling the
format() function for xslt ... it couldn't find it...."

What is missing for the cocoon servlet, that this is not getting
recongnized?

Bhatia