Re: Strange encoding problem using forms

2010-02-11 Thread Dominic Mitchell
On Thu, Feb 11, 2010 at 6:40 AM, Jos Snellings jos.snelli...@pandora.bewrote: The two tomcat versions on the machines are the same, but, can you please make a diff between the two server.xml under $CATALINA_HOME/conf? Just to be sure ... The other thing to check are the system properties

Re: Notes on getting Cocoon 3.0.0-alpha-2 sample app running

2010-01-29 Thread Dominic Mitchell
You may want to look into getting nexus set up in order to avoid these kind of problems. You can create a repository group which includes both central and java.net. As a bonus you should see faster build times. http://nexus.sonatype.org/ -Dom On 28 Jan 2010 14:25, David Legg

Re: character encoding of a HttpServletRequest

2010-01-11 Thread Dominic Mitchell
2010/1/10 Jos Snellings jos.snelli...@pandora.be This is not a specific cocoon issue, I believe. It probably has to do with Tomcat 5.5.27. request.setCharacterEncoding simply does not work; it does not change a thing. request.getCharacterEncoding returns nothing. You have to call

Re: character encoding of a HttpServletRequest

2010-01-11 Thread Dominic Mitchell
On Mon, Jan 11, 2010 at 9:12 AM, Jos Snellings jos.snelli...@pandora.bewrote: Thanks, I will try CharacterEncodingFilter! I will lookup in the code were filtering takes place, because the problem is rather that it looks like the form data are filtered twice. In addition, do I remember right

Re: character encoding of a HttpServletRequest

2010-01-11 Thread Dominic Mitchell
On Mon, Jan 11, 2010 at 10:34 AM, Jos Snellings jos.snelli...@pandora.bewrote: That is right! It is just a confusing situation :-( The filter works fine. The init() method of a generator does not give a chance to call setCharacterEncoding, as the parsing already happened. The good thing is

Re: problem showing pdf as text/plain with resourcereader

2009-12-29 Thread Dominic Mitchell
On Tue, Dec 29, 2009 at 10:16 AM, joao tiago a. m. viegas jtvie...@gmail.com wrote: oh thank you, but I'm not, if you'd read the message till the end you'd see there's: and if in the javascript function i change the function invocation for cocoon.processPipelineTo(pagesave,null,nullos); i

Re: problem showing pdf as text/plain with resourcereader

2009-12-28 Thread Dominic Mitchell
On Thu, Dec 24, 2009 at 7:20 AM, joao tiago a. m. viegas jtvie...@gmail.com wrote: i want to wish everybody an Happy Christmas and an Astounding Happy New Year. in the meantime, somewhere in the lower left corner of Europe, in a cocoon 2.1, i'm still on the flowscript issue and i can't

Re: Exception thrown by Cocoon

2009-12-13 Thread Dominic Mitchell
On Mon, Dec 14, 2009 at 3:40 AM, Chipmuns chipm...@gmail.com wrote: Hi , Could anyone help me on the exception thrown ? Have being try to trace what is the cause but cant pinpoint the real problem. Suspect could it be caused by tcp connection ClientAbortException: java.net.SocketException:

Re: Add custom servlet on cocoon 2.2.0 startup

2009-11-24 Thread Dominic Mitchell
2009/11/24 Gintare Ragaisiene gintare.ragaisi...@gmail.com Hi, I need to initialize a servlet like public class TestServlet extends HttpServlet{ @Override public void init(ServletConfig config) throws ServletException { super.init(config);

Re: [2.2] Configure logging for tests

2009-11-23 Thread Dominic Mitchell
On Mon, Nov 23, 2009 at 3:41 PM, Andreas Hartmann andr...@apache.orgwrote: Hi everyone, I'm using Cocoon 2.2. How do I configure the logging output for my unit tests? This tutorial helped me a lot for the web application, but it doesn't seem to work for the tests …

Re: Samples for Cocoon 2.2

2009-11-11 Thread Dominic Mitchell
On Wed, Nov 11, 2009 at 12:22 AM, Kamal Bhatt bh...@tt.com.au wrote: Hang on, when did Cocoon started being hosted on Git? I was going to make the same suggestion with SVN: http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon-forms/cocoon-forms-1/cocoon-forms-sample/ Which is

Re: Samples for Cocoon 2.2

2009-11-10 Thread Dominic Mitchell
On Tue, Nov 10, 2009 at 7:19 PM, Peter Hargreaves pe...@pdh-online.infowrote: Hi Folks, I've followed the 2.2 tutorials and eventually came to this comment To have a feel for the power of CForms, take a look at the examples included included in the Forms block. I simply can't find out how

Re: Deploying Cocoon 2.2 to tomcat

2009-11-04 Thread Dominic Mitchell
On Wed, Nov 4, 2009 at 10:34 AM, Glen Robson glen.rob...@llgc.org.ukwrote: I'm trying to deploy cocoon to tomcat but I seem to be getting a conflict with the packaging type and maven. If I want the cocoon RCL plugin to run then the package type needs to be jar but if I want to deploy to tomcat

Re: User file uploads

2009-10-06 Thread Dominic Mitchell
On Mon, Oct 5, 2009 at 2:36 PM, Peter Flynn pfl...@ucc.ie wrote: I have a requirement for some of my users to upload documents to a Cocoon server. The files need to be managed by Apache and Tomcat afterwards, so using FTP/sftp won't work because those files will be owned by the user's userid,

Re: Where are {defaults:} set in cocoon 2.2

2009-09-26 Thread Dominic Mitchell
On Sat, Sep 26, 2009 at 7:06 PM, Steven D. Majewski sd...@virginia.eduwrote: Where are defaults set for the {defaults:} input module, now that there is no cocoon.xconf ? Looking through the source code, I'd guess that you need to stuff something like this into

Re: problems with Getting Started 2.2 [was: Starting out with Cocoon 2.2]

2009-09-23 Thread Dominic Mitchell
On Tue, Sep 22, 2009 at 9:58 PM, Steven D. Majewski sd...@virginia.eduwrote: We've been using Cocoon 2.1.* for some time now, but we haven't really been doing a proper build. We've been building the sample app, and using that as a development base, adding new pipelines and sitemaps, and

Re: problems with Getting Started 2.2 [was: Starting out with Cocoon 2.2]

2009-09-23 Thread Dominic Mitchell
On Wed, Sep 23, 2009 at 8:22 AM, Dominic Mitchell d...@happygiraffe.netwrote: My first question would have been: are the dependencies correct? What happens if you run mvn dependency:tree in the webapp? It should include spring dependencies. For reference, this is what I get when running

Re: problems with Getting Started 2.2 [was: Starting out with Cocoon 2.2]

2009-09-23 Thread Dominic Mitchell
On Wed, Sep 23, 2009 at 5:03 PM, Steven D. Majewski sd...@virginia.eduwrote: myBlock1 myBlock2 seem to have all the right dependencies (and they work on their own), but myCocoonWebapp has only the jars from those two blocks: [INFO]

Re: problems with Getting Started 2.2 [was: Starting out with Cocoon 2.2]

2009-09-23 Thread Dominic Mitchell
On Wed, Sep 23, 2009 at 7:22 PM, Steven D. Majewski sd...@virginia.eduwrote: I can create, 'mvn install' 'mvn jetty:run' both myBlock1 myBlock2. When I try to connect the two blocks as in http://cocoon.apache.org/2.2/1291_1_1.html, I get this error on either a jetty:run or an install:

Re: problems with Getting Started 2.2 [was: Starting out with Cocoon 2.2]

2009-09-23 Thread Dominic Mitchell
On Wed, Sep 23, 2009 at 6:50 PM, Steven D. Majewski sd...@virginia.eduwrote: Thanks. Yes -- I saw that observation in the other message. However: it wouldn't build doing just a 'mvn install' on the blocks. Was there a particular reason for the failure when you ran mvn install in the blocks?

Re: problems with Getting Started 2.2 [was: Starting out with Cocoon 2.2]

2009-09-23 Thread Dominic Mitchell
On Wed, Sep 23, 2009 at 7:44 PM, Steven D. Majewski sd...@virginia.eduwrote: On Sep 23, 2009, at 2:36 PM, Robby Pelssers wrote: So if I understand you correctly you have one block depending on the other? Did you also add the dependency of myblock2 in the pom.xml of myblock1? Yes. ( And

Re: problems with Getting Started 2.2 [was: Starting out with Cocoon 2.2]

2009-09-23 Thread Dominic Mitchell
On Wed, Sep 23, 2009 at 7:57 PM, Steven D. Majewski sd...@virginia.eduwrote: On Sep 23, 2009, at 2:50 PM, Dominic Mitchell wrote: On Wed, Sep 23, 2009 at 7:44 PM, Steven D. Majewski sd...@virginia.edu wrote: On Sep 23, 2009, at 2:36 PM, Robby Pelssers wrote: So if I understand you

Re: problems with Getting Started 2.2 [was: Starting out with Cocoon 2.2]

2009-09-23 Thread Dominic Mitchell
On Wed, Sep 23, 2009 at 9:18 PM, Steven D. Majewski sd...@virginia.eduwrote: Thank You!! Both 1.0.0 and 1.0-SNAPSHOT are mismatched in the documentation. I was following the instructions a little too exactly! I wondered about this mismatch at the time, but I thought that perhaps SNAPSHOT

Re: map:match question

2007-01-23 Thread Dominic Mitchell
Martin Holmes wrote: I'm having trouble getting a match to trigger when the URL has a hash followed by a query string. This is my match pattern: map:match pattern=article.htm It works fine when the url is something like this: ...article.htm?id=EMLS3-2FITTNOCTsearchString=nocturne but not if