I get cincludes to work under Cocoon 2.1.10, J2SDK5.1.0_10 and Windows XP. I
can get to work under Cocoon 2.1.9, J2SDK1.4.2_11 and Windows XP.
Any know issues with cinclude under Cocoon 2.1.10 and/or Java 5?
Gary T. Schultz
IT Administrator
Wisconsin Dept. of Commerce
608-266-1283
[EMAIL
On 8/25/2006 2:16 PM, Schultz, Gary - COMM wrote:
I running Cocoon 2.1.8.
I'm building a custom 404 page in Cocoon. What I want is for the error
page to display the Request URI to the user. At the moment I can only
access the value of the contextPath when it is used as the value
I running Cocoon
2.1.8.
I'm building a
custom 404 page in Cocoon. What I want is for the error page to display the
Request URI to the user. At the moment I can only access the value of the
contextPath when it is used as the value of the href attribute in a link
a element. Whenever I try
Use ./build.sh clean war (without quotes) if you also want to build the
war file. Using ./build.sh only builds the webapp. At least that's what
happens when I build in Windows and Linux.
Gary T. Schultz
IT Administrator
Wisconsin Dept. of Commerce
608-266-1283
[EMAIL PROTECTED]
-Original
the map:handle-errors pipeline. See
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html for
details.
Hope this helps,
Simone
Schultz, Gary - COMM wrote:
After exhaustive searches with no results I have come here with this
question. Is it possible to customize the dreaded error message
After exhaustive
searches with no results I have come here with this question. Is it possible to
customize the dreaded error message:
Resource not found
No pipeline matched request cd/v at map:mount - file:/something/sitemap.xmap:###:##
Where should I
look for information on how to write
Depending on what you mean by simple CRUD apps, you might consider PHP. But
if you expect the apps to grow beyond simple, you might consider Cocoon.
Gary T. Schultz
IT Administrator
Wisconsin Department of Commerce
608-266-1283
[EMAIL PROTECTED]
http://commerce.wi.gov
Commerce Web Site Powered
What version of OS, Java SDK and Cocoon are you using? Under Windows, SDK
1.5 and Cocoon 2.1.8 I also received the cinclude element itself instead of
the cinclude transformation working, when the cinclude was placed after an
xslt transformation. When I went back to SDK 1.4.2_x (1.4.2_10 in my
I've never heard of a Jira incident.
-Original Message-
From: Ralph Goers [mailto:[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 8:56 AM
To: users@cocoon.apache.org
Subject: Re: a suprise problem
What problems did you see? Did you open a Jira incident?
Schultz, Gary - COMM wrote
What version of OS and Java? I've had problems with Cocoon 2.1.8 and Java 5
(j2sdk 1.5.0_05 in my situation) in Windows 2000 Server and 2003 Server. I
had to revert back to Java 1.4.2_xx (I'm running 1.4.2_10). The problem
occurred regardless of the Java-Tomcat combination used (Java 5 - Tomcat
I aggregate PHP with Cocoon by either putting a call to a PHP file
directly in our agency's XHTML source files or building a call to a PHP file
in a XSLT transformation. In both scenarios the call to the PHP file is sent
to Apache for PHP processing. Note that in my scenarios the PHP is processed
I have Cocoon running on a Windows 2003 Server with no problems. Here is my
setup:
Compaq Deskpro 866 Mhz Pentium 3 256 MB Ram
Windows 2003 Server - Standard Edition Service Pack 1
Apache 2.0.55 (via XAMPP 1.5.0)
Java - j2sdk1.4.2_10
Tomcat 5.0.28 (configured to use the default 64 MB ram)
Cocoon
I had similar problems with building Cocoon 2.1.7 and 2.1.8 with Java 1.5
and running with Java 1.5. My recommendation is to build with and run with
Java 1.4.2_10. Since I switched to Java 1.4.2_10 everything has worked.
Gary T. Schultz
IT Administrator
Wisconsin Department of Commerce
immediately following an xsl transform (which creates the xi:include
elements) works just fine.
Schultz, Gary - COMM wrote:
I performed a pretty exhaustive search and only found information on
cinclude problems when using POST method. Nothing on cinclude
problems in general, and nothing detailed
2.1.8 versus running JDK 1.5 or
Tomcat 5.5.x.
Will there ever be a time in Cocoon development in which Cocoon will not run
under JDK1.4.2_x and Tomcat 5.0.x?
-Original Message-
From: Schultz, Gary - COMM [mailto:[EMAIL PROTECTED]
Sent: Friday, December 09, 2005 1:16 PM
To: 'users
Did you search the mailing list for similar issues. I seem to recollect that
the namespace is different so your cinclude might be ignored. But I could be
wrong.
Schultz, Gary - COMM wrote:
The following code snippet worked in Cocoon 2.1.5.1 but isn't working
in Cocoon 2.1.8
map:match
following an xsl transform (which creates the xi:include
elements) works just fine.
Schultz, Gary - COMM wrote:
I performed a pretty exhaustive search and only found information on
cinclude problems when using POST method. Nothing on cinclude problems
in general, and nothing detailed on the use
something has changed between 2.1.5.1 and 2.1.7 or 2.1.8 that requires
changes to cinclude code. I'm trying to understand how something like this
could fail this badly. It's a disappointment because our agency is now tied
to Cocoon 2.1.5.1.
-Original Message-
From: Schultz, Gary - COMM [mailto
just did a quick test here with 2.1.8, and an xinclude transform
immediately following an xsl transform (which creates the xi:include
elements) works just fine.
Schultz, Gary - COMM wrote:
I performed a pretty exhaustive search and only found information on
cinclude problems when using POST
The following code
snippet worked in Cocoon 2.1.5.1 but isn't working in Cocoon
2.1.8
map:match
pattern="TSS-IncludeTest-01.html"
map:generate
src=""/
map:transform
src=""
/map:transform
map:transform
type="cinclude"/
map:serialize/
/map:match
Has there been a
change toinclude
I just want to confirm or clarify my understanding of the sitemap process.
Does the Cocoon pipeline process the includes first and the xslt second? I
plan to use a sitemap entry as shown below in a project management system:
map:match pattern=TSS-ProjectNameHere*.section
) and passes that as a parameter to the xslt process.
-Original Message-
From: Ben Pope [mailto:[EMAIL PROTECTED]
Sent: Friday, April 29, 2005 1:53 PM
To: users@cocoon.apache.org
Subject: Re: sitemap processing
Schultz, Gary - COMM wrote:
I just want to confirm or clarify my understanding
I'm trying to get the current date to compare against a Dublin core meta tag
value. I can do this with JavaScript and PHP, but I would like to do this in
Cocoon. Is there any way to get the current date in Cocoon and use it to
compare against an element attribute value. I know enough about XSP,
@cocoon.apache.org
Subject: Re: Getting current date in Cocoon
Gary,
There's a DateInputModule that you could use to inject the current date
into pipelines.
http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html#DateInputMod
ule
HTH,
Tony
Schultz, Gary - COMM wrote:
I'm trying to get
I will add it. It was someone else's idea so I didn't want to step on any
toes. Thought I'd check first.
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 12:46 AM
To: users@cocoon.apache.org
Subject: RE: include specific element with cinclude
I have cinclude working so that I can get all of the specific elements from
an XML file. What I have not found a way to do is get the 2nd, 3rd, 4th,
etc. element or get an element by attribute value. I have found nothing in
Cocoon wiki to explain how one uses cinclude to include only a part of the
]/
-Original Message-
From: Christoph Hermann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 10:29 AM
To: users@cocoon.apache.org
Subject: Re: include specific element with cinclude
Schultz, Gary - COMM schrieb:
Hello,
I have cinclude working so that I can get all of the specific
elements
Thank you, select=//*[local-name()='paragraph'][2] worked. Makes sense
now. This also works when using xpointer. This helps greatly. What Geert
described needs to be in the wiki. How does one get this added?
-Original Message-
From: Geert Josten [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Febrero de 2005, 16:00, Schultz, Gary - COMM dijo:
I need to use JavaScript in a web page. I having trouble with using in
an
if {...}. I get the error The entity name must immediately follow the ''
in the entity reference.
I'm not sure where to set the name for the entity reference. I have tried
In Cocoon, can XInclude be used to reference an outside resource, that is a
web address outside of the context of Cocoon? I've tried without success and
don't see any Cocoon examples pertaining to this. The wiki hasn't been much
help. I've looked at the CInclude examples which show this, but I
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
-Original Message-
From: Aurélien DEHAY [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 7:49 AM
To: users@cocoon.apache.org
Subject: Re: XInclude and CInclude
Hello.
Schultz, Gary - COMM wrote:
In Cocoon, can XInclude
Wisconsin Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
-Original Message-
From: Aurélien DEHAY [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 10:23 AM
To: users@cocoon.apache.org
Subject: Re: XInclude and CInclude
Schultz, Gary - COMM wrote:
I have
I need to use JavaScript in a web page. I having trouble with using in an
if {...}. I get the error The entity name must immediately follow the ''
in the entity reference.
I'm not sure where to set the name for the entity reference. I have tried
xsl:text disable-output-escaping=yes and still get
Successful..
Cheers,
Geert
Schultz, Gary - COMM wrote:
Has anyone had a successful build of cocoon 2.2 snapshot on Windows XP?
Gary T. Schultz
Web Technical Administrator / GIS Coordinator
Wisconsin Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
cocoon 2.1.6.
Error:-
BUILD FAILED
/usr/local/cocoon-2.1.6/tools/targets/init-build.xm;:159: Compile failed;
see the compiler error output for details.
- Original Message -
From: Schultz, Gary - COMM [EMAIL PROTECTED]
To: users@cocoon.apache.org
Sent: Wednesday, February 09, 2005 1:20 AM
be using in cocoon.
I have installed JDK 1.5.0_01 on Fedora2 and try to install cocoon
2.1.6.
Error:-
BUILD FAILED
/usr/local/cocoon-2.1.6/tools/targets/init-build.xm;:159: Compile
failed;
see the compiler error output for details.
- Original Message -
From: Schultz, Gary - COMM [EMAIL PROTECTED
Has anyone had a successful build of cocoon 2.2 snapshot on Windows XP?
Gary T. Schultz
Web Technical Administrator / GIS Coordinator
Wisconsin Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
-
To
I get the same error when trying to compile the latest Cocoon snapshot with
Java 5. Wants Java 1.3, I have Java 1.5. Note that I did not get this error
when I had Java 1.4 installed. Can't figure out where to change this. Trying
to compile on Windows XP SP2.
Gary T. Schultz
Web Technical
Note. On Linux I was able to find where I had to change the settings to Java
1.5 to get Cocoon to compile. On Windows XP SP2 I can't figure it out.
-Original Message-
From: Schultz, Gary - COMM
Sent: Tuesday, February 08, 2005 11:21 AM
To: 'users@cocoon.apache.org'
Subject: RE: target
We are going to implement a web site feature that allows users to change
text sizes by clicking a one of three buttons (small, medium/default or
large) or changing to a print friendly view or default view by clicking a
link in a breadcrumb. Each of these options passes values to the sitemap map
Any idea what the performance difference might be? In looking further into
this, I have discovered that the conventional parameter method, while
complicating the sitemap, will lead to less complicated xslt code and
processes in the other transformation files.
-Original Message-
From:
to all who provided assistance.
Gary T. Schultz
Web Technical Administrator / GIS Coordinator
Wisconsin Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
-Original Message-
From: Schultz, Gary - COMM [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004
connector to pass Cocoon requests off
to Tomcat or some other app server?
- Brent
On Mon, 1 Nov 2004 12:23:35 -0600, Schultz, Gary - COMM
[EMAIL PROTECTED] wrote:
The entire Wisconsin Department of Commerce web site (except for home
page)
is now powered by Cocoon 2.1.5.1. Home page is static
In a previous email message I described problems using an XSP page to access
data from an Oracle database and generating XML result set. We discovered
that low memory was the culprit. Every time we hit the XSP we started
running out of memory. This also affected our web site in that Cocoon
I'm desperately seeking a real working solution to memory management in
Java-Tomcat-Cocoon in Windows. I continue to run into low memory errors. I
researched the Cocoon wiki, Java web sites and Tomcat web sites, but none of
the solutions appears to work. I can't get Cocoon to use more than the
The RedirectMatch directive uses the mod_alias module. Our implementation is
based on the information and samples provided at:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html. We use a combination of
the Alias directive and the RedirectMatch directive to achieve the desired
result.
We are
can improve either my XSP code or Cocoon
configuration are greatly appreciated.
Gary T. Schultz
Web Technical Administrator / GIS Coordinator
Wisconsin Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
-Original Message-
From: Schultz, Gary - COMM [mailto:[EMAIL
--mv
On Wed, 20 Oct 2004 09:35:48 -0500, Schultz, Gary - COMM
[EMAIL PROTECTED] wrote:
I need to gain access to an Oracle database with over 11000 records.
Is there a limit to the number of rows that can be retrieved using ESQL in
an XSP page? My XSP tops out at 2000 records. Can
We continue to experience problems with static content such as PDF
documents, Word files, and some images going through Cocoon. We have started
using the redirect directive in Apache so that all PDF documents are served
directly through Apache and avoid sending PDF documents through Cocoon. This
I need to gain access to an Oracle database with over 11000 records.
Is there a limit to the number of rows that can be retrieved using ESQL in
an XSP page? My XSP tops out at 2000 records. Can this be increased? Where
should I look for information on this.
Does Cocoon support rownum ? I have
I'm running Apache 2.0.50 Tomcat 5.0.18 Cocoon 2.1.5.1 on a server one and
Apache 2.0.49 Tomcat 5.0.18 Cocoon 2.1.4 on server two. I can get Oracle
database access to work on server one but cannot on server two. I have the
same datasources and Oracle database entries in cocoon.xconf and web.xml. I
I have a html that begins with the following:
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
and I get the error from Cocoon when trying to bring into a transformation:
White spaces are required between publicId and systemId.
I found my solution:
For reference, here was my starting point.
In the XML file I have the namespace declarations:
comwpc:page
xmlns=http://www.w3.org/1999/xhtml;
xmlns:comwpc=http://commerce.wi.gov/xmlns/comwpc;
xmlns:comwpm=http://commerce.wi.gov/xmlns/comwpm;
Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 12:40 PM
To: [EMAIL PROTECTED]
Subject: Re: matching html elements in transformation
Schultz, Gary - COMM wrote:
Is my understanding correct, the xhtml elements need a namespace value
Our memory usage went down a good amount once we started using the
non-caching pipeline for downloadable files such as PDF, Word and Excel
files, and once I stopped using the persistent store (commented out in the
cocoon.xconf file). We are still caching images, xml and xsl files. After I
complete
We are using version 2.1.4.
-Original Message-
From: Antonio Gallardo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 7:57 AM
To: [EMAIL PROTECTED]
Subject: RE: Memory leaks in Cocoon?
Schultz, Gary - COMM dijo:
Our memory usage went down a good amount once we started using
I have a form that uses inputs with names that exactly match the database
table field names. In PHP I can use $_POST to create a form data array that
grabs all the data from the form and enter into the corresponding named
field in the database. For example, I have a form with over 100 fields, and
-Original Message-
From: Edward Rayl [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 8:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon and Oracle
Schultz, Gary - COMM wrote:
I would like to thank all who have responded to my inquiry.
Here is some additional information.
Connection
-Original Message-
From: Ugo Cei [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 2:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon and Oracle
Il giorno 11/ago/04, alle 19:59, Schultz, Gary - COMM ha scritto:
Has anyone gotten Cocoon to work with Oracle through the jdbc
, Gary - COMM wrote:
...Problem is, I can't seem to
find resources to cover everything I need to learn on Cocoon and
databases.
Where are the best resources to learn about working with Cocoon and
databases. I've looked at a great deal of documentation, but I don't seem
to
find something
PROTECTED]
Subject: Re: Cocoon and Oracle
Schultz, Gary - COMM wrote:
Section 1.5 Comments from the readers, there is a comment at the bottom
that
mentions the need for a jar file instead of classes12.zip. What would be
the
name for this jar file? Can I simply expand the zip and use it's
Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
-Original Message-
From: Ugo Cei [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 12:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon and Oracle
Il giorno 09/ago/04, alle 18:49, Schultz, Gary - COMM ha scritto
I know to develop something that will grab data from a table in Oracle and
display results in a table in a web page. I can go the PHP route and have it
done in a very short period of time. But I would like to start learning
about and working with Cocoon and databases. Problem is, I can't seem to
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Downloading large files is not consistent
Schultz, Gary - COMM wrote:
Large Excel, Word, and PDF files (above 1.5MB?) are not downloading
properly
on consistent basis when being served via Cocoon
on.
-Original Message-
From: Schultz, Gary - COMM [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: correct url - wrong page
We are having a problem with Cocoon based web site
http://commerce.wi.gov in which are users go to one URL
The Wisconsin Department of Commerce (http://commerce.wi.gov) has rolled
out a new web site powered by Cocoon 2.1.4. We have significantly improved
the site's construction, moving away from static HTML on an IIS web server.
The home page is still static HTML served from Apache. The remainder of
Another alternative for within browser content editing is Mozile, the
Mozilla Inline Editor. The first link provides general information on
Mozile, the second link provides information on the latest version.
Mozile web at Mozdev: http://mozile.mozdev.org/index.html
Try rebuilding Cocoon and redeploying. I've found that cocoon doesn't always
build the same. I have Windows XP pro at work, 2.6 GHz Pentium 4 with 512
Meg Ram, and XP home at home, 2.4 GHz AMD Athlon with 786 Meg Ram. Same
versions of Java (JDK 1.4.2_03)and Tomcat (5.0.18). Cocoon builds are not
: RE: using Cocoon: chinese government agencies
Schultz, Gary - COMM dijo:
How can you tell they are using Cocoon? if they truly are using Cocoon
this
would help me quite a bit. I work for an economic development agency that
just participated in a trade mission to China. Our management
a Traditional Website Structure Using
Coc oon?
Gary:
I've not considered CSS for layout since I'm comfortable with
tables...but I'm open to hearing if there is a better way to layout
header/footer/nav/body in a way that is consistently handled by most
browsers.
David
--- Schultz, Gary - COMM [EMAIL
Have you considered cascading style sheets (css) for layout instead of
tables. I'm using that for my web sites and I think it tends to simplify
things. Use Cocoon to build the html element structure and css to layout the
web page. This way you do not have to worry about getting the different
parts
/
/td
/tr
/xsl:template
Schultz, Gary - COMM wrote:
Have you considered cascading style sheets (css) for layout instead of
tables. I'm using that for my web sites and I think it tends to simplify
things. Use Cocoon to build the html element structure and css to layout
the
web
The Wisconsin Department of Commerce is in the first phase of rolling out
it's new web site powered by Cocoon 2.1.4, running JSDK 1.4.2_03 / Tomcat
5.0.18 / IIS 5. The department's Bureau of Housing web site is the first
part of the agency web site to go live. The URL is:
I cannot get xsl:include to work in Cocoon? Does Cocoon support xsl include?
Does it need to be define in the sitemap?
Gary T. Schultz
Web Technical Administrator / GIS Coordinator
Wisconsin Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Monday, March 29, 2004 12:07 PM
To: [EMAIL PROTECTED]
Subject: Re: xsl:include in Cocoon
On Mar 29, 2004, at 10:02 AM, Schultz, Gary - COMM wrote
Wafer Project http://waferproject.org/index.html has a feature comparison
matrix for web application framework alternatives and links to the web sites
of the different alternatives.
Gary T. Schultz
Web Technical Administrator / GIS Coordinator
Wisconsin Department of Commerce
6th Floor
P.O. Box
search engine. Everything worked. Thanks to all for the assistance.
-Original Message-
From: Schultz, Gary - COMM [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 1:23 PM
To: [EMAIL PROTECTED]
Subject: Indexing cocoon for search engines
After trying to get this working, I've
After trying to get this working, I've determined I'm having trouble getting
cocoon indexed properly outside of the Lucene example. Eventually I need to
have Cocoon indexed by Google, Inktomi etc. Yesterday someone posted a reply
showing that something served by Cocoon can be indexed by Google.
Can search engines such as Google, Inktomi, etc. index a Cocoon site? I'm
testing Cocoon (http://commerce.wi.gov/housing/) and have tried several
searches on resources, but did not find results from the major search
engines. Any direction on this is greatly appreciated.
Gary T. Schultz
Web
indexing and Cocoon
no problem
http://www.kottakis.gr
http://www.rodopi-sa.gr
and other cocoon livesites
are indexed fro google without problem
for example search in google for kottakis
--stavros
On Wed, 10 Mar 2004, Schultz, Gary - COMM wrote:
Can search engines such as Google, Inktomi
Take a look at the Morphon XML Editor: http://www.morphon.com
Gary T. Schultz
Web Technical Administrator / GIS Coordinator
Wisconsin Department or Commerce
608-266-1283
[EMAIL PROTECTED]
-Original Message-
From: Brent L Johnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20,
Would you really recommend newbies use Struts? I thought Cocoon's appeal is
that is has everything right out of the box to deploy an XML web publishing
system and provide the framework to more easily build web applications using
XML. I don't use Struts, but our Java application development staff
82 matches
Mail list logo