i use javamail api in an xsp to read mails.
i use the below statement to ignore html tags in mails.
String noHTMLString = temp.replaceAll(\"<.*?>\",\"\");
However the following error is seen...
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
Of course you mean lower level users ;-) ... but the original
poster had a good point; perhaps its because CForms are
stil under development that much of what is around them is
not properly documented as yet. In the long run, the API
should not be the first point of call - I see that more for
Hi,
I keep getting a java.lang.NoSuchMethodError both in the samples as in
my own code.
as you can see the method exists. is there something i miss a library
maybe?
sitemap
map:flow language=java
map:script
src=de.juwimm.novartis.studentshop.shop.flow.ShoppingcartFlow/
/map:flow
Hi,
Has Cocoon some built-in functionality
for caching pipelines??
Or what is the best way of implementing
a selfmade cachingsystem in Cocoon??
Regards,
Gunter D'Hondt
SOFICO NV Belgium
Gunter D'Hondt wrote:
Hi,
Has Cocoon some built-in
functionality
for caching pipelines??
Or what is the best way of
implementing
a selfmade cachingsystem in Cocoon??
Regards,
Gunter D'Hondt
SOFICO NV Belgium
Hi,
yes cocoon has a pipeline caching.
see
I will be out of the office starting 17/09/2004 and will not return until
27/09/2004.
I will respond to your message when I return.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi Patrick,
Sounds like a version problem with xalan. Maybe you have a different
version of xalan in your classpath (or exts directory)? This has been a
fairly common thread on the mailing-list, try searching the archives.
Hope that helped,
John
Patrick Verboom wrote:
Hi,
I keep getting a
In the context of the portal you presumably need a general framework for
authentication, authorisation and - dare I say it - single sign on. If you
want to restrict yourself to Cocoon applications in the portal, you have
an easier job and can presumably do what you like. But if you have other
Christian Hoofe wrote:
[...]
Put this into your sitemap.xmap to produce output IE understands:
map:serializer ...
omit-xml-declarationyes/omit-xml-declaration
/map:serializer
That's exactly what I already suggested in the second posting of this
thread. (Did you read it?).
But only
Hi,
on my quest for accessing the nodes of a pipeline I run into the TreeProcessor
class. I inspected that component at runtime and found out, that it has a
private field called rootNode, holding the first child node of the root
pipeline. From there on I could traverse the tree and access all
Hi,
I've got a XML database with images of various sorts of mime-types (jpeg,
gif, png, etc) stored in text() nodes as Base64. I have a trivial
Base64Serializer that reconstitutes them on the way out. However, I think
I'm stuck with a mime-type problem. It seems I have to have a separately
Andrzej Jan Taramina wrote:
Chiba (http://chiba.sourceforge.net/) is a servlet webapp
(i.e. like a sibling of Cocoon rather than its child) that
implements XForms. I'm not sure how easy it would be to use
Chiba from within Cocoon.
There is a project called Chicoon whose purpose is to integrate
Lars,
Very interesting - thanks. If anyone's interested I'll be bringing some
experiences with current XForms implementations to XML Open in
Cambridge, UK on Wed - http://www.xmlopen.org/
There's quite a lot happening with XForms at the moment.
- Thomas.
Lars Huttar wrote:
Since Thomas asked
Andrzej Jan Taramina wrote:
Lars wrote:
Chiba (http://chiba.sourceforge.net/) is a servlet webapp
(i.e. like a sibling of Cocoon rather than its child) that
implements XForms. I'm not sure how easy it would be to use
Chiba from within Cocoon.
There is a project called Chicoon whose
On Friday 17 September 2004 09:29, Patrick Verboom wrote:
I keep getting a java.lang.NoSuchMethodError both in the samples as in
my own code. As you can see the method exists. is there something i miss a
library maybe?
cut sample and output
This is exactly why I stopped using javaflow. In my
Hi,
I have an XML file that looks like the following:
abc:root xmlns:abc=http://abc;
.
abc:fragment
xyz:test xmlns:xyz=http://xyz;
.
/xyz:test
/abc:fragment
/abc:root
I want to use startSerializedXMLRecording and endSerializedXMLRecording to
record the xml inside the
Emond Papegaaij wrote:
On Friday 17 September 2004 09:29, Patrick Verboom wrote:
I keep getting a java.lang.NoSuchMethodError both in the samples as in
my own code. As you can see the method exists. is there something i miss a
library maybe?
cut sample and output
This is exactly why I
In org.apache.cocoon.xml.XMLUtils, the method serializeNode attempts to
use a stock Transformer to serialize the document fragment. Unfortunately,
xalan doesn't do namespaces, so instead of
TransformerHandler transformerHandler;
transformerHandler =
P.S.
XMLForms was an XForms package that was part of Cocoon, but
has been removed. (See
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=108876021513344w=2)
For those who are interested, there is a much more in-depth
discussion of XMLForms vs. Woody (by Sylvain Wallez) at
Laurent Trillaud wrote:
Hi
Try this :
var sessionManager = cocoon.getComponent(
Packages.org.apache.cocoon.webapps.session.SessionManager.ROLE);
var userLogin = sessionManager.getContextFragment( authentication,
/authentication/ID).getFirstChild().getNodeValue();
Laurent Trillaud
Great, this
Hello everyone
I looking to do a normal for loop in a jx page around an integer,
I can't seem to get it done with the ForEach tag,
does anybody have a technique or an idea for this?
Thanks for the help
Tibor
-
To
OK... this is weird!
My Cocoon app uses ImageReader, and the images weren't displaying. It turns out the call to com.sun.image.codec.jpeg.JPEGImageDecoder.decodeAsBufferedImage() in ImageReader.processStream() crashes the JVM! It crashes hard, immediately and silently (no error messages). What
Oh yeah, I meant to mention :-)
Cocoon 2.1.5.1
Jetty 4.2.15
JVM 1.4.1
OS X Server 10.3
On Sep 17, 2004, at 12:35 PM, Mark Lundquist wrote:
OK... this is weird!
My Cocoon app uses ImageReader, and the images weren't displaying. It turns out the call to
oceatoon dijo:
Hello everyone
I looking to do a normal for loop in a jx page around an integer,
I can't seem to get it done with the ForEach tag,
does anybody have a technique or an idea for this?
Hi, please check this:
http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html#forEach
Best
Mark Lundquist dijo:
Oh yeah, I meant to mention :-)
Cocoon 2.1.5.1
Jetty 4.2.15
JVM 1.4.1
Can you try: 1.4.2_05? - http://java.sun.com/j2se/1.4.2/download.html
I am not sure, but I remember a bug related to images in java. Maybe it is
not only in MacOS. anyway, it is a worth to
All, I followed the Wiki docs for Performance issues with Cocoon,
Lenya, etc., and I'm watching my server now and the free memory is
slowly going away, until the log file starts spitting out the following
messages:
Cocoon threw exception
java.lang.OutOfMemoryError
I don't know if this is the
Adriano Smith dijo:
i use javamail api in an xsp to read mails.
i use the below statement to ignore html tags in mails.
String noHTMLString = temp.replaceAll(\.*?\,\\);
However the following error is seen...
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
Andrzej Jan Taramina dijo:
In the meantime, if anyone is interested in using Chiba with Cocoon, I'll
be
glad to discuss it in private, so just ping me.
Can you wikify it? I think it will be the best way to share the knowledge.
That way other interested users will be able to know about that.
hi,
i need to get the keys and values out of an java.util.Map with
jxpath.
However, i'm not supposed to know the keys of the map. How can i do that?
thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
We have had similar issues as well. The first thing I would check is to see
what type of pipeline configuration you are running with. If you are running
w/ profiling turned on we have found that the profiler slowly eats up all of
our memory over time. I work for a publishing house and we have
I had this problem, and it was related to fop.. i had a pdf template
with alot of fo:table and geting rid of them fixed the memory consumption.
JD
Jonathan Linczak wrote:
All, I followed the Wiki docs for Performance issues with Cocoon,
Lenya, etc., and I'm watching my server now and the free
On Sep 17, 2004, at 4:23 PM, Hance, Greg (ELS) wrote:
We have had similar issues as well. The first thing I would check is
to see
what type of pipeline configuration you are running with. If you are
running
w/ profiling turned on we have found that the profiler slowly eats up
all of
our memory
On Sep 17, 2004, at 5:27 PM, JD Daniels wrote:
I had this problem, and it was related to fop.. i had a pdf template
with alot of fo:table and geting rid of them fixed the memory
consumption.
Fortunately (or unfortunately, depending on how you look at it), I'm
not doing anything with fop at the
OK, I solved it. I also had to wrap the pipeline into a auth-protect
block, as well as using the following to get the component manager
public String getUserId() throws Exception{
org.apache.avalon.framework.component.ComponentManager cm=
CocoonComponentManager.getSitemapComponentManager();
Hi:
if you are running Cocoon 2.1.4, maybe this explain some of the problems
you currently have:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26753
Best Regards,
Antonio Gallardo.
Hance, Greg (ELS) dijo:
We have had similar issues as well. The first thing I would check is to
see
what
i'm new to cocoon and i'm trying to develop a web application for a
university examination.
I've read everything about Authentication FW but i cannot find nothing
about authenticating over
a mysql DB connection. so i've written down this piece of pipeline:
map:match pattern=do-login
To add my 2 cents,
We have a memory issue as well, but I have just started looking into
it. Going by our Java profiler, lots and lots of ints are being created
and never cleaned up. We have tried using Xalan 2.6, with XSLTC.
The XSL is faster, but the memory loss continues. Our pipes are
. Hi fabrizio! .
Friday, September 17, 2004, 10:38:24 PM, you wrote:
fp i'm new to cocoon and i'm trying to develop a web application for a
fp university examination.
fp I've read everything about Authentication FW but i cannot find nothing
fp about authenticating over
fp a mysql DB connection.
here it is the component configuration
map:pipelines
map:component-configurations
authentication-manager
handlers
handler name=torquemada
redirect-to uri=cocoon:loginsrc/
authentication uri=cocoon:raw:/authenticate/
/handler
i attach also this lineshope it can help:
map:match pattern=do-login
!-- try to login --
map:act type=auth-login
map:parameter name=handler value=torquemada/
map:parameter name=parameter_name value={request-param:username}/
map:parameter
. Hi fabrizio! .
Friday, September 17, 2004, 11:12:47 PM, you wrote:
fp here it is the component configuration
fp map:pipelines
fp map:component-configurations
fp authentication-manager
fp handlers
fp handler name=torquemada
fp redirect-to
those parameters are sent the same way as the example given in cocoon
documentation.
we tried maintaining the same pipeline structure and authenticating
over a xml file and t works.Is th database authentication that doesn't
works.
After the above mentioned sentence in the pipeline we have a
David Verdin wrote:
Hi everybody,
I spent a lot of time parsing the cocoon documentation, samples and
wiki, but there are still a lot of question I wonder about cocoon and
Cforms. I think that as long as these questions stay unanswered, I
won't be able to use Cocoon properly. So here is my list
To other fearless cocoon users ..
my configuration: cocoon 2.1.5.1, j2sdk1.4.2_04
running on Debian, Mozilla1.0
I'm about to implement a cforms application with basic
db-table browsing and editing functionality.
example form1 is my main source of inspiration (very
nice), however, three issues
Mark Lundquist wrote:
OK... this is weird!
My Cocoon app uses ImageReader, and the images weren't displaying. It
turns out the call to
com.sun.image.codec.jpeg.JPEGImageDecoder.decodeAsBufferedImage() in
ImageReader.processStream() crashes the JVM! It crashes hard,
immediately and
Antonio Gallardo wrote:
oceatoon dijo:
Hello everyone
I looking to do a normal for loop in a jx page around an integer,
I can't seem to get it done with the ForEach tag,
does anybody have a technique or an idea for this?
Hi, please check this:
46 matches
Mail list logo