Re: authentication framework problem

2012-07-25 Thread Lars Huttar
On 7/24/2012 10:05 AM, Lars Huttar wrote: On 7/24/2012 9:58 AM, Lars Huttar wrote: I wonder if auth is the same as CAuth, which I think refers to org.apache.cocoon.auth package. [0] But I haven't yet found documentation on how to use this package in Cocoon 2.1.11; only JavaDoc pages

Re: authentication framework problem

2012-07-24 Thread Lars Huttar
On 7/23/2012 5:27 PM, Lars Huttar wrote: Another angle: in the deprecation.log, I get WARN (2012-07-23) 16:22.48:459 [deprecation] (/mount/ethnologue-17-pub/dataset/country-header/-/-/source) catalina-exec-5/Deprecation.LoggerWrapper: The authentication-fw block is deprecated. Please

authentication framework problem

2012-07-23 Thread Lars Huttar
Hi all, I'm trying to get authentication working in Cocoon 2.1.11. Everything that I've been able to examine is working correctly, but instead of letting certain people in, it just keeps everybody out (and shows the redirect-to page). Here's my handler configuration:

Re: authentication framework problem

2012-07-23 Thread Lars Huttar
On 7/23/2012 12:37 PM, Lars Huttar wrote: Hi all, I'm trying to get authentication working in Cocoon 2.1.11. Everything that I've been able to examine is working correctly, but instead of letting certain people in, it just keeps everybody out (and shows the redirect-to page). Here's my

Re: c3: null pointer exception in ResponseHeaderCollector.isModifiedResponse

2012-03-26 Thread Lars Huttar
On 3/26/2012 9:49 AM, Francesco Chicchiriccò wrote: On 26/03/2012 16:42, Lars Huttar wrote: I sent this email at the start of the weekend, so it may not have been seen much. However the NPE is blocking progress, so I'd like to see if anyone can help me with it. Anybody have ideas? Lars

Re: mvn clean install failure: Could not resolve dependencies

2012-03-23 Thread Lars Huttar
On 3/23/2012 7:49 AM, Francesco Chicchiriccò wrote: Change this to repositories repository idmaven2-repository.java.net/id nameJava.net Repository for Maven/name urlhttp://download.java.net/maven/2//url layoutdefault/layout /repository repository idapache.snapshots/id nameApache Snapshot

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-23 Thread Lars Huttar
On 3/23/2012 7:33 AM, Francesco Chicchiriccò wrote: On 22/03/2012 17:03, Lars Huttar wrote: As so often happens, asking for help generated some further thoughts and I was able to get things working better. Although I had added a COB-INF/sitemap.xmap to src in my block (e-17-pub/src/main

Re: mvn clean install failure: Could not resolve dependencies

2012-03-23 Thread Lars Huttar
On 3/23/2012 7:49 AM, Francesco Chicchiriccò wrote: It seems that maven is trying to download cocoon artifacts from java.net (http://download.java.net/maven/2/) maven repository where, of course, they are not available. This is happening because you probably have, at the end of

c3: null pointer exception in ResponseHeaderCollector.isModifiedResponse

2012-03-23 Thread Lars Huttar
Hello, I'm attempting to port our Cocoon 2.1.11 sitemap to C3, little by little. So far I have gotten a very simple pipeline to work: map:match pattern=test.html map:read src=test.html / /map:match Hooray! However when I get a little more complicated, I get an exception: !-- {map:1} = generator

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Lars Huttar
wrote: On 21/03/2012 21:09, Lars Huttar wrote: [...] Thank you, that is definitely clearer. So I do my development in blocks, not in the webapp; the webapp is for packaging for external deployment. The one thing I'm not clear on, then, is this part of your instructions: (http://markmail.org

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Lars Huttar
this happening? Thanks again! Lars On 3/22/2012 10:54 AM, Lars Huttar wrote: Francesco, Thanks for your patience. I feel like I'm very close, but I apparently still don't have some of the concept understood correctly, because things are not working for me. [snip] Notice that the base URL

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Lars Huttar
On 3/22/2012 11:09 AM, Robby Pelssers wrote: In the root of your project folder you will see a rcl.properties file looking sth like this: #com.nxp.spider2.shared.service%classes-dir=./target/classes Just comment it out and this will tell the reloading classloader to reload files from the

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-22 Thread Lars Huttar
: Unless you changed the spring application context that is auto-generated using the cocoon block archetype you should use: http://localhost:/mysite/test.html Robby *From:*Lars Huttar [mailto:lars_hut...@sil.org] *Sent:* Thursday, March 22, 2012 4:55 PM *To:* users@cocoon.apache.org *Cc

maven problem with https: RSA premaster secret error

2012-03-22 Thread Lars Huttar
Hi all, I'm sorry if this is off-topic, but I've googled the maven mailing lists for this and found nothing. (http://maven.markmail.org/search/?q=rsa+premaster+secret+error) I was able to run maven (and thus use C3) on my development desktop machine (running Windows 7). But when I tried

SOLVED (Re: maven problem with https: RSA premaster secret error)

2012-03-22 Thread Lars Huttar
. Regards, Lars On 3/22/2012 12:24 PM, Lars Huttar wrote: Hi all, I'm sorry if this is off-topic, but I've googled the maven mailing lists for this and found nothing. (http://maven.markmail.org/search/?q=rsa+premaster+secret+error) I was able to run maven (and thus use C3) on my development

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Lars Huttar
On 3/21/2012 4:03 AM, Robby Pelssers wrote: Hi Lars, Hi, thanks for responding, and sharing details about your setup. Can you explain what is the difference between mysite and mywebapp? No, that's really something I need explained to me... I was following Francesco's directions in this

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Lars Huttar
On 3/21/2012 4:03 AM, Robby Pelssers wrote: Hi Lars, Can you explain what is the difference between mysite and mywebapp? OK, I think I understand now. From Francesco's email today [1], I understand that mysite (a Cocoon block) is where I do actual development -- such blocks are where the

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Lars Huttar
On 3/21/2012 5:27 AM, Francesco Chicchiriccò wrote: On 20/03/2012 22:55, Lars Huttar wrote: On 3/20/2012 4:35 PM, Lars Huttar wrote: On 3/8/2012 3:49 AM, Francesco Chicchiriccò wrote: C) If you want to develop a complete C3 web application You need to generate a multimodule maven project [2

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-21 Thread Lars Huttar
Hi Robby, We have about 12-14 production intranet web apps (as we call them -- not in the maven or C3 sense of webapp), which are all running under a single instance of Cocoon 2.1.11 under Tomcat 7. Most of them access a SQL Server database on the back end; some also access a remote Oracle

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-20 Thread Lars Huttar
On 3/8/2012 3:49 AM, Francesco Chicchiriccò wrote: C) If you want to develop a complete C3 web application You need to generate a multimodule maven project [2] with the following structure: myparent/ mysite/ mywebapp/ Basically, you will need this when either having multiple blocks

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-20 Thread Lars Huttar
On 3/20/2012 4:35 PM, Lars Huttar wrote: On 3/8/2012 3:49 AM, Francesco Chicchiriccò wrote: C) If you want to develop a complete C3 web application You need to generate a multimodule maven project [2] with the following structure: myparent/ mysite/ mywebapp/ Basically, you

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-16 Thread Lars Huttar
On 3/16/2012 4:01 AM, Francesco Chicchiriccò wrote: Lars, you are right: first of all, yesterday I've fixed some minor errors on C3 archetypes; moreover, there are some errors in the instructions C reported below. Basically, once you've generated all projects and indicated below, you have

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-16 Thread Lars Huttar
On 3/16/2012 11:49 AM, Lars Huttar wrote: Francesco, after following the updated instructions (including starting over from scratch), I'm still getting an error... C:\Users\HuttarL\Documents\work\c3\theParent\theWebappmvn jetty:run ... [ERROR] Failed to execute goal on project theWebapp

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-16 Thread Lars Huttar
On 3/16/2012 11:53 AM, Francesco Chicchiriccò wrote: On 16/03/2012 17:49, Lars Huttar wrote: Francesco, after following the updated instructions (including starting over from scratch), I'm still getting an error... Lars, my bad: take my last e-mail and change mvn clean package with mvn

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-15 Thread Lars Huttar
Francesco, I've been following your instructions below, starting from C). It all seems to work well, but when I get down to mvn jetty:run, I get the following error: [ERROR] Failed to execute goal org.mortbay.jetty:maven-jetty-plugin:6.1.26:run ( default-cli) on project theWebapp: Webapp

Re: parent of parent artifact?

2012-03-09 Thread Lars Huttar
Thorsten, Thanks for this helpful reply. One follow-up question below... On 3/8/2012 3:32 PM, Thorsten Scherler wrote: On 03/08/2012 10:09 PM, Lars Huttar wrote: Thanks, that's very helpful! We have a lot of what we call applications that run side-by-side under a single Cocoon 2 instance

Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]

2012-03-08 Thread Lars Huttar
Thank you both, Francesco and Robby. I will be looking through these two sets of instructions (hopefully not too contradictory! :-) and will be back with questions I'm sure. The attention to helping users is much appreciated! Lars

Re: parent of parent artifact?

2012-03-08 Thread Lars Huttar
Thanks for this... I see that relative to the instructions I've been following, it eliminates creating a samples block, and optionally a parent block. It also makes clearer that the Cocoon block and webapp I create do not need to (should not) go in the same tree as the archetypes I installed,

Re: parent of parent artifact?

2012-03-08 Thread Lars Huttar
Thanks, that's very helpful! We have a lot of what we call applications that run side-by-side under a single Cocoon 2 instance. They each live under a separate subfolder (child of mount/) under the main Cocoon sitemap. Each application has its own sitemap. It sounds like these applications

parent of parent artifact?

2012-03-07 Thread Lars Huttar
Hi all, Again, I'm following the directions at http://cocoon.apache.org/3.0/download.html to create a new Cocoon 3 web application. I've created a Cocoon block for samples, an empty block, an empty Java web app project (which depends on the cocoon block), and a parent module. Next, I cd to

Re: parent of parent artifact?

2012-03-07 Thread Lars Huttar
think you need to checkout the archetypes first of all. They are projects which allow you to easily generate some kind of stub webapp project using maven. What did you checkout from SVN in the first place? Complete trunk? Robby -Original Message- From: Lars Huttar [mailto:lars_hut

Re: parent of parent artifact?

2012-03-07 Thread Lars Huttar
That would be very helpful. I will eagerly await it. Lars On 3/7/2012 11:08 AM, Robby Pelssers wrote: If I have some time tomorrow I will update trunk here as well and try to setup simple C3 project while documenting exactly how I did it. Robby

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Lars Huttar
Jos, thanks for these helpful instructions! I will create a sitemap at src/main/resources/COB-INF/sitemap.xmap and see how far that gets me. I agree, it would be very helpful to have a tutorial for newbies! I'll be happy to make a contribution. Lars On 3/2/2012 12:47 AM, Jos Snellings

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Lars Huttar
Simone, The development work done on Cocoon is very much appreciated. Last summer, I did a reevaluation of Cocoon for a company project, after our using it for several years. I came close to switching to another framework, mainly because of the slow pace of development and low activity on

How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-01 Thread Lars Huttar
Hello, We've been Cocoon 2.1.* users for years. We're now trying to shift to the Cocoon 3 way of doing things. I barely understand Maven, but I'm willing to learn. I've installed Cocoon 3, and can run a sample. But now I'm having trouble figuring out how to build my own hello world web

Re: database access in Cocoon 3?

2011-08-22 Thread Lars Huttar
On 8/2/2011 3:53 AM, Thorsten Scherler wrote: On Thu, 2011-07-28 at 11:47 -0500, Lars Huttar wrote: On 7/28/2011 2:26 AM, Francesco Chicchiriccò wrote: On 28/07/2011 00:32, Lars Huttar wrote: Hello, In the past (Cocoon 2.1) we used XSP pages for database queries to return results as XML

Re: database access in Cocoon 3?

2011-08-16 Thread Lars Huttar
12:39 AM, Nathaniel, Alfred wrote: Please open the issue under https://issues.apache.org/jira/browse/COCOON3 since the COCOON project in JIRA is for C2 related issues. Cheers, Alfred. -Original Message- From: Lars Huttar [mailto:language-maps_i...@sil.org] Sent: Freitag, 5. August

Re: database access in Cocoon 3?

2011-08-04 Thread Lars Huttar
On 8/1/2011 2:03 PM, Simone Tripodi wrote: Hi guys!!! would you mind to fill an Issue on Cocoon bug tracker for this feature request? Many thanks in advance, have a nice day!!! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ I didn't realize I could do this! Here's the

Re: C3 alpha-3 mvn dependency error: cocoon-optional

2011-07-28 Thread Lars Huttar
Francesco, thanks for your helpful replies. More below... On 7/28/2011 2:20 AM, Francesco Chicchiriccò wrote: This problem - wrong version for cocoon-optional in cocoon-archetype-sample pom.xml - has already been fixed in version beta-1-SNAPSHOT. Thanks anyway for reporting - and good fix ;-)

Re: [C3] Cocoon3 beta-1-SNAPSHOTs available

2011-07-28 Thread Lars Huttar
On 7/1/2011 2:19 AM, Francesco Chicchiriccò wrote: On 30/06/2011 18:55, Andre Juffer wrote: Simo, how much of Cocoon 2.2's functionality is still available in Cocoon 3. Using sitemaps in the 2.2 way is actually rather convenient in a number of cases. I assume that this all is still possible

Re: database access in Cocoon 3?

2011-07-28 Thread Lars Huttar
On 7/28/2011 2:26 AM, Francesco Chicchiriccò wrote: On 28/07/2011 00:32, Lars Huttar wrote: Hello, In the past (Cocoon 2.1) we used XSP pages for database queries to return results as XML for processing in Cocoon pipelines. Looking toward the future with 2.2 and beyond, we saw that XSP

Re: C3 alpha-3 mvn dependency error: cocoon-optional

2011-07-27 Thread Lars Huttar
On 7/27/2011 2:16 PM, Lars Huttar wrote: I looked at the suggestions at http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException but nothing seems applicable to our situation. Note that I'm new to maven, so I'm trying to learn it in order to be able to work

Re: C3 alpha-3 mvn dependency error: cocoon-optional

2011-07-27 Thread Lars Huttar
On 7/27/2011 2:16 PM, Lars Huttar wrote: But then when I try to After running the archetype plugin, change to the base directory of the new module and enter 'mvn jetty:run', I get an error, [ERROR] Failed to execute goal on project C3samples: Could not resolve dependencies for project

Re: C3 alpha-3 mvn dependency error: cocoon-optional

2011-07-27 Thread Lars Huttar
On 7/27/2011 3:06 PM, Lars Huttar wrote: Now I'm really in over my head. Searching at http://search.maven.org/#search|ga|1|a%3A%22jersey%22 the only artifact there named jersey is from group com.cedarsoft.rest, which also has an artifact named server. Could the project have split jersey

database access in Cocoon 3?

2011-07-27 Thread Lars Huttar
Hello, In the past (Cocoon 2.1) we used XSP pages for database queries to return results as XML for processing in Cocoon pipelines. Looking toward the future with 2.2 and beyond, we saw that XSP pages were deprecated, so we started using SQL transformer instead. With Cocoon 3.0, is the SQL

Re: Pls Help - Serializing images returned from web services

2011-07-15 Thread Lars Huttar
We have not developed such a class, but have sometimes wished we had one. E.g. we take XML as input, and need a PDF as output. Lars On 7/15/2011 1:46 PM, insigh...@gmail.com wrote: Jasha, I'm including the charts in a fo2pdf serializer, using cinclude transformer to get the chart. I

Re: Cocoon 3 - no conditional pipelines?

2011-07-12 Thread Lars Huttar
On 7/12/2011 3:39 AM, Francesco Chicchiriccò wrote: Lars, a brief outlook to the docbook source of the page [1] svn info http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-docs/src/docbkx/reference/pipelines.xml states that this document was last modified by Reinhard in January

Re: Cocoon 3 - no conditional pipelines?

2011-07-12 Thread Lars Huttar
On 7/12/2011 12:09 PM, Steven Dolg wrote: Am 12.07.2011 10:39, schrieb Francesco Chicchiriccò: ... I became member of the PMC more than one year afterwards, so I cannot be completely sure. but I can suppose that the documentation is simply outdated since: 1. there are no issues on JIRA

Re: [ANNOUNCE] Apache Cocoon 3.0.0-alpha-3 released!

2011-07-11 Thread Lars Huttar
On 7/1/2011 4:35 AM, Simone Tripodi wrote: The Apache Cocoon 3 team is pleased to announce the Apache Cocoon 3.0.0-alpha-3 release! ... Is there any direction on how to install or run this release? Can we still use declarative XML sitemaps, or do sitemaps have to be written in Java? Are there

Re: [ANNOUNCE] Apache Cocoon 3.0.0-alpha-3 released!

2011-07-11 Thread Lars Huttar
On 7/11/2011 2:20 PM, Lars Huttar wrote: On 7/1/2011 4:35 AM, Simone Tripodi wrote: The Apache Cocoon 3 team is pleased to announce the Apache Cocoon 3.0.0-alpha-3 release! ... Is there any direction on how to install or run this release? Can we still use declarative XML sitemaps, or do

Re: XSLT document(), logging URI resolver

2010-07-02 Thread Lars Huttar
Hi everybody, Just FYI, the problem was not with Cocoon, nor with Saxon. The problem was a bug in the implementation of Schematron that I was using, that affected the iso:include element, when the href attribute had no '#' in it. The latest version of this implementation does not have this bug.

Re: XSLT document(), logging URI resolver

2010-06-30 Thread Lars Huttar
PM, Lars Huttar wrote: Hello, I'm wrestling with the following in Cocoon 2.1.11. I have an XSLT that uses document() to retrieve a source document other than the one coming through the pipeline. I remember that the use of document() isn't encouraged in Cocoon, at least because Cocoon

Re: XSLT document(), logging URI resolver

2010-06-30 Thread Lars Huttar
On 6/30/2010 10:45 AM, Lars Huttar wrote: On 6/29/2010 10:08 PM, Jos Snellings wrote: Hi Lars, I would say that the reference URI is the one of the xslt script itself. Jos, thanks for your reply. Why do you think that the reference (base) URI would be the URI of the XSLT stylesheet

XSLT document(), logging URI resolver

2010-06-29 Thread Lars Huttar
Hello, I'm wrestling with the following in Cocoon 2.1.11. I have an XSLT that uses document() to retrieve a source document other than the one coming through the pipeline. I remember that the use of document() isn't encouraged in Cocoon, at least because Cocoon then doesn't know when to

java.net.MalformedURLException: BaseURI is not valid, it must contain a protocol

2010-06-08 Thread Lars Huttar
Hi all, I'm using the validation transformer (...) in Cocoon 2.1.11, with Relax NG schemas. Here's the relevant portion of the sitemap: ... I have three rng's, all in the same folder, each of which includes the previous one. I.e. metamodel-rnf.rng has include href=metamodel-fnf.rng and

Re: java.net.MalformedURLException: BaseURI is not valid, it must contain a protocol

2010-06-08 Thread Lars Huttar
Oops, On 6/8/2010 1:16 PM, Lars Huttar wrote: Hi all, I'm using the validation transformer (...) in Cocoon 2.1.11, with Relax NG schemas. I meant (validation-report). Here's the relevant portion of the sitemap: Here it is: !-- validate the output of a URL against an RNG

Re: trouble with ValidationReportTransformer

2010-05-25 Thread Lars Huttar
On 5/25/2010 2:07 PM, Lars Huttar wrote: ... Maybe I can work around the problem by specifying the grammar explicitly, instead of relying on the component to guess the grammar (RNG). However, none of the samples in the Cocoon sample block show how to do this. The Cocoon top-level sitemap

Re: Cannot make Views work

2009-11-18 Thread Lars Huttar
Hi Will, I agree the documentation is not in an admirable state of consistency and completeness. It would be great if somebody could edit it to tell the user where map:views goes in the sitemap. Probably the most helpful thing you may not have processed in the documentation is the allusion to the

Re: using Cocoon for on-the-fly minification?

2009-09-21 Thread Lars Huttar
Didn't see this message until just now... On 9/15/2009 2:46 PM, Jeroen Reijn wrote: I wrote a small reader, which uses JSMin for minification of javascript files. I've written a blogpost[1] about this reader or you can get the source directly from [2]. Since I did not find a proper place for

Re: using Cocoon for on-the-fly minification?

2009-09-21 Thread Lars Huttar
On 9/21/2009 8:31 AM, Lars Huttar wrote: Didn't see this message until just now... On 9/15/2009 2:46 PM, Jeroen Reijn wrote: I wrote a small reader, which uses JSMin for minification of javascript files. I've written a blogpost[1] about this reader or you can get the source directly from

Re: using Cocoon for on-the-fly minification?

2009-09-09 Thread Lars Huttar
Kamal, Thanks for this reply. Since writing my original post, I tried subclassing ResourceReader to create MinifyingReader, but I just don't have the Java Cocoon knowledge to make it work. Also it seemed like YUI compressor is designed mainly to be command-line driven rather than driven by a Java

Re: Proposal - JS Reader

2009-09-09 Thread Lars Huttar
This is a reply to an old thread that I just learned about: On Wed, 13 Aug 2008 09:42:42 -0700 Mark Lundquist wrote: I guess a JS reader could be helpful for applications where all resources are served directly by raw Cocoon, i.e. if any compression is to be done then Cocoon has to do it. But

Re: using Cocoon for on-the-fly minification?

2009-09-09 Thread Lars Huttar
, but it would be better if you could compress it on build time. Next to that the yui compressor comes with it's own version if rhino, which might conflict with the one that comes with Cocoon. I'll try to find some code example. Regards, Jeroen Lars Huttar wrote: Hello, Has anyone successfully

using Cocoon for on-the-fly minification?

2009-09-04 Thread Lars Huttar
Hello, Has anyone successfully configured Cocoon to do on-the-fly minification of js and/or CSS? There are good java-based minifiers out there, such as Dojo ShrinkSafe and YUI Compressor. http://developer.yahoo.com/yui/compressor/ http://dojotoolkit.org/docs/shrinksafe Both use Rhino, which

Re: adding expires headers with cocoon

2009-09-04 Thread Lars Huttar
On 8/7/2009 5:45 AM, Robby Pelssers wrote: Hi guys, I’m building a new cocoon app (cocoon2.2) and performance really comes into play so after reading http://developer.yahoo.com/performance/rules.html I’m trying to get an A-grade for all rules ;-) Now I’m focusing on “Add an

Microsoft SQL Server JDBC Driver 2.0

2009-04-17 Thread Lars Huttar
At http://blogs.msdn.com/jdbcteam/archive/2009/04/03/announcing-microsoft-sql-server-jdbc-driver-2-0.aspx Microsoft JDBC team writes, Announcing Microsoft SQL Server JDBC Driver 2.0 We are excited to announce the newest release of the Microsoft SQL Server JDBC Driver 2.0! This version of

lastModified value is wrong in DirectoryGenerator

2008-11-20 Thread Lars Huttar
In Cocoon 2.1.7, we are using DirectoryGenerator (http://cocoon.apache.org/2.1/userdocs/directory-generator.html) and using the lastModified time of each file to color-code the files by age. But we've been seeing very strange behavior, and it boils down to the fact that the last-modified-time

Re: lastModified value is wrong in DirectoryGeneratorLink to this message

2008-11-20 Thread Lars Huttar
(Sorry I can't directly 'reply' to Grzegorz' message... I don't seem to be receiving the emails even though I'm subscribed.) Lars Huttar pisze: In Cocoon 2.1.7, we are using DirectoryGenerator (http://cocoon.apache.org/2.1/userdocs/directory-generator.html) and using the lastModified time

Re: How to stop validating the XML output

2008-09-04 Thread Lars Huttar
On 7/10/2008 5:20 PM, Leonid Geller wrote: Does anyone know if there is an easy way to tell cocoon to stop validating the transformed XML output for correctness? E.g. I intentionally want to not close some element tags. If possible, I would like to do this for only for some (limited number of)

Intel XML software suite

2008-06-06 Thread Lars Huttar
Hello, Has anybody tried Intel's XML software suite (http://www.intel.com/cd/software/products/asmo-na/eng/366637.htm) with Cocoon? Is it as easy as dropping in a jar file, as with Xalan, Xerces, or Saxon? Do you have any performance metrics to share? Thanks, Lars

CASifying Cocoon apps?

2008-05-28 Thread Lars Huttar
Hello, We are being asked to start using CAS (http://www.ja-sig.org/products/cas/) for authentication for our Cocoon-based intranet apps. We see real benefits to be had with CAS over the current system, but we haven't been able to find evidence of anyone else having integrated Cocoon with

Re: SQL Server 2005?

2008-05-15 Thread Lars Huttar
On 9/21/2006 4:15 PM, Lars Huttar wrote: Hello, Does anyone have Cocoon connecting successfully to SQL Server 2005? We've been using Cocoon for quite some time (currently 2.1.7) with SQL Server 2000. Now I've been trying to switch to 2005 and Cocoon keeps giving an error ERROR (2006-09-21

Re: recommended way to keep local config modifications separate from Cocoon distributions

2007-10-01 Thread Lars Huttar
On 9/28/2007 5:27 PM, Grzegorz Kossakowski wrote: Lars Huttar pisze: Understandable... but that doesn't sound like a beta release to me, if it was never announced as such. Not to be critical ... I'm just trying to gauge the risk factor of diving into Cocoon 2.2 for our production apps

Re: recommended way to keep local config modifications separate from Cocoon distributions

2007-09-28 Thread Lars Huttar
On 9/27/2007 8:21 PM, Joerg Heinicke wrote: On 27.09.2007 18:17 Uhr, Lars Huttar wrote: I see a lot of questions and bug reports about 2.2; but I suppose that's to be expected from a mailing list. Was there ever an announcement of 2.2RC1 being released? (I see a lot of discussion about

Re: recommended way to keep local config modifications separate from Cocoon distributions

2007-09-27 Thread Lars Huttar
Grzegorz, thanks for your reply. On 9/26/2007 3:27 PM, Grzegorz Kossakowski wrote: Lars Huttar pisze: I appreciate the recommendation. I will be interested to look into Cocoon 2.2. However, production applications for our organization are running on Cocoon. Can I justify the risk of using

Re: recommended way to keep local config modifications separate from Cocoon distributions

2007-09-26 Thread Lars Huttar
On 9/25/2007 3:39 PM, Bertrand Delacretaz wrote: On 9/24/07, Lars Huttar [EMAIL PROTECTED] wrote: ...What is the recommended way to keep local configuration changes separate from changes in the distribution? Does the method described at http://cocoon.zones.apache.org/daisy/cocooninaction/14

Re: recommended way to keep local config modifications separate from Cocoon distributions

2007-09-26 Thread Lars Huttar
On 9/25/2007 3:18 PM, Grzegorz Kossakowski wrote: Lars Huttar pisze: Hello, We've been using Cocoon for a few years now. We've made lots of our own modifications to cocoon.xconf (and the top-level sitemap). Now whenever we want to update Cocoon, the changes to cocoon.xconf from the update

recommended way to keep local config modifications separate from Cocoon distributions

2007-09-24 Thread Lars Huttar
Hello, We've been using Cocoon for a few years now. We've made lots of our own modifications to cocoon.xconf (and the top-level sitemap). Now whenever we want to update Cocoon, the changes to cocoon.xconf from the update are very difficult to merge with our own changes without breaking Cocoon.

Re: 2 XSLT transformations in one pipeline

2007-03-29 Thread Lars Huttar
The problem could be in the pipeline(s) referenced by the cinclude. Does the cinclude step output XML or something else? Also, does in output well-formed XML (e.g., only one root element)? Just a guess... Lars On 3/29/2007 10:44 AM, Winona Salesky wrote: Hi, I'm trying to run a pipline that

Re: Transform the output of the ValidationReportTransformers in XSL

2007-03-26 Thread Lars Huttar
On 3/26/2007 9:47 AM, [EMAIL PROTECTED] wrote: Hi, I am having a problem that is totally driving me nuts (Cocoon 2.1.10): I am using the ValidationReportTransformer to create a report why a validation of an xml-document failed. I nicely outputs a report with a nice little xmlns attribute

Re: AW: Transform the output of the ValidationReportTransformers in XSL

2007-03-26 Thread Lars Huttar
On 3/26/2007 10:33 AM, [EMAIL PROTECTED] wrote: Hi Reinhard, No offence, but this looks really ugly ... what is the intention of generating output that requires that type of hack? The thing you find ugly, apparently, has to do with how XSLT operates on namespaces. So blame the W3C XSLT

Re: Mapping favicon

2007-01-29 Thread Lars Huttar
On 1/29/2007 12:47 PM, Manuel Mata wrote: Hi all. I want to put a favicon on my application which is under abc context, so when i write http://localhost:/abc/; it put my icon on the left of the url if you use Firefox ( i think you know what i mean). I matched it with this code on my

Re: parameters for wsproxy, or generators in general

2007-01-29 Thread Lars Huttar
On 1/29/2007 12:32 PM, Jeroen Reijn wrote: Hi Lars, I'm not familiar with the WSProxy generator, but I'll try to help out as much as possible. Lars Huttar wrote: Hello, The doc page for Web Services Proxy, http://cocoon.apache.org/2.1/userdocs/wsproxy-generator.html, says If the remote

Re: HTML Generator/proxy using POST method

2007-01-29 Thread Lars Huttar
On 10/28/2006 3:28 AM, Geert Josten wrote: Hi Tal, You can use the cinclude transformer with elaborate syntax to perform more complex HTTP requests. cinclude:includexml cinclude:src {url you want to access} /cinclude:src cinclude:configuration

Re: [Fwd: Re: parameters for wsproxy, or generators in general]

2007-01-29 Thread Lars Huttar
. Unfortunately, I haven't been involved with the project for quite some time -- perhaps you can offer someone a cookie to add it to the generator :) Regards, Tony Collen On 1/29/07, Lars Huttar [EMAIL PROTECTED] wrote: Hello, Sorry to bother you with a direct question about code you worked on as much as 5

parameters for wsproxy, or generators in general

2007-01-26 Thread Lars Huttar
Hello, The doc page for Web Services Proxy, http://cocoon.apache.org/2.1/userdocs/wsproxy-generator.html, says If the remote site requires authentication, then the developer of the local web site has to pass the user credentials as parameters to the WebServiceProxyGenerator. I've searched

Re: Running Cocoon in debugger

2007-01-05 Thread Lars Huttar
On 1/4/2007 3:31 PM, Mark Lundquist wrote: On Jan 4, 2007, at 1:28 PM, Lars Huttar wrote: [snipped] When this is all over, you will be well-qualified to write the Debugging Cocoon Applications in Eclipse on Windows document :-) By the way, where should I write this? I was going to start

Re: Running Cocoon in debugger

2007-01-05 Thread Lars Huttar
On 1/5/2007 9:44 AM, Lars Huttar wrote: On 1/4/2007 3:31 PM, Mark Lundquist wrote: On Jan 4, 2007, at 1:28 PM, Lars Huttar wrote: [snipped] When this is all over, you will be well-qualified to write the Debugging Cocoon Applications in Eclipse on Windows document :-) By the way, where

Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
Hello, I'm trying to run Cocoon in a debugger, as is often suggested in answers to queries on this list. The instructions I've found are at [1] and [2]. Nothing I've tried works. I'd appreciate any help. (FYI: I'm using Windows XP, Cocoon 2.1.7, and Tomcat 5.5.9.) Method (1): using Jetty The

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 8:19 AM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): Hello, I'm trying to run Cocoon in a debugger, as is often suggested in answers to queries on this list. The instructions I've found are at [1] and [2]. Nothing I've tried works. I'd appreciate any help. (FYI: I'm

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 10:47 AM, Bertrand Delacretaz wrote: On 1/4/07, Lars Huttar [EMAIL PROTECTED] wrote: ...Method (1): using Jetty The first method, cocoon.bat servlet-debug (as recommended in [1]), appears to start OK. But when you try to browse to http://localhost:8000/, the browser gives the error

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 12:26 PM, Mark Lundquist wrote: On Jan 4, 2007, at 7:49 AM, Lars Huttar wrote: If I don't find a solution for debugging with Jetty, I may try Eclipse as you suggest. NB we are actually talking about Eclipse either way... the distinction IIUC is just between two different types

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
P.S... On 1/4/2007 12:03 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): On 1/4/2007 8:19 AM, Grzegorz Kossakowski wrote: Thanks for your quick reply. You are right of course about the port number. However the :8000 was just an email typo. When browsing to http://localhost:

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
ran Cocoon successfully again. On 1/4/2007 2:23 PM, Mark Lundquist wrote: On Jan 4, 2007, at 11:35 AM, Lars Huttar wrote: 09:42:46.355 WARN!! org.mortbay.util.MultiException[org.xml.sax.SAXParseException: Document root element web-app, must match DOCTYPE root null

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 2:56 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): Lars Huttar napisał(a): I have the first but not the second: 09:42:46.355 EVENT Started SocketListener on 0.0.0.0: 09:42:46.355 WARN!! org.mortbay.util.MultiException[org.xml.sax.SAXParseException: Document root

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:18 PM, Mark Lundquist wrote: On Jan 4, 2007, at 1:02 PM, Lars Huttar wrote: Anyway, I've now got Jetty/Cocoon successfully running with cocoon servlet-debug. However, when I try connecting to them remotely with a debugger (jdb or Eclipse), it fails. (1) Trying with jdb: C

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:33 PM, Grzegorz Kossakowski wrote: Mark Lundquist napisał(a): On Jan 4, 2007, at 1:28 PM, Lars Huttar wrote: [snipped] When this is all over, you will be well-qualified to write the Debugging Cocoon Applications in Eclipse on Windows document :-) +1

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:28 PM, Lars Huttar wrote: On 1/4/2007 3:18 PM, Mark Lundquist wrote: On Jan 4, 2007, at 1:02 PM, Lars Huttar wrote: Anyway, I've now got Jetty/Cocoon successfully running with cocoon servlet-debug. However, when I try connecting to them remotely with a debugger (jdb or Eclipse

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:32 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): When I click the Debug button, I get a dialog saying, Errors exist in required project(s): Apache cocoon. Continue launch? I click Yes, and after a moment of Establishing connection..., I get: Exception occurred

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:47 PM, Lars Huttar wrote: On 1/4/2007 3:32 PM, Grzegorz Kossakowski wrote: Doh! What these entries come from? :) Do the rest looks normally? I mean, for example do you have exactly that entry: avalon-framework-impl-4.1.5.jar - Cocoon 2.1.7/lib/core That line says

  1   2   3   4   >