[ cocoon 3] Spring configuration

2011-10-11 Thread Andre Juffer
Hi Francesco, The Spring configuration component [1] was in fact already used by default when running the applications as a web application, so that that actually did not solve the issue. My beans for each application are specified in a XML placed META-INF/cocoon/spring (globally accessible

Re: [ cocoon 3] Spring configuration

2011-10-10 Thread Andre Juffer
.html e.g. beans defined by some Spring configuration files in /META-INF/cocoon/spring/ are globally accessible, while those in /COB-INF/config/spring/ are local to the block. Would the same be applicable to Cocoon 3? I will be running three application in the same servlet container as three

Re: [ cocoon 3] Spring configuration

2011-10-08 Thread Francesco Chicchiriccò
configuration files in /META-INF/cocoon/spring/ are globally accessible, while those in /COB-INF/config/spring/ are local to the block. Would the same be applicable to Cocoon 3? I will be running three application in the same servlet container as three different blocks. They will share 2 other blocks. I

[ cocoon 3] Spring configuration

2011-10-06 Thread Andre Juffer
Hi, is there is similar different in scope as with Cocoon 2.2 with regard to the location of Spring configuration files? I am referring to http://cocoon.apache.org/2.2/core-modules/core/2.2/1263_1_1.html e.g. beans defined by some Spring configuration files in /META-INF/cocoon/spring

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2011-04-23 Thread Mark Diggory
Charles, Charles Yates ceyates at stanford.edu writes: Yes, we use spring-3.0.4 and cocoon-2.2 but in a non-standard way. We use our own bean definitions for cocoon components rather than the ones built into the cocoon jars, and have subclassed a number of cocoon classes. The methodology

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-10-31 Thread Andre Juffer
On 10/30/2010 08:34 PM, Charles Yates wrote: Yes, we use spring-3.0.4 and cocoon-2.2 but in a non-standard way. We use our own bean definitions for cocoon components rather than the ones built into the cocoon jars, and have subclassed a number of cocoon classes. The methodology used in getting

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-10-30 Thread Andre Juffer
Has anybody tried to use Spring 3 with cocoon? On 10/29/2010 02:05 PM, Jasha Joachimsthal wrote: Spring 2.5.6 has vulnerability issues, see [1]. It's adviced to upgrade to 2.5.6.SEC02. [1] http://www.springsource.com/security/cve-2010-1622 Jasha Joachimsthal j.joachimst...@onehippo.com

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-10-30 Thread Charles Yates
Yes, we use spring-3.0.4 and cocoon-2.2 but in a non-standard way. We use our own bean definitions for cocoon components rather than the ones built into the cocoon jars, and have subclassed a number of cocoon classes. The methodology used in getting it to work was to just change

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-10-29 Thread Jasha Joachimsthal
/dependency instead of changing cocoon poms. It works fine. Barbara On 19 Oct, 2010, at 11:09 am, Barbara Slupik wrote: Hello I am trying to do it but no success so far. I changed spring dependencies in cocoon-6.pom dependencyManagement section but get error when starting my block in jetty

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-10-28 Thread Barbara Slupik
poms. It works fine. Barbara On 19 Oct, 2010, at 11:09 am, Barbara Slupik wrote: Hello I am trying to do it but no success so far. I changed spring dependencies in cocoon-6.pom dependencyManagement section but get error when starting my block in jetty. What else do I need to change? Error

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-10-19 Thread Barbara Slupik
Hello I am trying to do it but no success so far. I changed spring dependencies in cocoon-6.pom dependencyManagement section but get error when starting my block in jetty. What else do I need to change? Error: 2010-10-19 09:39:10.268:/:INFO: Initializing Spring root

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-04-19 Thread Jeroen Reijn
Hi Robby, I guess it's just changing a maven dependency version right? Maybe we could raise this on the dev list and see if any of the initial 2.2 developers would have any issues with bumping this version. Jeroen On 04/07/2010 05:04 PM, Robby Pelssers wrote: I need to integrate spring-ws

RE: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-04-19 Thread Robby Pelssers
To: users@cocoon.apache.org Subject: Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6 Hi Robby, I guess it's just changing a maven dependency version right? Maybe we could raise this on the dev list and see if any of the initial 2.2 developers would have any issues with bumping

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-04-08 Thread Thomas Markus
Hi, set your version in dependecyManagement section cocoon2.2 with spring 2.5.6 works fine here (since 2 weeks) regards Thomas Am 07.04.2010 17:04, schrieb Robby Pelssers: Hi all, Just wondering if anyone tried to switch to a newer version of spring while using Cocoon2.2. It currently

switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-04-07 Thread Robby Pelssers
Hi all, Just wondering if anyone tried to switch to a newer version of spring while using Cocoon2.2. It currently has a dependency on several spring-xxx.jar version 2.5.1. I need to integrate spring-ws within my cocoon application and this is giving me headaches (probably) due to dependency

Re: Help with Cocoon and Spring

2008-03-11 Thread Patrick Heiden
Hello! But in addition to my concerns about a final deployable war of my webapp, what should I do to deactivate jetty and rcl within my production-environment (wich is going to be Tomcat). This has of course security reasons and should keep my war as small as possible. Is this the

Re: Help with Cocoon and Spring

2008-03-10 Thread Grzegorz Kossakowski
is defined through sitemaps and I am able to define global beans within webApplicationContext.xml and 'block'-specific (local) beans within META-INF/cocoon/spring/*-context.xml. And thats it? Wow! Almost. ;-) As I said earlier current implementation of Spring integration is little bit simplistic

Re: Help with Cocoon and Spring

2008-03-10 Thread Grzegorz Kossakowski
Patrick Heiden pisze: [...] Already back! I would like to suggest you two nice readings which could probably help you understand better Cocoon's architecture and avoid common pitfalls: http://article.gmane.org/gmane.text.xml.cocoon.devel/74571

Re: Help with Cocoon and Spring

2008-03-08 Thread Grzegorz Kossakowski
and route through different views We have DispatcherServlet too but you don't need to bother about it, just create servlet beans declarations in a file placed at /META-INF/cocoon/spring/*.xml of your block, see[1]. Routing to servlet beans is done basing on mount-path attribute. - HOW should I port

Re: Help with Cocoon and Spring

2008-03-08 Thread Patrick Heiden
just define a DispatcherServlet and route through different views We have DispatcherServlet too but you don't need to bother about it, just create servlet beans declarations in a file placed at /META-INF/cocoon/spring/*.xml of your block, see[1]. Routing to servlet beans is done basing

Re: Help with Cocoon and Spring

2008-03-08 Thread Grzegorz Kossakowski
Patrick Heiden pisze: Hello again! First of all: Big compliment for such an active users-list! Thanks! :) [...] To get a bit more specific I am trying to explain what my architecture would/should look like at this state of my cocoon-knowledge. I assume, that basic idea behind

Re: Help with Cocoon and Spring

2008-03-08 Thread Patrick Heiden
[...] I would like to suggest you two nice readings which could probably help you understand better Cocoon's architecture and avoid common pitfalls: http://article.gmane.org/gmane.text.xml.cocoon.devel/74571 http://thread.gmane.org/gmane.text.xml.cocoon.user/63219 (excellent discussion with

Re: Help with Cocoon and Spring

2008-03-08 Thread Patrick Heiden
you did by integrating spring into cocoon is to take springs ability of AOP into the context of servlets (I am aware of the fact that AOP was not introduced by spring ;). So cocoon 2.2 gives architects/developers the chance of designing their applications controllers in a cross-cutting-concerns

Help with Cocoon and Spring

2008-03-07 Thread Patrick Heiden
Hello! I am planning to use Cocoon 2.2 fur a huge web-application and use spring as service-layer together with hibernate for persistance. Both spring and hibernate are within my toolbox for a while, but after reading all tutorials from cocoon.apache.org (and the presentations, too) I am still

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-27 Thread Joerg Heinicke
On 24.09.2007 6:07 Uhr, thuertas wrote: I tried to store beans in a database using Generator, Tansformer and Serializer. That's ok for Generator and Serializer but there's nothing in database when I use a Transformer! So why doesn't it work with a transformer? Is the spring transaction

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-24 Thread thuertas
Hi, I tried to store beans in a database using Generator, Tansformer and Serializer. That's ok for Generator and Serializer but there's nothing in database when I use a Transformer! That's what I did: bean id=serviceProgramsGenerator

[cocoon 2.2] Spring transactions and transformers

2007-09-21 Thread thuertas
Hi, I'm using spring to manage the transactions in my cocoon transformers and generators. Here is the problem: with the generators, everything is ok (my Hibernate beans are stored in the database) but when I use Transformers, it looks like there is no commit done -- no exception and the

[cocoon 2.2] Spring transactions and transformers

2007-09-21 Thread thuertas
Hi, I'm using spring to manage the transactions in my cocoon transformers and generators. Here is the problem: with the generators, everything is ok (my Hibernate beans are stored in the database) but when I use Transformers, it looks like there is no commit done -- no exception and the

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-14 Thread Raphaël Piéroni
/cocoon/spring/ It defines the block and the generator i try to test like this: bean id=com.fcompany.ma-i.block class=org.apache.cocoon.sitemap.SitemapServlet servlet:context mount-path=/ma-i context-path=blockcontext:/ma-i/ / /bean bean id=serviceProgramsGenerator name

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-13 Thread Sébastien Geindre
So general advice for all people: if you develop new components don't declare them in a sitemap. So, in order to use saxon transformer (XSLT 2.0), we have to declare it as spring component ? How ? (newbie in spring...) Thanks Grek !! -- Sébastien Geindre DPREVI/AERO/DEV

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-13 Thread Jason Johnston
On Thu, 13 Sep 2007 17:56:27 +0200, Raphaël Piéroni [EMAIL PROTECTED] wrote: Thanks, I tried, but it doesn't work. Here what i did exactly: ... export defines it's spring stuff in src/main/resources/META-INF/cocoon/spring/ It defines the block and the generator i try to test like

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-12 Thread Raphaël Piéroni
Grzegorz Kossakowski a écrit : Raphaël Piéroni pisze: Hi Guys, I have a transformer defined in the sitemap.xmap. Is it your own transformer? Yep, IIRC, we also have some custom generators. And this transformer have to access the database (DAO w/ transaction) that is defined

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-12 Thread Grzegorz Kossakowski
? Yup i try to inject the service wrapper arround the DAOs (with transaction - spring aop) in a field transformer/generator Then configure your transformer as casual Spring bean and put configuration into META-INF/cocoon/spring. If you wonder how to name your bean just use following pattern

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-12 Thread Raphaël Piéroni
(a DAO) into some property of transformer? Yup i try to inject the service wrapper arround the DAOs (with transaction - spring aop) in a field transformer/generator Then configure your transformer as casual Spring bean and put configuration into META-INF/cocoon/spring. If you

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-12 Thread Grzegorz Kossakowski
Raphaël Piéroni pisze: Do you mean something like this: in my jar defining my block sitemap, i do META-INF/c/s/myGenerators-services.xml in which i do bean name=o.a.c...Generator/myGeneratorName and in my sitemap i do map:pipeline map:match pattern=myPipeline

[cocoon 2.2] Spring configuration of transformers

2007-09-11 Thread Raphaël Piéroni
Hi Guys, I have a transformer defined in the sitemap.xmap. And this transformer have to access the database (DAO w/ transaction) that is defined with spring. But i can't manage to link the 2 information. Is there any documentation or example? Regards, Raphaël Piéroni

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-11 Thread Grzegorz Kossakowski
Raphaël Piéroni pisze: Hi Guys, I have a transformer defined in the sitemap.xmap. Is it your own transformer? And this transformer have to access the database (DAO w/ transaction) that is defined with spring. But i can't manage to link the 2 information. Is this transformer a Spring

Re: Cocoon and Spring

2006-06-02 Thread Derek Hohls
with the MVCs. I am an XML processing fanatic, so I am heading Cocoon all the way:-) It is interesting to see that Cocoon and Spring are getting closer links. Lets hope it doesnt turn out like the whole hibernate fiasco! Spring Hibernate integration fiasco ? I thought it was mature ? Just

Re: Cocoon and Spring

2006-06-01 Thread Mike Casey
Great thanks heaps for that Jason. Thats pretty much what I thought was the case with the MVCs. I am an XML processing fanatic, so I am heading Cocoon all the way:-) It is interesting to see that Cocoon and Spring are getting closer links. Lets hope it doesnt turn out like the whole hibernate

Re: Cocoon and Spring

2006-06-01 Thread Derek Hohls
:-) It is interesting to see that Cocoon and Spring are getting closer links. Lets hope it doesnt turn out like the whole hibernate fiasco! MC On 6/1/06, Jason Johnston [EMAIL PROTECTED] wrote:Mike Casey wrote: Can anyone tell me the experiences they have had with running cocoon with spring

Re: Cocoon and Spring

2006-06-01 Thread Patrick Refondini
Mike Casey wrote: Great thanks heaps for that Jason. Thats pretty much what I thought was the case with the MVCs. I am an XML processing fanatic, so I am heading Cocoon all the way:-) It is interesting to see that Cocoon and Spring are getting closer links. Lets hope it doesnt turn out like

Re: Cocoon and Spring

2006-06-01 Thread Mike Casey
pretty much what I thought was the case with the MVCs. I am an XML processing fanatic, so I am heading Cocoon all the way:-) It is interesting to see that Cocoon and Spring are getting closer links. Lets hope it doesnt turn out like the whole hibernate fiasco!Spring Hibernate integration fiasco ? I

Re: Cocoon and Spring

2006-06-01 Thread Patrick Refondini
heading Cocoon all the way:-) It is interesting to see that Cocoon and Spring are getting closer links. Lets hope it doesnt turn out like the whole hibernate fiasco! Spring Hibernate integration fiasco ? I thought it was mature ? Just wondering (and interested) by what you mean. I have used

Re: Cocoon and Spring

2006-05-31 Thread Jason Johnston
Mike Casey wrote: Can anyone tell me the experiences they have had with running cocoon with spring? In particular, how did you get Spring to run Cocoon and how was this deployed under tomcat? Does the spring MVC framework get in the way of things? Or could they possibly complement each other

Re: Cocoon with Spring and the Acegi-Security-System

2005-05-17 Thread Johannes Becker
and let it run with Cocoon? I had a look at it, but my spring and cocoon-skills weren't this advanced to get it running. Was more of a try and error attempt. Thanks Jonny - To unsubscribe, e-mail: [EMAIL PROTECTED

Cocoon with Spring and the Acegi-Security-System

2005-05-16 Thread Johannes Becker
Hi, has anyone ever tried to integrate the Acegi-Security-System in the Spring-Framework and let it run with Cocoon? I had a look at it, but my spring and cocoon-skills weren't this advanced to get it running. Was more of a try and error attempt. Thanks Jonny

CHS (Cocoon, Hibernate, Spring) not working with Tomcat

2005-05-09 Thread Jonny Becker
WinXP + Cocoon 2.1.7 + Tomcat 5.5.9 Hi, I finally modified the CHS example to work with Hibernate3. Works fine with Jetty. But when I deploy the war-file to Tomcat, I can't reach Cocoon anymore. I get a 404-error. - Does anyone know what could have caused this error? - Is there a way of tracing

RE: CHS (Cocoon, Hibernate, Spring) not working with Tomcat

2005-05-09 Thread Jonny Becker
Hi, never mind. I accidently deployed an old, buggy war. Works fine now. Cheers Jonny From: Jonny Becker [EMAIL PROTECTED] Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: CHS (Cocoon, Hibernate, Spring) not working with Tomcat Date: Mon, 09 May 2005 07:58:35 + WinXP

Questions on CHS (Cocoon, Hibernate, Spring) petstore project

2005-04-11 Thread Jonny Pony
Hi, I've got a couple of questions on the CHS(Cocoon, Hibernate, Spring) petstore project: Nr.1: I want to replace the HSQL with my MySQL database. What must I exactly change in the applicationContext.xml to do that. Is this part still neccessary for my needs or does this only start and stop

Re: Questions on CHS (Cocoon, Hibernate, Spring) petstore project

2005-04-11 Thread Leszek Gawron
Jonny Pony wrote: Hi, I've got a couple of questions on the CHS(Cocoon, Hibernate, Spring) petstore project: my config is: ?xml version=1.0 encoding=UTF-8? !DOCTYPE beans PUBLIC -//SPRING//DTD BEAN//EN http://www.springframework.org/dtd/spring-beans.dtd; beans !-- 'system' beans -- bean id

Re: Questions on CHS (Cocoon, Hibernate, Spring) petstore project

2005-04-11 Thread Jonny Becker
need this mix? Can't I just somewhere refer to my hibernate.cfg.xml. cheers Jonny From: Leszek Gawron [EMAIL PROTECTED] Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: Re: Questions on CHS (Cocoon, Hibernate, Spring) petstore project Date: Mon, 11 Apr 2005 10:59:27 +0200

Re: Questions on CHS (Cocoon, Hibernate, Spring) petstore project

2005-04-11 Thread Mark Lowe
on CHS (Cocoon, Hibernate, Spring) petstore project Date: Mon, 11 Apr 2005 10:59:27 +0200 Jonny Pony wrote: Hi, I've got a couple of questions on the CHS(Cocoon, Hibernate, Spring) petstore project: my config is: ?xml version=1.0 encoding=UTF-8? !DOCTYPE beans PUBLIC -//SPRING//DTD

Re: Questions on CHS (Cocoon, Hibernate, Spring) petstore project

2005-04-11 Thread Ugo Cei
Il giorno 11/apr/05, alle 10:40, Jonny Pony ha scritto: I want to replace the HSQL with my MySQL database. What must I exactly change in the applicationContext.xml to do that. Is this part still neccessary for my needs or does this only start and stop the hsql-database? bean id=hsqlServer

Re: Questions on CHS (Cocoon, Hibernate, Spring) petstore project

2005-04-11 Thread Jonny Becker
. Thanks Jonny From: Ugo Cei [EMAIL PROTECTED] Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: Re: Questions on CHS (Cocoon, Hibernate, Spring) petstore project Date: Mon, 11 Apr 2005 13:56:09 +0200 Il giorno 11/apr/05, alle 10:40, Jonny Pony ha scritto: I want to replace

Re: Questions on CHS (Cocoon, Hibernate, Spring) petstore project

2005-04-11 Thread Ugo Cei
Il giorno 11/apr/05, alle 15:13, Jonny Becker ha scritto: Apache DBCP Pooling is used here. This is probably a dump question. But why aren't there any configurations made? Is DBCP better than c3p0 (in this case)? There aren't any configurations here because it's using the defaults. Any