That depends on the context in which you work: experience, environment,
support. I like the previous comment about it being a change for the
developers' benefit.
As someone working on my own with little contact with other developers, I used
2.1 at a fairly superficial level, without troubling
Suffering great frustration deploying Cocoon 2.2 to Tomcat. Reverted to
the tutorial to check the basics. Hope following notes will help someone
else avoid pain.
Robin
- SUMMARY ---
A. Tutorial page 1. Welcome page has a link to spring bean
which fails if called from
I don't know if this is what you want:
match result.html
- generate
- transform stage 1 // would like stage1.xml?
- transform stage 2
- serialize
A view is one possibility but the url is cumbersome.
Could you do it with two pipelines?
match stage1.xml
- generate
- transform stage 1
-
Martin
Does this help you?
map:parameter name=system-property:file.separator
value={system-property:file.separator}/
Look at
blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/COB-INF
/modules/sitemap.xmap
Robin
-Original Message-
From: news
two different versions of the same artifact? Can anybody
point me to an explanation?
Thanks
Robin Rigby
-Original Message-
From: Robin Rigby [mailto:[EMAIL PROTECTED]
Sent: 26 September 2008 23:29
To: users@cocoon.apache.org
Subject: CookieCreatorAction
I have added
I have added a CookieCreatorAction and a dependency to
cocoon-scratchpad-impl. I get the stack trace below when Jetty starts. Have
I done something wrong, or is there something that needs to be fixed?
Thanks
Robin Rigby
- Stack trace --
2008-09-26 22:45:34.841::WARN
Where do I find docs and / or samples for DAOSecurityHandler and UserDAO,
please?
I am looking for the Java equivalent of the JavaScript
var parser =
cocoon.getComponent(Packages.org.apache.excalibur.xml.dom.DOMParser.ROLE);
and the same for SourceResolver.
Sitemap components seem to get
Here is one way that seems to work. Make a separate set of configuration
for development and the default for production.
\src\main\resources\META-INF\cocoon\properties\config.properties
\src\main\resources\META-INF\cocoon\dev\properties\config.properties
and run during development with
mvn
-Original Message-
From: Robin Rigby [mailto:[EMAIL PROTECTED]
Sent: 03 July 2008 12:23
To: users@cocoon.apache.org
Subject: RE: How to access configuration files and properties after
packaging
Here is one way that seems to work. Make a separate set of configuration
for development
src={path.to.non.war.resources}/{1} /
etc
Robin
-Original Message-
From: Johannes Hoechstaedter [mailto:[EMAIL PROTECTED]
Sent: 03 July 2008 12:45
To: users@cocoon.apache.org
Subject: Re: How to access configuration files and properties after
packaging
Robin Rigby schrieb
The DocBook sample in version 2.2 is the same as in 2.1. You need a pointer
to sdocbook.dtd to make it work. The sample makes this clear and refers to
the version 2.1 documentation which in turn refers to cocoon.xconf and
WEB-INF/classes. These do not appear in a standard block in 2.2.
The 2.2
Hi
To extend this a little further, my main data resource is a largish XML file
which is edited, updated, mainatined by a user, Mary. She works on a local
copy and uploads via plain old FTP. She has _no_ interest in the other
parts of the application.
In 2.1 I was able to make the Cocoon
Updated trunk. Rebuild OK. Then
mvn jetty:run
gives this first
ERROR [main] (ContextLoader.java:214) - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException:
Unexpected exception parsing XML document from ServletContext resource
Is there a way to get a list of Avalon components loaded by Cocoon core,
with their sitemap names? Or should I grep the trunk?
The avalon config files in cocoon-sitemap-components list only modules.
The JavaDoc for SessionPropagatorAction gives type=session-propagator but
I get
cause: Type
and using
components. They are very welcome.
Many thanks
Robin
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: 29 January 2008 21:14
To: users@cocoon.apache.org
Subject: Re: MockLogger configuration
Robin Rigby pisze:
Am I right that the MockLogger
Am I right that the MockLogger delegates to log4j? I get warnings about
configuring log4j.
Where should I put log4j.xconf for testing?
Better, where should I look to find out for myself?
Many thanks
Robin
-
To
Hi
Have written action. Compile OK, Install OK.
Need to test. Found AbstractTestCase in cocoon-sitemap-impl.
How can I add a dependency to my POM that will make AbstractTestCase
available to my test cases? It is not included in
cocoon-sitemap-impl.nnn.jar, is it? So, no kind of
Cocoon 2.2 may be wonderful when you get to know it but meanwhile the
multiple learning curves are tiresome. I mean maven + spring + eclipse +
cocoon.
How do I identify what is missing, here? The third page of the tutorial [3]
works fine. At the top of the next page [4], the web application
Something with an action [1] or XSP action [2]?
generator
transformer A
action
-- transformer B1
-- transformer C
-- serializer
transformer B2
transformer C
serializer
The action analyses the stream from transformer A and returns
action:set-success/ or action:set-failure/. On success, the
I have the same problem. myCocoonWebapp is Ok on its own. The parent POM
fails as described
Robin
-Original Message-
From: tomasz [mailto:[EMAIL PROTECTED]
Sent: 15 November 2007 14:23
To: users@cocoon.apache.org
Subject: webapp maven error
Hello
I tried to prepare application
--
Removed this directory: ~/.m2/repository/org/apache/maven/plugins/ and
repeat mvn install
Gets
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-war-plugin:2.0.2:war': Unable to find the
mojo
I have follwed the Getting Started Guide as far as Using the Reloading
Classloader [1].
I move to getting-started-app/ and invoke
mvn eclipse:eclipse.
I get
Cannot execute mojo: eclipse. It requires a project with an existing
pom.xml, but the build is not using one.
Am I in the
Thank you. It was embarrassingly basic. Not a Cocoon problem. Sorted.
Robin
-Original Message-
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: 02 October 2007 13:00
To: users@cocoon.apache.org
Subject: Re: Very basic problem
On 01.10.2007 9:37 Uhr, Robin Rigby wrote:
I
I am having difficulty with the Cocoon 2.2 trunk. It compiles Ok, as in
README.txt, but does not run. The 'target' folder has no 'cocoon-webapp'
subfolder, just 'classes'.
I have tried removing the .m2 directory and downloading the trunk from
scratch.
C:\trunkmvn -Dmaven.test.skip=true -P
As has already been pointed out, this is incorrect behaviour of Internet
Explorer. The short form script ... / is not valid xhtml. You have to
use script ... /script.HTML is much more tolerant. IE gets
confused between xhtml and HTML.
I had a particular problem with the JavaScript files
Yes. There were a couple of places where Cocoon did not implement functions
required by abstract classes etc. Not too difficult to find out what they
were and add empty functions. Works well now.
Robin
-Original Message-
From: Valentin Jacquemin [mailto:[EMAIL PROTECTED]
Sent: 01
:-) but not everyone chooses to be at the bleeding edge all the time...
Robin
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: 01 August 2007 16:38
To: users@cocoon.apache.org
Subject: Re: cocoon against jdk 6
Robin Rigby pisze:
Yes. There were a couple
Yes, that was the thread I remembered. It needed 'mvn clean' but then it
works OK. Thanks a lot.
Robin
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: 30 July 2007 23:56
To: users@cocoon.apache.org
Subject: Re: Cocoon 2.2: initial build
Robin Rigby
Sorry, I still cannot make this build work.
The Maven 'Hello World' now works OK.
I deleted all the files and downloaded a new snapshot this morning.
I have tried
cd cocoon
mvn -Dmaven.test.skip=true -P allblocks install
mvn -Dmaven.test.skip=true install
cd tools
mvn clean install
I
not know of your other efforts, but
let's start at the beginning:
- Which version of Java are you using?
- Which version of Maven are you using 2.0.x? (2.0.6+ is required)
Kind regards,
Jeroen Reijn
Robin Rigby wrote:
Sorry, I still cannot make this build work.
The Maven 'Hello World' now works OK
: 30 July 2007 18:54
To: users@cocoon.apache.org
Subject: Re: Cocoon 2.2: initial build
Robin Rigby pisze:
Sorry, I still cannot make this build work.
The Maven 'Hello World' now works OK.
What Maven Hello World?
I deleted all the files and downloaded a new snapshot this morning.
I have
list:
Cannot load 'resource://org/apache/cocoon/cocoon.roles'
Thanks
Robin
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: 30 July 2007 19:41
To: users@cocoon.apache.org
Subject: Re: Cocoon 2.2: initial build
Robin Rigby pisze:
Hi Grzegorz
It's
Hi
I have downloaded Cocoon 2.2 and Maven; got Maven working. Following
readme.txt, I run
mvn -Dmaven.test.skip=true -P allblocks install
which gives a few different failures, then one that repeats, so
cd tools
mvn clean install
and I get more failures and one that repeats. Details
I had a similar thing a month or two ago.
I spent a lot of time looking in vain for a classloader leak. It turned out
Cocoon needs more memory (on my system) than the Tomcat default.
Have you tried making more memory available to Tomcat? I added memory
options to the script that launches
@cocoon.apache.org
Subject: Re: may not be this project's POM
Robin Rigby pisze:
Yes, Firefox and IE both read it OK. I still get the 403 error with wget
and, of course, with Maven.
Is there a way to save it and configure Maven to use it locally? Or
should
I go look for a Maven mailing list?
You could
configured a mirror that doesn't have that pom. A good thing to do
here is to check manually if your repo actually has that file.
Sorry, I only downloaded maven today and the readme lets me believe it
should compile 'out out the box'. What should I do, please?
Thanks in advance.
Robin Rigby
Grzegorz
Can you recommend a tutorial or other info for prefix-independent XSLT?
Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk
07785 765017
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: 18 July 2007 13:51
To: users@cocoon.apache.org
Thanks. That is how I understood it. I had not seen the term
'prefix-independent' before.
Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk
07785 765017
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: 18 July 2007 19:32
To: users
]
Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk
07785 765017
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: 18 July 2007 19:24
To: users@cocoon.apache.org
Subject: Re: may not be this project's POM
Robin
Yes, Firefox and IE both read it OK. I still get the 403 error with wget
and, of course, with Maven.
Is there a way to save it and configure Maven to use it locally? Or should
I go look for a Maven mailing list?
Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk
07785 765017
Kai
Looks good but where does the new special FopSerializer come from?
Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk
07785 765017
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 16 July 2007 16:18
To: users@cocoon.apache.org
Subject: RE
.
The result I want, of course, is
pClick the a href=page.htmllink/a/p
Thanks
Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk
07785 765017
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Is there an input module (or anything else) that would retrieve the user id
from a Tomcat Realm (j_security_check)?
Many thanks
Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk http://www.gondolier.org.uk/
07785 765017
a single solution based on
criteria that may not be general enough. As a beginner and a serious
student, I would like to see the options, understand the pros and cons,
choose one for myself.
Robin Rigby
-Original Message-
From: Reinhard Haller [mailto:[EMAIL PROTECTED]
Sent: 01 June
virtual hosts in Tomcat but use one instance of the cocoon code
for all of them.
3. Copy the cocoon code to each virtual host.
Option 1 looks wrong. Option 3 looks very cumbersome.
Question: can I get away with option 2?
What is the best practice here?
Many thanks
Robin Rigby
[EMAIL
To: users@cocoon.apache.org
Subject: Re: Instances and sessions
Robin Rigby wrote:
I have several virtual hosts working with HostSelector, all on the
same instance of cocoon in Tomcat 5.5. I am getting naming conflicts
between session variables with the same name in different virtual hosts
46 matches
Mail list logo