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 
the dependency then fix what was broken until nothing was.  Sorry I 
can't be more specific than that.  The result is here: 
http://lane.stanford.edu/index.html



  On 10/30/10 2:44 AM, Andre Juffer wrote:

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  -
ja...@apache.org 

Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20
522 4466
USA  • San Francisco  185 H Street Suite B  •  Petaluma CA 94952-5100 •
  +1 (707) 773 4646
Canada•   Montréal  5369 Boulevard St-Laurent #430  •  Montréal QC
H2T 1S5  •  +1 (514) 316 8966
www.onehippo.com   • www.onehippo.org
  • i...@onehippo.com 




On 29 October 2010 07:41, Barbara Slupik
mailto:barbara_slu...@wro.vectranet.pl>> wrote:

Hello

The error was caused by the wrong version for ehcache. It works fine
with ehcache-1.2.4.

I defined spring-2.5.6 dependencies in my application:


org.springframework
spring-web
2.5.6


org.springframework
spring-orm
2.5.6


org.springframework
spring-jdbc
2.5.6


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   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
WebApplicationContext
2010-10-19 09:39:11.448::WARN:  failed

org.mortbay.jetty.plugin.jetty6pluginwebappcont...@c4edc7{/,/Developer/Expertys/cocoon-2.2/admin/target/rcl/webapp}

java.lang.AbstractMethodError:

org.apache.cocoon.tools.rcl.springreloader.SynchronizedConfigureableWebApplicationContext.setConfigLocation(Ljava/lang/String;)V

at

org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:253)


Barbara

On 8 Apr, 2010, at 11:31 am, Thomas Markus wrote:

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
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 conflicts.

So can anyone explain how to make the switch (on Cocoon
side) from using spring 2.5.1 to spring 2.5.6?

And how big is the risk that Cocoon will not work 
anymore?



Any help is very much appreciated.

Kind regards,
Robby Pelssers




-

To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

For additional commands, e-mail:
users-h...@cocoon.apache.org





-

To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

For additional commands, e-mail: users-h...@cocoon.apache.org





-

To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

For additional commands, e-mail: users-h...@cocoon.apache.org









-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



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  -
ja...@apache.org 

Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20
522 4466
USA  • San Francisco  185 H Street Suite B  •  Petaluma CA 94952-5100 •
  +1 (707) 773 4646
Canada•   Montréal  5369 Boulevard St-Laurent #430  •  Montréal QC
H2T 1S5  •  +1 (514) 316 8966
www.onehippo.com   • www.onehippo.org
  • i...@onehippo.com 


On 29 October 2010 07:41, Barbara Slupik
mailto:barbara_slu...@wro.vectranet.pl>> wrote:

Hello

The error was caused by the wrong version for ehcache. It works fine
with ehcache-1.2.4.

I defined spring-2.5.6 dependencies in my application:


org.springframework
spring-web
2.5.6


org.springframework
spring-orm
2.5.6


org.springframework
spring-jdbc
2.5.6


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   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
WebApplicationContext
2010-10-19 09:39:11.448::WARN:  failed

org.mortbay.jetty.plugin.jetty6pluginwebappcont...@c4edc7{/,/Developer/Expertys/cocoon-2.2/admin/target/rcl/webapp}
java.lang.AbstractMethodError:

org.apache.cocoon.tools.rcl.springreloader.SynchronizedConfigureableWebApplicationContext.setConfigLocation(Ljava/lang/String;)V
at

org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:253)

Barbara

On 8 Apr, 2010, at 11:31 am, Thomas Markus wrote:

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
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 conflicts.

So can anyone explain how to make the switch (on Cocoon
side) from using spring 2.5.1 to spring 2.5.6?

And how big is the risk that Cocoon will not work anymore?


Any help is very much appreciated.

Kind regards,
Robby Pelssers




-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

For additional commands, e-mail:
users-h...@cocoon.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

For additional commands, e-mail: users-h...@cocoon.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

For additional commands, e-mail: users-h...@cocoon.apache.org






--
Andre H. Juffer  | Phone: +358-8-553 1161
Biocenter Oulu and   | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juf...@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat   | WWW: www.strubiocat.oulu.fi
NordProt | WWW: www.nordprot.org
Triacle Biocomputing | WWW: www.triacle-bc.com

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org