[Geoserver-devel] GSIP 112 Upgrade to Java 7

Proposal ready for GeoServer:

http://geoserver.org/display/GEOS/GSIP+112±+Upgrade+to+Java+7

On Wed, Apr 9, 2014 at 6:55 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Proposal ready for GeoServer:

http://geoserver.org/display/GEOS/GSIP+112+-+Upgrade+to+Java+7

Currently the GeoServer build fails on a WPS process test:
Tests in error:
  testRangeLookup(org.geoserver.wps.gs.RangeLookupTest):
org.geotools.data.DataSourceException: Unable to parse the header for the
provided input

I've tried to figure out what is going on already in the last few months
during spare time, but so far, could not
an answer

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

I was unable to reproduce this failure using: mvn clean install -Prelease

Environment: Oracle JDK 1.7.0_51

Is this failure specific to OpenJDK ?

Currently the GeoServer build fails on a WPS process test:

Tests in error:
  testRangeLookup(org.geoserver.wps.gs.RangeLookupTest):
org.geotools.data.DataSourceException: Unable to parse the header for the
provided input

I've tried to figure out what is going on already in the last few months
during spare time, but so far, could not
an answer

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Fri, Apr 11, 2014 at 4:12 PM, Jody Garnett <jody.garnett@anonymised.com>wrote:

I was unable to reproduce this failure using: mvn clean install -Prelease

Environment: Oracle JDK 1.7.0_51

Is this failure specific to OpenJDK ?

No, for me it fails with both Oracle JDK 1.7.0_51 and OpenJDK 1.7.0_51
(and I've seen the same failure on Travis in the past, too)

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Runs from eclipse as well, … note this is one of the tests that generates several pages out system out content.

···

Jody Garnett

On Sat, Apr 12, 2014 at 12:15 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Apr 11, 2014 at 4:12 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

No, for me it fails with both Oracle JDK 1.7.0_51 and OpenJDK 1.7.0_51
(and I’ve seen the same failure on Travis in the past, too)

Cheers

Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


I was unable to reproduce this failure using: mvn clean install -Prelease

Environment: Oracle JDK 1.7.0_51

Is this failure specific to OpenJDK ?

On Fri, Apr 11, 2014 at 4:31 PM, Jody Garnett <jody.garnett@anonymised.com>wrote:

Runs from eclipse as well, .. note this is one of the tests that generates
several pages out system out content.

Fails from eclipse with both jdks for me

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Considering that at least one person has “it works on my machine”, I would have to ask the question “What is different about the environments?” Could it be difference in OS, permissions? Development IDE?

Chris Snider

Senior Software Engineer

Intelligent Software Solutions, Inc.

Direct (719) 452-7257

Description: Description: Description: cid:image001.png@anonymised.com

···

On Fri, Apr 11, 2014 at 4:31 PM, Jody Garnett <jody.garnett@anonymised.com03…> wrote:

Runs from eclipse as well, … note this is one of the tests that generates several pages out system out content.

Fails from eclipse with both jdks for me

Cheers

Andrea

==

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK

for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


On Fri, Apr 11, 2014 at 4:40 PM, Chris Snider <chris.snider@anonymised.com>wrote:

Considering that at least one person has "it works on my machine", I
would have to ask the question "What is different about the environments?"
Could it be difference in OS, permissions? Development IDE?

In my case it's failing in both maven and the IDE, so it's not likely to be
Eclipse, but I use Eclipse Kepler SR1
The rest is Ubuntu 12.04, 64 bit, and the above mentioned JDK versions.
I work in my home folder, so I have full permissions

My hunch is that it's file system iteration order, we are probably getting
the imageio/coverage readers
iterate in a different way (believe there is nothing we can do to make that
order predictable)

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Thanks Andrea, I have created a Jira issue http://jira.codehaus.org/browse/GEOS-6448 so we can track this a bit more formally.

I would like to see if the issue is limited to linux or if it can be reproduced on windows as well.

···

Jody Garnett

On Sat, Apr 12, 2014 at 12:43 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Apr 11, 2014 at 4:40 PM, Chris Snider <chris.snider@anonymised.com> wrote:

Considering that at least one person has “it works on my machine”, I would have to ask the question “What is different about the environments?” Could it be difference in OS, permissions? Development IDE?

In my case it’s failing in both maven and the IDE, so it’s not likely to be Eclipse, but I use Eclipse Kepler SR1
The rest is Ubuntu 12.04, 64 bit, and the above mentioned JDK versions.
I work in my home folder, so I have full permissions

My hunch is that it’s file system iteration order, we are probably getting the imageio/coverage readers
iterate in a different way (believe there is nothing we can do to make that order predictable)

Cheers

Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Found the problem and fixed it: http://jira.codehaus.org/browse/GEOT-4769

Cheers
Andrea

···

On Sat, Apr 12, 2014 at 6:11 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Thanks Andrea, I have created a Jira issue http://jira.codehaus.org/browse/GEOS-6448 so we can track this a bit more formally.

I would like to see if the issue is limited to linux or if it can be reproduced on windows as well.

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Jody Garnett

On Sat, Apr 12, 2014 at 12:43 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Apr 11, 2014 at 4:40 PM, Chris Snider <chris.snider@anonymised.com…> wrote:

Considering that at least one person has “it works on my machine”, I would have to ask the question “What is different about the environments?” Could it be difference in OS, permissions? Development IDE?

In my case it’s failing in both maven and the IDE, so it’s not likely to be Eclipse, but I use Eclipse Kepler SR1
The rest is Ubuntu 12.04, 64 bit, and the above mentioned JDK versions.
I work in my home folder, so I have full permissions

My hunch is that it’s file system iteration order, we are probably getting the imageio/coverage readers
iterate in a different way (believe there is nothing we can do to make that order predictable)

Cheers

Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Thanks, I put in a request to boundless IT it configure OpenJDK 7 on ares.

So if we can ask people to vote on both proposals we should be good to go … next week?

···

Jody Garnett

On Sat, Apr 12, 2014 at 10:38 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Found the problem and fixed it: http://jira.codehaus.org/browse/GEOT-4769

Cheers

Andrea

On Sat, Apr 12, 2014 at 6:11 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Thanks Andrea, I have created a Jira issue http://jira.codehaus.org/browse/GEOS-6448 so we can track this a bit more formally.

I would like to see if the issue is limited to linux or if it can be reproduced on windows as well.

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Jody Garnett

On Sat, Apr 12, 2014 at 12:43 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Apr 11, 2014 at 4:40 PM, Chris Snider <chris.snider@anonymised.com…> wrote:

Considering that at least one person has “it works on my machine”, I would have to ask the question “What is different about the environments?” Could it be difference in OS, permissions? Development IDE?

In my case it’s failing in both maven and the IDE, so it’s not likely to be Eclipse, but I use Eclipse Kepler SR1
The rest is Ubuntu 12.04, 64 bit, and the above mentioned JDK versions.
I work in my home folder, so I have full permissions

My hunch is that it’s file system iteration order, we are probably getting the imageio/coverage readers
iterate in a different way (believe there is nothing we can do to make that order predictable)

Cheers

Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Added my +1 to the proposal

Cheers
Christian

···

On Sat, Apr 12, 2014 at 3:05 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Thanks, I put in a request to boundless IT it configure OpenJDK 7 on ares.

So if we can ask people to vote on both proposals we should be good to go … next week?


Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Jody Garnett

On Sat, Apr 12, 2014 at 10:38 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Found the problem and fixed it: http://jira.codehaus.org/browse/GEOT-4769

Cheers

Andrea

On Sat, Apr 12, 2014 at 6:11 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Thanks Andrea, I have created a Jira issue http://jira.codehaus.org/browse/GEOS-6448 so we can track this a bit more formally.

I would like to see if the issue is limited to linux or if it can be reproduced on windows as well.

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Jody Garnett

On Sat, Apr 12, 2014 at 12:43 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Apr 11, 2014 at 4:40 PM, Chris Snider <chris.snider@anonymised.com…> wrote:

Considering that at least one person has “it works on my machine”, I would have to ask the question “What is different about the environments?” Could it be difference in OS, permissions? Development IDE?

In my case it’s failing in both maven and the IDE, so it’s not likely to be Eclipse, but I use Eclipse Kepler SR1
The rest is Ubuntu 12.04, 64 bit, and the above mentioned JDK versions.
I work in my home folder, so I have full permissions

My hunch is that it’s file system iteration order, we are probably getting the imageio/coverage readers
iterate in a different way (believe there is nothing we can do to make that order predictable)

Cheers

Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


I just tried changing over the geotools master build to an openjdk 7 jdk but there are rendering failures. An oracle jdk 7 vm works fine though. Going with oracle for now until told otherwise.

···

On Sat, Apr 12, 2014 at 7:05 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Thanks, I put in a request to boundless IT it configure OpenJDK 7 on ares.

So if we can ask people to vote on both proposals we should be good to go … next week?


Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive

Jody Garnett

On Sat, Apr 12, 2014 at 10:38 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Found the problem and fixed it: http://jira.codehaus.org/browse/GEOT-4769

Cheers

Andrea

On Sat, Apr 12, 2014 at 6:11 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Thanks Andrea, I have created a Jira issue http://jira.codehaus.org/browse/GEOS-6448 so we can track this a bit more formally.

I would like to see if the issue is limited to linux or if it can be reproduced on windows as well.

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Jody Garnett

On Sat, Apr 12, 2014 at 12:43 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Apr 11, 2014 at 4:40 PM, Chris Snider <chris.snider@anonymised.com…> wrote:

Considering that at least one person has “it works on my machine”, I would have to ask the question “What is different about the environments?” Could it be difference in OS, permissions? Development IDE?

In my case it’s failing in both maven and the IDE, so it’s not likely to be Eclipse, but I use Eclipse Kepler SR1
The rest is Ubuntu 12.04, 64 bit, and the above mentioned JDK versions.
I work in my home folder, so I have full permissions

My hunch is that it’s file system iteration order, we are probably getting the imageio/coverage readers
iterate in a different way (believe there is nothing we can do to make that order predictable)

Cheers

Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it