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
.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
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
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
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
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
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
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
[...]
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
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
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
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
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
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
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/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
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
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
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
?
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
(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
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
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
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
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
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
:-) 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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
55 matches
Mail list logo