Upayavira dijo:
> Antonio,
>
> Find your cache-dir/cocoon.dat and cocoon.idx, probably in your
> servlet's work directory. Delete them with the container shut down, and
> then restart. Does that fix it?
Thanks Upayavira it works!
Now it is working OK. I think my fault was related to the upgrade o
Joerg Heinicke wrote:
Can you save the file to disk without using Acrobat (the typical "save
link target as ...") and try to open this file with Acrobat, so that
you circumvent the Acrobat browser plugin?
Okay, I've just used the Perl 'lwp-request' utility to get the page to a
file. And the fi
Antonio,
Find your cache-dir/cocoon.dat and cocoon.idx, probably in your
servlet's work directory. Delete them with the container shut down, and
then restart. Does that fix it?
If you're getting an EOFException it suggests something wrong with one
of those files.
Deleting them isn't going to
Hi:
I recently updated to the lastest cocoon 2.1.1.cvs and I am getting the
following error when cocoon initialize:
ERROR (2003-08-20) 23:02.30:545 [core.store.persistent] (Unknown-URI)
Unknown-thread/DefaultStore: Exception during initialization of jisp
store.
java.io.EOFException
at
Joerg Heinicke dijo:
> Wow, what a /hymn/ on UTF-8 :-) I know the advantages of UTF-8 and even
> if there is currently no need for switching I did it. The conversion was
> done hopefully correctly by jEdit.
Thanks, I know this is a little change (and maybe meaningless), but I hope
it would help u
Wow, what a /hymn/ on UTF-8 :-) I know the advantages of UTF-8 and even
if there is currently no need for switching I did it. The conversion was
done hopefully correctly by jEdit.
Joerg
Antonio Gallardo wrote:
Joerg Heinicke dijo:
Is there any problem with ISO-8859-1 or do you think switching
Joerg,
I ran build javadocs got this output:-
Using Java from c:\j2sdk1.4.0
Buildfile: build.xml
prepare:
+---+
Apache Cocoon 2.1 [1999-2003]
+---+
Building with Apache A
Hi Reuben:
Reuben Christie dijo:
>
>
> Test t=new Test();
> ..
> ..
>
You need to include the "import" for the classes in your XSP page. Use:
xsp:structure && xsp:include
The error below is clear:
>
> Line 68, column 3: class Test not found in class
More info about XSP in wiki:
htt
rufio dijo:
> Of course it works, UTF-8 is superset of ISO-8859-1.
Yep. But the correct would be have all in UTF-8 and not using the
deprecated ISO-8859-1
Antonio Gallardo.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Like a normal java program you need to import the class. In xsp those
(Bdefinitions can be done in . For example.
(B
(B
(B path.to.package.Test
(B
(B
(BThen you can refer to Test class in your code.
(B___
(B
(BRazorfish Japan, Inc.
(B
$B%"%\%k%O%C%5%K!!%O%C%5%s(B Hassan Abolhassani
Reuben,
Try something like this.
com.company.package.Test t=new com.company.package.Test();
..
..
You can 'import' the class using XSP but I can't remember how. I found
it easier just to reference the class by package. Hope this helps.
Look in the esql logicsheet to get an idea on how
Hi guys,
I haven't solved my problem of getting null request parameters when trying
to read request params in an action, so...
Does anybody know how GET vs POST request parameters are handled by Tomcat
and Cocoon? To reiterate, it *does* work when I try using GET, but I really
need to use POS
Steve:
The whole thing was functionality that existed before the
sitemap came into being. With Cocoon 2 you can't generate XSP code and then
execute it.
It's something that's sorely missed by me in a few cases, but the
performance of generating Java code on the fly like that is really horrible
(
Joerg Heinicke dijo:
> Is there any problem with ISO-8859-1 or do you think switching to UTF-8
> would be good in general?
I think switching all to UTF-8 would be good in general. It is a step
ahead. UTF-8 is the default standard of every XML doc. The ISO-8859-1 is a
deprecated encoding. The IETF
What happens if you call "build javadocs" by hand?
Joerg
Scott Warren wrote:
Yes I did a build webapp and this was from a clean still hot from
downloading copy of the dist. I didn't change anything.
Regards
Scott Warren
-Original Message-
From: Joerg Heinicke [mailto:[EMAIL PROTECTE
hi all.. i m a newbie to cocoon. i m writing an xsp page..in that page i
have a lines like this.
Test t=new Test();
..
..
and i cant get my xsp page compiled it gives erro that
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageExce
Yes I did a build webapp and this was from a clean still hot from
downloading copy of the dist. I didn't change anything.
Regards
Scott Warren
Ocom Software
... Exceeding Quality.
email | mailto:[EMAIL PROTECTED]
web | ocom.com.au
-Original Message-
From: Joerg Heinicke [mailto:
i wrapped cocoon
into a war then bundled that into an ear. deployed to jboss 3.2.1.
cocoon spews:
FATAL_E (2003-08-20)
15:15.17:079 [access] (Unknown-URI) Unknown-thread/CocoonServlet:
Unable to get 'Cocoon-Libs' attribute from the Manifest
from
CocoonServlet.java it seems that WEB-
Hello Antonio,
the best resource is the "The Gnumeric File Format" guide linked twice
from http://wiki.cocoondev.org/Wiki.jsp?page=XLSSerializer.
There is written:
landscape
of course embedded in
...
Regards,
Joerg
Antonio Gallardo wrote:
Hi:
We are trying to manage the print orientat
Is there any problem with ISO-8859-1 or do you think switching to UTF-8
would be good in general?
Joerg
Antonio Gallardo wrote:
Hi:
Why the web.xml of cocoon is still having:
I already changed it to
and it works.
Best Regards,
Antonio Gallardo
Tim Olson wrote:
we want to deploy our sitemaps and xsl's to a location outside the
servlet container's deploy directory* and this location is different in
production and development. we can set the sitemap path in cocoon.xconf
but do we then have to maintain a different cocoon.xconf file for
Olivier
The following is an extract from a component I wrote in which I access
the UserContext. This code retrieves the UserHandler and then gets a
DocumentFragment of the contents of the data element which I then
process further using standard DOM methods.
I hope this helps a bit.
SessionManager
Reuben
Try the following using the xsp:structure and xsp:include elements
full.path.to.package.of.Test
Test t = new Test();
...
Andrew
Reuben Christie wrote:
hi all.. i m a newbie to cocoon. i m writing an xsp page..in that page i
have a lines like this.
Test
Can you save the file to disk without using Acrobat (the typical "save
link target as ...") and try to open this file with Acrobat, so that you
circumvent the Acrobat browser plugin?
Joerg
Upayavira wrote:
Dear All,
I've just done my first FO page, basing my FO on the FOP sample.
When I try t
Tony Collen wrote:
Michael Wechner wrote:
Maybe we could try to implement the Atom API during the hackathon.
this would be awesome, except i am nowhere near s.f. :(
i would bet atom is pretty easy to implement, you'd just need to be
able to listen for PUT, POST, DELETE on specific url's
Bill French wrote:
> perhaps it should. by default mac os x shows:
>
> bash-> ulimit -a
> open files(-n) 256
> while linux (redhat 7.1) shows:
>
> bash-> ulimit -a
> open files 1024
> apparently there are more default limitations imposed by the
> OS on mac
>
Greetings!
I 've tried to use an AbstractGenerator to put some RDF into the
pipeline using the latest JENA.JAR
The Jena 'model' has a model.write() method for dumping out the RDF.
I am having difficulty getting the RDF into the pipeline.The
generator gives no error but doesnt display t
I'm trying to execute Java based on the contents of some xml-ized data.
I found the "Included Logicsheet" notes at:
http://www.suranyami.com/XSPtutorial/ and
http://cocoon.apache.org/2.0/userdocs/concepts/#c2-abstractions
My understanding is the data-XML gets transformed by the xsl into an xsp
From: Upayavira <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: NULL request params when POSTing data in 2.1...
Date: Wed, 20 Aug 2003 20:44:47 +0100
Sonny Sukumar wrote:
Hey guys,
I upgraded to Cocoon 2.1 and now, when I try to fetch request params from
the
Upayavira wrote:
Dear All,
I've just done my first FO page, basing my FO on the FOP sample.
When I try the FOP sample, the PDF loads up acrobat correctly.
But my example brings up a box saying file type: Adobe Acrobat Control
for ActiveX, 'would you like to open the file or save it to your comp
Sonny Sukumar wrote:
Hey guys,
I upgraded to Cocoon 2.1 and now, when I try to fetch request params
from the request using 'request.getParameter("param")', it always
returns null WHEN I use action="post" instead of action="get".
I'm a serious beginner with flow, but I do know that the flow obj
On Wed, 20 Aug 2003, Steven Noels wrote:
> Pardon my ignorance for your particular use case, but did you look at
> xReporter?
Nope, but I will now. Thanks, this is all good information!
> It's available from http://xreporter.cocoondev.org/, and it
> seems like it addresses most of the things yo
Michael Vennera wrote:
- If your report includes any grouping, order your SQL
query by those fields. That way you can use an
and compare each row to the previous
one to determine when you have a new value. (Much
simpler than the Meunch method)
Some time ago, we isolated the functionality of the g
Jeff,
You might consider writing an avalon component and wrapping it in a
Generator. An avalon component is really "plain ol' programming" with
some restraints, and can be used outside of cocoon. You could decide
exactly what functionality you want to be reusable and what you want to
put in
Jeff Sexton wrote:
We'd like to built an application that uses data from a database to create
XML, which can be transformed to various forms. A significant amount of
coding will be required to create the XML (otherwise I'd just place SQL in
an xsp), so I think a separate servlet will make more se
Dear All,
I've just done my first FO page, basing my FO on the FOP sample.
When I try the FOP sample, the PDF loads up acrobat correctly.
But my example brings up a box saying file type: Adobe Acrobat Control
for ActiveX, 'would you like to open the file or save it to your computer?'
Why shoul
Jeff Sexton wrote:
On Tue, 19 Aug 2003, Geoff Howard wrote:
Jeff Sexton wrote:
We'd like to built an application that uses data from a database to create
XML, which can be transformed to various forms. A significant amount of
coding will be required to create the XML (otherwise I'd just place SQ
Jeff Sexton wrote:
On Tue, 19 Aug 2003, Geoff Howard wrote:
I don't quite get why you came to the conclusion that a servlet is
better for serious coding than the Cocoon environment. IMHO you should
back up and reconsider that.
Oh, and a third reason is that we plan to create the XML off-line as a
Michael Vennera wrote:
I've also built a reporting app using Cocoon, using
XSP to pull back the data from Oracle and then
transforming it into either a PDF report or a CSV
file. A couple of tips from my experience:
- If your report includes any grouping, order your SQL
query by those fields. That w
Reuben Christie wrote:
public class Test{
Test(){
}
public String myFunc()
{
return "hello world";
}
}
try making your constructor public.
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
Michael Wechner wrote:
Tony Collen wrote:
Mark Pilgrim has a CGI implementation [1] of the Atom API. How long
until we see a Cocoon implementation? :)
a couple of weeks ago I have started an Atom based blog publication
based on Lenya
http://article.gmane.org/gmane.comp.cms.lenya.user/378
a
it still doesnt work gives the similiar error.
here with i m posting my xsp and java source file and errro that i get
xsp file
http://apache.org/xsp";>
Test t=new Test();
String s=t.myFunc();
s
public class Test{
Test(){
}
public String myFunc()
{
return "hello w
Hey guys,
I upgraded to Cocoon 2.1 and now, when I try to fetch request params from
the request using 'request.getParameter("param")', it always returns null
WHEN I use action="post" instead of action="get".
At first I thought it might have something to do with my form sending
mult-part data--
Nicolas SANDRI wrote:
Not so strange, try this code in Internet Explorer, Mozilla or another
interpreter :
Special chars : œ Œ
These are not the characters below, both are non-displayable control
characters. See 8C, 9C at http://www.unicode.org/charts/PDF/U0080.pdf.
If you use Œ and œ (Hex
Tony Collen wrote:
Mark Pilgrim has a CGI implementation [1] of the Atom API. How long
until we see a Cocoon implementation? :)
a couple of weeks ago I have started an Atom based blog publication
based on Lenya
http://article.gmane.org/gmane.comp.cms.lenya.user/378
and at the beginning of Sep
Try moving them under "cocoon\webapp\WEB-INF\classes\"
That location works for me for classes.
> -Original Message-
> From: Reuben Christie [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, August 20, 2003 10:15 AM
> To: [EMAIL PROTECTED]
> Subject: how to create object of an external cl
but i do not have any package.. its right there inthe same folder where the
.xsp file is.
do u mean to say , i have to have a package inside the folder and then put
my Test.class init ?
-Original Message-
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 1:36
Can you do a "build clean webapp"? The target compile-core does not
start with the compiling, but with some copying and mock classes.
Couldn't see anything strange in the diagnostics.
Joerg
Marcin Stefaniuk wrote:
Hello!
I tried to compile latest Cocoon 2.1. I prepared environment as describe
Tony Collen wrote:
Mark Pilgrim has a CGI implementation [1] of the Atom API. How long
until we see a Cocoon implementation? :)
a couple of weeks ago I have started an Atom based blog publication
based on Lenya
http://article.gmane.org/gmane.comp.cms.lenya.user/378
and at the beginning of Sep
Hi Olivier,
The docs say to use the session transformer with tags like these:
These tags will get transformed into (substituted with) the data content, or
whatever content you specify in the Xpath-like expression in the "path"
attribute (see above).
The doc I'm referring to is here:
http:/
Remove the crimson.jar from your classpath or enforce the earlier load
of xalan.jar.
Joerg
PS: Please don't remove the complete thread from your replies, otherwise
we have to search in the archives what exactly your problem was.
Steen Grønlund wrote:
I am in fact running jdk1.3.1_01, so I gue
Additionaly you need to import your class:
package.Test
Joerg
Reuben Christie wrote:
hi all.. i m a newbie to cocoon. i m writing an xsp page..in that page i
have a lines like this.
Test t=new Test();
..
..
and i cant get my xsp page compiled it gives erro that
org.apache.cocoon.
Hi
I try to run cocoon on tomcat with security manager enabled, but I get
exceptions.
What extra (above default) permissions cocoon needs?
Regards, Rufio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
> On Tue, 19 Aug 2003, Geoff Howard wrote:
> > I don't quite get why you came to the conclusion that a servlet is
> > better for serious coding than the Cocoon environment. IMHO you should
> > back up and reconsider that.
Oh, and a third reason is that we plan to create the XML off-line as a
bat
g4 wrote:
Is it possible to throw date functions from within the sitemap?
Jason,
Check the DateInputModule:
http://wiki.cocoondev.org/Wiki.jsp?page=InputModules
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Reuben Christie wrote:
can somebody throw some light on it? it will be a great help to me.
NB: my Test.java and Test.class are both in the same folder with my xsp
page.
h i haven't done a ton with XSP but you might have to put the .class
file in the WEB-INF/classes/ directory for XSP to see i
I've also built a reporting app using Cocoon, using
XSP to pull back the data from Oracle and then
transforming it into either a PDF report or a CSV
file. A couple of tips from my experience:
- If your report includes any grouping, order your SQL
query by those fields. That way you can use an
and
we want to deploy
our sitemaps and xsl's to a location outside the servlet container's deploy
directory* and this location is different in production and
development. we can set the sitemap path in cocoon.xconf but do we then
have to maintain a different cocoon.xconf file for each deploymen
I am in fact running jdk1.3.1_01, so I guess that is not the cause.
Steen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Tue, 19 Aug 2003, Geoff Howard wrote:
> Jeff Sexton wrote:
> > We'd like to built an application that uses data from a database to create
> > XML, which can be transformed to various forms. A significant amount of
> > coding will be required to create the XML (otherwise I'd just place SQL in
>
Derek Hohls wrote:
Geoff
Apologies for sending this to you direct - but our email
virus scanner is currently resulting in my posts to the
list being blocked as spam!
OK, I'm copying my reply to the list so it's not lost.
I have tried installing Cocoon on another machine; and
get the same results
hi all.. i m a newbie to cocoon. i m writing an xsp page..in that page i
have a lines like this.
Test t=new Test();
..
..
and i cant get my xsp page compiled it gives erro that
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageExce
Hello!
I tried to compile latest Cocoon 2.1. I prepared environment as described
(variables and jars). What I do wrong? When I run builder it prints list of
errors starting:
> begin of code <
C:\cocoon-2.1>build webapp
Using Java from C:\j2sdk1.4.1
Buildfile: build.xml
prepare:
+-
Hi Andrew,
I have a little question about retrieving the "data" tag content.
How could you get the content ? It seems that there is no corresponding output module, and
when I set a serializer instead of the classic to view the
content, I have the following error :
"You must set a generator fir
on Tue, 19 Aug 2003 23:51:20 -0600 (CST) "Antonio Gallardo"
<[EMAIL PROTECTED]> wrote:
> Hi:
>
> Why the web.xml of cocoon is still having:
>
>
>
> I already changed it to
>
>
>
> and it works.
Of course it works, UTF-8 is superset of ISO-8859-1.
Regards, Rufio
--
on Wed, 20 Aug 2003 09:46:30 +0200 Joerg Heinicke <[EMAIL PROTECTED]>
wrote:
> rufio wrote:
>
> >>I have downloaded and build the Final 2.1 release and there is no
> >>JavaDoc. Has anyone else had this problem ?
> >
> >
> > Same problem, I copied them by hand.
>
> What do you mean with "copied
I cleaned up everything and ran a series of tests. This is with 2.1m2.
I shut everything down, made sure my classes were _only_ under:
c:\elrs\cocoon-2.1m2\build\webapp\WEB-INF\classes\ -Original Message-
> From: Geoff Howard [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 9:10 P
Steen Grønlund wrote:
I'am using 2.1 final.
When running build.bat on windows 2000 and with no modifications made in any
properties-file, I get the following error:
- java.lang.IllegalArgumentError: No attributes are implemented at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.java: 193.
W
I'am using 2.1 final.
When running build.bat on windows 2000 and with no modifications made in any
properties-file, I get the following error:
- java.lang.IllegalArgumentError: No attributes are implemented at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.java: 193.
Steen
-
Not so strange, try this code in Internet Explorer, Mozilla or another
interpreter :
Special chars : œ Œ
Special chars : œ Œ
The "e into o" like we call it in french is not well displayed when
it's in "" form.
(Why encode specials chars if they are better interpreted when they're
UT
Is it possible to throw date functions from within the sitemap?
Jason Lane
Developer
Root10 developments
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rufio wrote:
I have downloaded and build the Final 2.1 release and there is no
JavaDoc. Has anyone else had this problem ?
Same problem, I copied them by hand.
What do you mean with "copied them by hand"? After "build webapp" they
have to be in $COCOON_HOME/build/webapp/api.
I guess you have t
Jay Freeman (saurik) wrote:
...
Oh, I totally understand that Cocoon is a work in progress... that's
actually one of the things I like most about it :). I _did_ mention in a
reply to my original proposal on the dev-list (and was tacked to the bottom
of the forward that I gave Ralph that ended up
On Wednesday, Aug 20, 2003, at 01:26 Europe/London, Vadim Gritsenko
wrote:
g4 wrote:
On Tuesday, Aug 19, 2003, at 13:20 Europe/London, Vadim Gritsenko
wrote:
g4 wrote:
Hi list,
has anyone had experience with using Berkerley DB XML and Cocoon,
if so how would I go about integrating it?
Ide
btw, i updated the wiki.
On Tuesday, August 19, 2003, at 05:36 PM, Conal Tuohy wrote:
Bill French wrote:
i've been working for a while trying to find the source of a
nasty "too
many open files" error when building lucene indexes using cocoon's
LuceneIndexTransformer on mac os x. just for kicks
perhaps it should. by default mac os x shows:
bash-> ulimit -a
core file size(blocks, -c) 0
data seg size (kbytes, -d) 6144
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files
cocoon-2.1m3 poi block would a) handle a formula for cell content
(but apparently not b) string content starting with a '=').
cocoon-2.1 has fixed b) at the expense or a).
I've submitted a bug for this, including a patch to fix it:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22574
Which build target did you call? "build webapp" (the default one)
includes the creation of JavaDoc, if you have not switched it off in the
build.properties.
Joerg
Scott Warren wrote:
I have downloaded and build the Final 2.1 release and there is no
JavaDoc. Has anyone else had this problem ?
From: Andrew Timberlake <[EMAIL PROTECTED]>
Sonny
Try walking the programming logic. Starting with
org.apache.cocoon.webapps.authentication.acting.LoginAction
and follow how cocoon deals with each step of the process.
One thing to watch out for is when you get code such as
manager.lookup(XXX.
Sonny
Try walking the programming logic. Starting with
org.apache.cocoon.webapps.authentication.acting.LoginAction
and follow how cocoon deals with each step of the process.
One thing to watch out for is when you get code such as
manager.lookup(XXX.Role) this is referencing an Interface to whic
From: Andrew Timberlake <[EMAIL PROTECTED]>
Sonny
I didn't have the answers to your questions immediately but I have done
some digging throught he source code and can hopefully give you a head
start on your understanding...
Andrew, thank you for your time and effort to find the info below for
81 matches
Mail list logo