Hi,
We have develop an application based on Cocoon1.8 (Old choice, next version
of the application will work on Cocoon 2.1 but in 2005).
This application is on production, but the number of user will grow up next
month.
Do you know the limit of Cocoon1.8.2 (max number of user , problem with
Hello Khanh,
You need to update your Java VM - the Verisign certificates expired
recently, and that's what's causing the exception you saw. Either
download and install JRE 1.4.2_03, or follow the instructions on the Sun
website to update your certificates.
John
Khanh Vo wrote:
Hi,
Im
Grzegorz Goliatus Taczyk wrote:
Witajcie!
What I know now is:
xsp:structure
xsp:includeorg.apache.cocoon.components.cron.*/xsp:include
xsp:includeorg.apache.cocoon.*/xsp:include
/xsp:structure
and:
JobScheduler scheduler =
It's been about a day since the last poll reply came through, i guess
it's either too far down in the newsreader overview for people to still
notice it or maybe just everyone who wanted to vote actually has voted.
The poll :
COCOON : your version here
JDK : your version here
CONTAINER : your
Witaj Reinhard,
W Twoim licie datowanym 5 marca 2004 (12:49:33) mona przeczyta:
RP Have a look at the flowscript demo, it's Javascript but very similar to
RP Java ;-)
Now I get it:
Hi,
I also faced the similar problem. Uncomment the
following lines.
exclude.block.portal-fw=true
exclude.block.portal=true
rgds,
--- [EMAIL PROTECTED] wrote:
sory but there is not portlet block in
blocks.properties.
ro do you mean whole the portal block ?
thnx
--stavros
Hi,
Can anyone help out?
How can I get a creation of missing elements when saving data in a Woody
form.save action? I've already tried:
http://archives.real-time.com/pipermail/cocoon-users/2003-December/043857.ht
ml
but it doesn't work.
In detail:
when I try to save XXX to person/name/last
Hi,
when indexing some XML files I get this strange error:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.cocoon.ProcessingException: Cannot parse!:
org.xml.sax.SAXParseException: The string -- is not permitted within
comments.
column: 18
line: 872
cause:
Hi,
My application needs to be able to generate data in CSV format to
download to the application user. What's the best way to do this?
My first guess would be to configure a TextSerializer in the sitemap
with name=csv and mime-type=application/csv, then generate my CSV
wrapped in a SAX
Maybe the poi serializer has support for csv already?
Mark Lundquist wrote:
Hi,
My application needs to be able to generate data in CSV format to
download to the application user. What's the best way to do this?
My first guess would be to configure a TextSerializer in the sitemap
with
Check the mailing list, I have posted this answer.
There is a java method somewhere you can use. StringEscapeUtils.escapeXml
Lionel
At 08:03 28/02/2004 +0100, you wrote:
Hello,
in our database exists text from our old system without entities. For
example there is a instead of amp;. Is in
Hi!
I try to test the woody in portal,use the registration
sample.
everthing is ok,but the validation error message gen by woody
widget can't show(ie. pop an error message windows)
how to use client side script to show them?
Best Regards
Johnson
Is this working ?
map:part element=content
ns=http://www.xmlmill.com/contenthttp://www.xmlmill.com/content;
src=cocoon:/myfirstincludeDocument_{1}_{2}/
PS : you can also send the parameters in the request using
cocoon:/myfirstincludeDocument?variable1={1}amp;variable2={2}
Then you create
Stefan Geelen wrote:
Hi,
when indexing some XML files I get this strange error:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.cocoon.ProcessingException: Cannot parse!:
org.xml.sax.SAXParseException: The string -- is not permitted within
comments.
column: 18
Witaj !
From cron sample:
var testjobrole = org.apache.cocoon.components.cron.CronJob/test;
How it is referenced to
org.apache.cocoon.components.cron.TestCronJob?
Thats last thing what I dont understand from Cron so I need Your
help!
And another separate question: why Cron sample
Grzegorz Goliatus Taczyk wrote:
Witaj !
From cron sample:
var testjobrole = org.apache.cocoon.components.cron.CronJob/test;
How it is referenced to
org.apache.cocoon.components.cron.TestCronJob?
Thats last thing what I dont understand from Cron so I need Your
help!
And another separate
Hi all,
I am running a customised version of Lynotype as a content management system
and somehow the server is sending me Storage over usage messages when I am
not physically uploading anywhere near the amount specified.
I upload to Cocoon...WebApp, ...webapp/web-inf and image / text via the
Lincoln Mitchell wrote:
Hi all,
I am running a customised version of Lynotype as a content management system
and somehow the server is sending me Storage over usage messages when I am
not physically uploading anywhere near the amount specified.
I upload to Cocoon...WebApp, ...webapp/web-inf and
I'm getting a funny looking class returned from a jpath expression.
Here is a small code example displays the class name for two strings,
one created with a jpath expression and the other a static value.
Notice the the class type from the jpath expression looks funny. Am I
doing something
On Fri, Mar 05, 2004 at 03:31:19AM -0800, Mark Lundquist wrote:
Hi,
My application needs to be able to generate data in CSV format to
download to the application user. What's the best way to do this?
My first guess would be to configure a TextSerializer in the sitemap
with name=csv and
I'm not a cocoon expert but the Class type of your first object is an
array of Strings. The [L prefix tells you that you have an array of
objects. Perhaps your jpath expression is returning more than one String
result?
Joel McConaughy wrote:
I'm getting a funny looking class returned from a
Hi,
Currently I am using an XSP generator
which gets XML data through a soap:call. This is followed by the
cocoon XSLT Transformer, followed by the XML serializer. I need to
set a header in the http response at the transformer stage. I cannot do
this from the generator since, first I need to
If I use the following statement:
String [] sArray = jpath:value-of select='searchType' /;
I get the following compile-time error:
Type mismatch: cannot convert from Object to String[]
Any other ideas? Thanks for the quick response!
joel
Dan Alford wrote:
I'm not a cocoon expert but the
I've heard about it, but wasn't sure what it was for
;-) I'll give it a try.
Thanks,
-Alex
--- Laurent Trillaud [EMAIL PROTECTED] wrote:
Alex.
Have you taken a look on processPipelineTo()?
The code become:
if (update = true) {
cocoon.processPipelineTo( cocoon://load-feed,
...);
Hi!
I use the Authentication Framework. Everything is okfor authentication.
The problem is when I want to add a new customer with new login and password. I'd like to check if the login already exists in the SQL database before inserting the data. How can I do that?
Thanks for your help.
Vincent
Joel,
Try explicitly casting the object.
String [] sArray = (String[]) jpath:value-of select='searchType' /;
If that doesnt work, you will probably need to find a cocoon expert
Dan
Joel McConaughy wrote:
If I use the following statement:
String [] sArray = jpath:value-of select='searchType'
Hi Laurent,
Yes, it does make sense, however if I make it a bit
more complex, it's becoming difficult to manage.
Let's say my News Story page has the following
coplets:
- News Story
- Related News Stories (if any)
- Related Photos (if any)
- List of other sites talking about the topic (if any)
I develop certain Cocoon webapps on a Powerbook with recent cocoon
version; up to now with same config like on Redhat Linux and no problems
also iso-8859-1 (german) encoding worked fine: environment variable LANG
is set to de...
yesterday I worked on an application on the powerbook and
Le Vendredi, 5 mars 2004, à 16:22 Europe/Zurich, Alexander Schatten a
écrit :
...Has anyone an idea, how I could fix this encoding problem on OS X ?
Most probably, you need to make sure the JVM is started with the
correct encoding definition, like -Dfile.encoding=iso-8859-1
-Bertrand
That did the trick! It's the simple things... Thanks much for the help.
joel
Dan Alford wrote:
Joel,
Try explicitly casting the object.
String [] sArray = (String[]) jpath:value-of select='searchType' /;
If that doesnt work, you will probably need to find a cocoon expert
Dan
Joel
Bertrand Delacretaz wrote:
Le Vendredi, 5 mars 2004, à 16:22 Europe/Zurich, Alexander Schatten a
écrit :
...Has anyone an idea, how I could fix this encoding problem on OS X ?
Most probably, you need to make sure the JVM is started with the
correct encoding definition, like
Glad I could help
If you expect it to return ordinary Strings as well as arrays you may
want to do some type checking, e.g.
String[] sArray=null;
Object o = jpath:value-of select='searchType' /;
if(o instanceof String){
sArray = {(String)o};
else if( o instanceof String[]){
sArray =
Hi, I have adapted the
woody/ojb/jdo example to connect to my database (finally!), and I'm trying to
get it to populate a form with the contents of the bean, as in the
example. The data gets retrieved correctly, and the bean has the correct
values, I debugged it in Eclipse to be sure of
HI,
I noteiced in the SimpleLuceneXMLIndexerImpl class that there is a
store-fields parameter to define which content
Quote:
* p
* ttlt;store-fields/gt;/tt
* Sets which tags in your content are stored in Lucene as fields,
* during the indexing process. Allows them to be output with
Description:org.apache.cocoon.ProcessingException: Unable to
get transformer handler for
file:/conquest/data/applications/juwimm-cms.ear/cocoon.war/zkh/index/index_2.xsl:
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating
Transform Handler
Thanks in advance for any help on this.
I would like to build a SQL statement dynamically based on whether not not
certain parameters have been sent, but also use bound parameters in my SQL
query.
I seem to be having troubles getting the parsing quite right.
To give a better idea of what I'm
Can someone please answer my question below I am stuck.
On Thursday 04 March 2004 03:41 pm, Anna Bikkina wrote:
Hi,
I have a xml file that has to converted to excel. I am trying to use a xsl
s stylesheet and cocoon to do this job for me.
Below is my xml. I am able to display the column's
Alexander Schatten wrote:
JAVA_OPTIONS='-Dfile.encoding=iso-8859-1'
I read the Sun documentation now, and extended this to:
-Dfile.encoding=iso-8859-1 -Duser.language=de -Duser.country=DE
-Duser.variant=MAC
additionally,
-- the LANG=de_DE.iso-8859-1
-- the two encoding init params in web.xml
Rebecca,
It might take some time to prove it, but I'm pretty sure you can't do what
you are trying to do with ESQL. I've gotten pretty deep into the ESQL
logicsheet, and it looks for specific tags in specific relationship to
other tags, e.g., it will look for the esql:parameter tags as
hi all again!
i read docs on coocoon.org cocoon.wiki but i hasn't found answer on may
question
I need to set two properties for my jdbc connection (for xsp page) (mySQL
driver)
useUnicode = true;
characterEncoding = Cp866
if i use xsp:logic...
are you sure these java options are actually used when your servlet
container starts up? Do an echo $JAVA_OPTIONS just before the statement
you think gets exec'ed to start the container.
Alexander Schatten wrote:
Alexander Schatten wrote:
JAVA_OPTIONS='-Dfile.encoding=iso-8859-1'
I read the
Rebecca,
xsp:logic
String paramopen = lt;esql:parametergt;; // open esql parameter tag
String paramclose = lt;/esql:parametergt;; // close
This is a fundamental misconception.
You cannot add unparsed tags.
XSP execution happens after the parsing process.
esql:parameter tag
String
Hi,
I thought I'd give this a second try, since I didn't get any replies the
first time round. I'd appreciate any kind of comment/suggestion. Thanks!
Just wondering whether anyone has got any thoughts on this/best practices
to offer:
I have got a woody form that I need to display in very
This error means that the document is written in ASCII mode with some
characters which are not contain in the ASCII table of UTF-8.
Which means :
if you write in a new document with ultraedit and you save it as is.
Cocoon will load the document and serialize it with this error.
BUT :
Before
I ran into the same problem and ended up building the entire sql
statement in a String variable within an xsp:logic block. This
eliminated a number of parsing problems I was having and avoids having
to root thru the esql logicsheet to figure out exactly whats going on.
R Hunt wrote:
Thanks
At 09:53 AM 3/5/2004 -0800, you wrote:
I ran into the same problem and ended up building the entire sql statement
in a String variable within an xsp:logic block.
When you did this, where you also using the esql:parameter tags to bind
parameters? If you were, it sounds like many people would
On Fri, Mar 05, 2004 at 06:44:47PM +0100, Stefan Klein wrote:
Hi,
I thought I'd give this a second try, since I didn't get any replies the
first time round. I'd appreciate any kind of comment/suggestion. Thanks!
Just wondering whether anyone has got any thoughts on this/best practices
to
Vlad Ali wrote:
hi all again!
i read docs on coocoon.org cocoon.wiki but i hasn't found answer on may
question
I need to set two properties for my jdbc connection (for xsp page) (mySQL
driver)
useUnicode = true;
characterEncoding = Cp866
if i use xsp:logic...
It WOULD be interesting if that's what I did. I actually didn't end up
using any bound parameters; just dynamically created the statement. Are
you required to use a prepared statement? If so, I'd be interested in
why -- it may be somethig I need to do with my app as well. Sorry I
can't be
Hello, I am new to XSP in Cocoon. I am experimenting
with a way to POST to a servlet, but not using the
name-value pair combination shown in the CInclude
(advanced) example.
To me XSP seems to not like the typecasting -
parenthesis syntax required by Java. It sees the
parenthesis, and gives an
Other than xreporter is there a way I can do this. I do not want to introduce
xreporter because I have only one report and I dont want to add complexity to
my existing application.
I have a xsp file that generates output which has to be converted to
html(thats working) . I need the same
Nevermind,I got most of it working except that column0 is left blank and the
whole data is printed from column1. Not sure where I am making a mistake.
Can someone help.
here is my latest xsl
xsl:template match=result
xsl:for-each select=column
The original thread for this is:
http://marc.theaimsgroup.com/?t=10748889214r=1w=2
In a nutshell.. I'm using the authentication framework
(now with Cocoon 2.1.4) and I'm still having this multiple
insert problem.
Here is the sitemap snippet...
map:match pattern=performLogin.html
Store the result in the session, by using one or more of the session
transformers.
http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transform
er.html
One pipeline genereates the result, stores it in the session and generates
the HTML.
Another pipeline reads the result from the
In case it helps.. I cleared out the logs and
logged in.. then noticed these error level messages
in error.log and access.log.. dont know if this
could be the cause of the multiple inserts from
my XSP... (the exceptions are the same in both files)
ERROR (2004-03-05) 15:33.39:606 [access]
I've followed INSTALL file in cocoon-2.0.4-vm14-bin.zip (since it's the most recent downloadable binary from Apache) to isntall it on latest Tomcat 5.0.19. And found following error in stderr. the Install html page only tells how to install on up to Tomcat 4.0.4b. Has any one had luck with this
Hi,
I build a webpage
with default charset=ISO-8859-1"
encoding.
I need to include another .xml file built in utf-16
encoding:
xi:include
href="" parse="text"
encoding="UTF-16"
xi:fallback
pExample currently
unavailable/p
/xi:fallback
/xi:include
The result is :
...
Joel McConaughy wrote:
It WOULD be interesting if that's what I did. I actually didn't end
up using any bound parameters; just dynamically created the
statement. Are you required to use a prepared statement? If so, I'd
be interested in why -- it may be somethig I need to do with my app as
Geoff Howard wrote:
How are you protecting against SQL Injection attacks?
esql:queryselect * from foo where foo.x =
'xsp-request:get-parameter name=bar/'/esql:query
if you take myVar in any way from a request parameter, what happens if
I pass in a value like bar=abc;delete%20from%20foo (try it
I thought that ESQL used JDBC prepared statements, regardless of whether
you have bound parameters; while it won't protect you fully, won't it throw
an exception if it receives two queries (which this attack results in)?
Perhaps I'm wrong on this point. It isn't ideal, but if your dynamic SQL
I think you need to replace the match in your last template:
xsl:template match=Time | Action | Price | Name | Name1
As it is now, it's going to catch a lot of calls that it shouldn't, and
prevent the process from reaching some other templates.
Also, I don't think this is doing what you want:
Thanks for everyone's advice on this topic. It seems that the general
consensus is that one should use esql:parameter to bind parameters, but
it can't be done when building a dynamic query.
Thanks.
At 06:41 PM 3/5/2004 +0100, you wrote:
You are mixing things up. :)
Better have a look into the
On 05.03.2004 21:57, [EMAIL PROTECTED] wrote:
I've followed INSTALL file in cocoon-2.0.4-vm14-bin.zip (since it's the
most recent downloadable binary from Apache) to isntall it on latest
Tomcat 5.0.19. And found following error in stderr. the Install html
page only tells how to install on
Thanks for everyone's advice on this topic. It seems that the general
consensus is that one should use esql:parameter to bind parameters,
Definitly - if feasible
but it can't be done when building a dynamic query.
It depends how dynamic your query is. See further down
Can you recommend some
I thought that ESQL used JDBC prepared statements, regardless of whether
you have bound parameters;
That's right
while it won't protect you fully, won't it throw
an exception if it receives two queries (which this attack results in)?
AFAIK - not necessarily ...as with all JDBC stuff
this
I use Jetty.
java -Xmx256M -Xms128M -Xss128K -Dfile.encoding=UTF-8 -jar start.jar
etc/jetty.xml
Then it works fine.
teru
- Original Message -
From: Jorg Heymans [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 06, 2004 2:34 AM
Subject: Re: [OS-X] Serious Encoding Problems (VM
On Fri, Mar 05, 2004 at 04:47:24PM -0500, Anna Bikkina wrote:
snip/
I have another button which converts the same data to excel . It performs
query to the database and is expected to display data in excel. I am using
the org.apache.cocoon.serialization.HSSFSerializer to perform this.
67 matches
Mail list logo