Cocoon 2.2 with Java 8 and Spring Framework 4.2?

2015-10-23 Thread Gabriel Gruber
Hello Cocooners!

Are there still some people using cocoon in a production application?  We 
still use it in our standard product and now have the challenge to migrate 
to java 1.8 and spring framework 4.2.

While this gives us a few issues to solve in terms of migrating code 
relying on spring 3, we now face the challenge that we have to touch 
cocoon again. As cocoon 2.2 heavily relies on spring, I wondered if anyone 
of you guys has also ready tried to upgrade cocoon 2.2 to spring 4.2 (and 
implicitly also to java 1.8 - also with JDK 1.8 bytecode compatibility 
turned on).

While the trunk of cocoon (2.2) still uses officially spring 2.5.5 it 
actually runs without problems also with latest 3.2.x of spring. But never 
tried with spring 4.x so far and according to our first tries with our 
product I assume there could be some more (heavy) issues, because minimum 
requirements to list of supported libraries has changed quite a bit.

https://github.com/spring-projects/spring-framework/wiki/Migrating-from-earlier-versions-of-the-spring-framework

As an example the Cocoon Spring Configurator needed some small changes, as 
it was not compiling against Spring 4.2. Other projects I have not tried 
so far.

Is there an interest in the community to make this changes in the trunk?

Mit freundlichen Grüssen / Best regards,

Gabriel Gruber
Workflow EDV GmbH

Re: [jira] Updated: (COCOON-2146) Using EventAware cache implementation breaks persistent cache restore on restart

2015-10-23 Thread Peter Hunsberger
It's likely going to be some difference in the class paths used in the two
systems and what libraries are sitting in which parts of the class path.
To check, work backwards from the error; what library is the class in,
where do those libraries sit on your class path, is the 1st one found the
right version?  If it is, are there dependencies it has on other
libraries?  If yes. rep[eat the check for those libraries.  Usually you'll
find the system has set a class path that includes a version of some
duplicate library that will be found earlier than the version Cocoon
wants.  If you can change the class path order, or move libraries around
you should be able to fix the problem.

Peter Hunsberger

On Fri, Oct 23, 2015 at 2:07 AM, josepascual <
josepascual.gim...@softwareag.es> wrote:

> Hi francesco,
> thanks for your answer ...
>
> in our case, the problem is that we try to deploy the web application in
> our
> local environment under our pc windows 7 system.
>
> We can deploy the app under client environment without any problem, the
> customer can use it correctly. We received the maintenance of this
> application several years ago, and when we have to modify something we work
> in our computers and prove over client systems, in Integration environment.
>
> As you will guess this is very difficult manner  to work, because all
> developers share the same environment to prove.
>
> So we decided to try install in our local environment the Sun One over our
> windows and install the app to work. I'm trying to do this for two weeks
> and
> unfortunately it doesn't work.
>
> thanks for advance.
> Regards
> Jose Pascual
>
>
>
> --
> View this message in context:
> http://cocoon.10839.n7.nabble.com/jira-Created-COCOON-2146-Using-EventAware-cache-implementation-breaks-persistent-cache-restore-on-ret-tp45160p58529.html
> Sent from the Cocoon - Dev mailing list archive at Nabble.com.
>


Re: [jira] Updated: (COCOON-2146) Using EventAware cache implementation breaks persistent cache restore on restart

2015-10-23 Thread Francesco Chicchiriccò

On 22/10/2015 17:42, josepascual wrote:

Hello,
we are trying to deploy a cocoon web application in a Sun One 6.1 Server. We
have some problems, one of them is that when the application is starting to
run, fail with this error:

ERROR [main] (DiskStore.java:668) - cocoon-ehcache-1Cache: Failed to write
element to disk 'EVENTREGWRAPPER'. Initial cause was
org.apache.commons.collections.map.MultiValueMap
java.io.NotSerializableException:
org.apache.commons.collections.map.MultiValueMap

Following these post, I have seen that the solution is upgrade to 2.1.11
version of cocoon, we had 2.1.10 version, but the problems are still
happening. We have copied in our war deploying file and install the war in
our Sun One.

Do you have any idea what is happening?


Hi,
this mail subject refers to [1] which was fixed in 2007 (!), with 
partial split to [2] which is still unresolved.
I guess there are no many people around that can help you, neither do I, 
unfortunately.


Having been working with such technology for a long while, I need to 
ask: really there is some SunOne WebServer 6.1 still around?!?


Regards.

[1] https://issues.apache.org/jira/browse/COCOON-2146
[2] https://issues.apache.org/jira/browse/COCOON-2152

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/



Re: [jira] Updated: (COCOON-2146) Using EventAware cache implementation breaks persistent cache restore on restart

2015-10-23 Thread Francesco Chicchiriccò

On 23/10/2015 09:07, josepascual wrote:

Hi francesco,
thanks for your answer ...

in our case, the problem is that we try to deploy the web application in our
local environment under our pc windows 7 system.

We can deploy the app under client environment without any problem, the
customer can use it correctly. We received the maintenance of this
application several years ago, and when we have to modify something we work
in our computers and prove over client systems, in Integration environment.

As you will guess this is very difficult manner  to work, because all
developers share the same environment to prove.

So we decided to try install in our local environment the Sun One over our
windows and install the app to work. I'm trying to do this for two weeks and
unfortunately it doesn't work.


Why not trying a VM with Linux or (Open)Solaris, then?

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/



Re: [jira] Updated: (COCOON-2146) Using EventAware cache implementation breaks persistent cache restore on restart

2015-10-23 Thread josepascual
Hi francesco, 
thanks for your answer ... 

in our case, the problem is that we try to deploy the web application in our
local environment under our pc windows 7 system.

We can deploy the app under client environment without any problem, the
customer can use it correctly. We received the maintenance of this
application several years ago, and when we have to modify something we work
in our computers and prove over client systems, in Integration environment. 

As you will guess this is very difficult manner  to work, because all
developers share the same environment to prove.

So we decided to try install in our local environment the Sun One over our
windows and install the app to work. I'm trying to do this for two weeks and
unfortunately it doesn't work.

thanks for advance.
Regards
Jose Pascual



--
View this message in context: 
http://cocoon.10839.n7.nabble.com/jira-Created-COCOON-2146-Using-EventAware-cache-implementation-breaks-persistent-cache-restore-on-ret-tp45160p58529.html
Sent from the Cocoon - Dev mailing list archive at Nabble.com.