Hi,
I am running cocoon 2.1-dev in tomcat 4. My log
directory,
$TOMCAT_HOME/logs is gets really big, so I figured I'd
set the log levels from DEBUG to ERROR.
So, I modified $MY_WEBAPP/WEB-INF/logkit.xconf and
changed all the DEBUG to ERROR.
I modified $MY_WEBAPP/WEB-INF/web.xml and changed the
Let me describe what I am doing:
I have a directory that contains .xml files. In my
sitemap, I have a pipeline that starts with a
DirectoryGenerator on this directory. I then have a
transformation that takes the directorygenerator's
output and puts some xi:include tags with xpointers to
some tags
Is it possible to define a global sitemap variable in
terms of another global sitemap variable? I am trying
it and it doesn't seem to work:
global-variables
base/home/icewind0/cocoonfiles/base
static{global:base}/static/static
/global-variables
I want to be able to restrict access to my
Cocoon-based application, either by IP range, login,
or both. Is this something I can do easily in cocoon,
or should I look into doing this using Tomcat?
__
Do you Yahoo!?
Y! Web Hosting - Let the expert
I'm posting this as follow up information to my
initial question posted yesterday. I have pasted that
original email below.
Apparently the indexer is crashing because of too
many open files. I have posted the entry from the
logs for this below. So my question becomes, is this a
bug in the
Hello,
I have something like this for my xml documents:
docs/
dir1/
dir2/
dir3/
dir4/
dir5/
I can index each individual dir in docs separately and
a lucene index will be built properly.
However, when I try to index all together (either by
aggregation, or by crawling from
Hello,
I'm modifying the example lucene searching classes
that come with cocoon and will be packaging my version
up as a jar and using it.
I can see that if I want to use my search components
from an XSP page, I would simply need to modify the
xsp:include tags in the xsp page to reference my
I don't know if this is just a problem on my end, but
I got the latest cocoon from CVS and everything seems
to work... except the links from the Seach the Docs
page in the Samples section. These pages would be
welcome-index.xsp, search-index.xsp, and
create-index.xsp.
The pages half load... when
I got the latest cocoon code out of CVS and built it.
(latest as in today)
Things seem to work fine, except when I go to Search
the Docs in the samples section. When I do that, I
get the error I have attached below.
It seems to have something to do with pizza. I tried
to copy the pizza jar file
errors when trying to index some
xml docs using the indexer you can run from the
Search the Docs section.
--- Vadim Gritsenko [EMAIL PROTECTED]
wrote:
From: icewind [mailto:[EMAIL PROTECTED]]
I got the latest cocoon code out of CVS and built
it.
(latest as in today)
Things seem
--- Vadim Gritsenko [EMAIL PROTECTED]
wrote:
Vadim,
I looked at the characters method. I want to be able
to see what it does when it executes this, but I
assume I just cant stick system.oit.println() calls in
there to see what the values of various variables are
when it runs. Is there some
I have two separate questions relating to
map:aggregate
1. I have a bunch of map:part tags within a
map:aggregate tag. Each xml file that is referenced
in the map:part tags contains lists of the full path
names to other xml files. (The whole purpose of this
thing is to make a list of links the
I looked at the threads, and in my sitemap, and
figured that defining something like:
map:global-parameters
map:global-parameter name=doc-base
value=/home/icewind0/cocoon-files/
/map:global-parameters
I can't figure out how to use it in a pipeline. How do
I reference doc-base in one of my
I searched the mailing list archives for sitemap
variables and sitemap parameters but didn't find
anything relevant to what I'm looking to do.
I have a path eg: /home/me/xmldocs that appears in
many of the pipelines in my sitemap.
Is there a way to put this in a variable at the top of
the
Hi All,
Im having trouble getting lucene to index a
hierarchical directory structure and I think that the
problem may be the result of an incorrect setup of
views.
I have something like this:
xmldocs/
one/
two/
...
I have created an index of some XML documents but I'm
not thrilled with the way the index is built. Text
appears to get indexed with the innermost XML tag it
is found in. For example, if I had a fragment like the
following:
title
personAlice's/person guide to the great novels
Conal,
Thank you very much for taking the time to explain
your setup to me. I have found it to be very valuable
and I think others on the list will too.
I got it working on my setup by including the full
XPath expression for the node I want to select in the
xinclude tag. I's a little
I would like to be able to have cocoon take an entire
directory of xml files, go through it, grab the
contents of some tag (a that all the xml documents in
this directory have) and output a page with the
following information for each document in that
directory:
1. The filename (linked
I tried this but I ran into a problem. The output of
the DirectoryGenerator only gives the filename, not
the full path. When the stylesheet, which is in
another directory attempts to open the file, it cannot
because no XML files in the directory where the
stylesheet lives. Any suggestions?
)
and using the latest cocoon release (from the web
site)
--Dan
--- Themba Mbatha [EMAIL PROTECTED]
wrote:
Make sure that all the jar files that came with
Cocoon are in the lib
directory ($TOMCAT_HOME/webapps/cocoon/WEB-INF/lib).
-Original Message-
From: icewind [mailto:[EMAIL
)
and using the latest cocoon release (from the web
site)
--Dan
--- Themba Mbatha [EMAIL PROTECTED]
wrote:
Make sure that all the jar files that came with
Cocoon are in the lib
directory ($TOMCAT_HOME/webapps/cocoon/WEB-INF/lib).
-Original Message-
From: icewind [mailto:[EMAIL
Im using debian and have the latest tomcat4 package
installed (tomcat 4.0.3) Instead of using the cocoon2
debian package, I opted for the cocoon.war file that I
downloaded off the web.
When I put the cocoon.war file in $TOMCAT_HOME/webapps
and restart tomcat, I get errors. The errors start off
Hello,
I installed the cocoon war file in the webapps dir of
tomcat (tomcat works) and when I tried to access
cocoon, I got a really big error message starting with
the following:
description org.apache.cocoon.ProcessingException:
Language Exception:
23 matches
Mail list logo