Re: [Geoserver-devel] modification proxy cloning problems

2014-07-03 Thread Andrea Aime
On Thu, Jul 3, 2014 at 5:33 AM, Justin Deoliveira jdeol...@boundlessgeo.com
 wrote:

 Hi all,

 A while back we had a thread discussing some issues with mod proxy cloning
 that appear to only manifest on osx, jdk 1.7. This issue basically makes it
 impossible to run GeoServer locally.

 The problem manifests itself as a ClassNotFoundException resulting from
 calls to cloneMap and cloneCollection when the deepCopy argument is set to
 true. From what I can tell the problem is exactly the one described here:

   https://jira.codehaus.org/browse/JRUBY-5142

 The class loader being used by ObjectOutputStream sometimes ends up being
 the parent of the main application class loader, meaning it doesn't have
 any of the geotools/geoserver/etc.. .classes defined in it. So we end up
 getting a ClassNotFoundException whenever the map or collection contains an
 object not defined in the jre runtime class library.

 So, how about taking the same approach as the JRuby folks and use a custom
 ObjectOutputStream that ensures we always use the app class loader?


Yup, good idea

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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

---
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Could not find artifact org.geoserver:web:pom:2.2-SNAPSHOT

2014-07-03 Thread Smith, Richard C.
PLEASE STOP SENDING ME THESE EMAILS , I AM A NEW EMPLOYEE THAT JUST STARTED 
THIS WEEK AND HAVE NO IDEA WHAT THESE EMAILS PERTAIN TOO, I HAVE REPORTED TO IT 
DESK BUT THAT DIDNT WORK. MY EMAIL IS 
richard.c.sm...@saic.commailto:richard.c.sm...@saic.com


From: geoserver-devel-boun...@lists.sourceforge.net 
[geoserver-devel-boun...@lists.sourceforge.net] on behalf of luis enrique 
bustamante aragón [sco...@hotmail.com]
Sent: Wednesday, July 02, 2014 3:56 PM
To: geoserver-devel@lists.sourceforge.net
Subject: [Geoserver-devel] Could not find artifact 
org.geoserver:web:pom:2.2-SNAPSHOT

Hi thanks for answering my previous questions, I have the source code of 
geoserver and I want to add a module to geoserver but in the section 
Implementing a Wicket UI Extension,When I try to built hello module with mvn 
install, I get the following error:

C:\geoserver\src\helloEnriquemvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.geoserver:helloEnrque:1.0-SNAPSHOT (C:\geoserver\src\h
elloEnrique\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.geoserver:web
:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18,
 column 11 - [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException

Please help me.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Could not find artifact org.geoserver:web:pom:2.2-SNAPSHOT

2014-07-03 Thread Rahkonen Jukka (Tike)
Hi,

Please do not shout. This is a mailing list and there is no person who wants to 
hurt you by sending spam. Somehow your e-mail address is registered as a member 
of the list or then the developer mails are forwarded to you from the mailing 
system of your office. Go to 
https://lists.sourceforge.net/lists/listinfo/geoserver-devel and order a new 
password for your email address. If you receive the password, use it and remove 
yourself from the list. The password reminder does not tell if your email 
address is not registered for the list but if you don't get a new password into 
your mail box you can guess that it was the case: you have not joined the list 
ever but you are receiving forwarded mails from your job. Contact the desk 
again or perhaps your boss, but still, do not shout.

With best regards,

-Jukka Rahkonen-

Lähettäjä: Smith, Richard C. [mailto:richard.c.sm...@saic.com]
Lähetetty: 3. heinäkuuta 2014 13:42
Vastaanottaja: luis enrique bustamante aragón; 
geoserver-devel@lists.sourceforge.net
Aihe: Re: [Geoserver-devel] Could not find artifact 
org.geoserver:web:pom:2.2-SNAPSHOT
Tärkeys: Suuri

PLEASE STOP SENDING ME THESE EMAILS , I AM A NEW EMPLOYEE THAT JUST STARTED 
THIS WEEK AND HAVE NO IDEA WHAT THESE EMAILS PERTAIN TOO, I HAVE REPORTED TO IT 
DESK BUT THAT DIDNT WORK. MY EMAIL IS 
richard.c.sm...@saic.commailto:richard.c.sm...@saic.com

From: 
geoserver-devel-boun...@lists.sourceforge.netmailto:geoserver-devel-boun...@lists.sourceforge.net
 [geoserver-devel-boun...@lists.sourceforge.net] on behalf of luis enrique 
bustamante aragón [sco...@hotmail.com]
Sent: Wednesday, July 02, 2014 3:56 PM
To: 
geoserver-devel@lists.sourceforge.netmailto:geoserver-devel@lists.sourceforge.net
Subject: [Geoserver-devel] Could not find artifact 
org.geoserver:web:pom:2.2-SNAPSHOT
Hi thanks for answering my previous questions, I have the source code of 
geoserver and I want to add a module to geoserver but in the section 
Implementing a Wicket UI Extension,When I try to built hello module with mvn 
install, I get the following error:

C:\geoserver\src\helloEnriquemvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.geoserver:helloEnrque:1.0-SNAPSHOT (C:\geoserver\src\h
elloEnrique\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.geoserver:web
:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18,
 column 11 - [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException

Please help me.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [jira] (GEOS-6560) ModificationProxy cloning has issues on OSX

2014-07-03 Thread Justin Deoliveira (JIRA)
Title: Message Title










 

 Justin Deoliveira created an issue


















 GeoServer /  GEOS-6560



  ModificationProxy cloning has issues on OSX 










Issue Type:

  Bug




Assignee:

 Justin Deoliveira




Created:


 03/Jul/14 1:25 PM




Environment:


 JDK 1.7 OSX




Priority:

  Major




Reporter:

 Justin Deoliveira










Same issue (and solution) as 

JRUBY-5142
.












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)


Re: [Geoserver-devel] modification proxy cloning problems

2014-07-03 Thread Justin Deoliveira
Cool. Pull request.

  https://github.com/geoserver/geoserver/pull/634


On Thu, Jul 3, 2014 at 12:09 AM, Andrea Aime andrea.a...@geo-solutions.it
wrote:

 On Thu, Jul 3, 2014 at 5:33 AM, Justin Deoliveira 
 jdeol...@boundlessgeo.com wrote:

 Hi all,

 A while back we had a thread discussing some issues with mod proxy
 cloning that appear to only manifest on osx, jdk 1.7. This issue basically
 makes it impossible to run GeoServer locally.

 The problem manifests itself as a ClassNotFoundException resulting from
 calls to cloneMap and cloneCollection when the deepCopy argument is set to
 true. From what I can tell the problem is exactly the one described here:

   https://jira.codehaus.org/browse/JRUBY-5142

 The class loader being used by ObjectOutputStream sometimes ends up being
 the parent of the main application class loader, meaning it doesn't have
 any of the geotools/geoserver/etc.. .classes defined in it. So we end up
 getting a ClassNotFoundException whenever the map or collection contains an
 object not defined in the jre runtime class library.

 So, how about taking the same approach as the JRuby folks and use a
 custom ObjectOutputStream that ensures we always use the app class loader?


 Yup, good idea

 Cheers
 Andrea

 --
 ==
 GeoServer Professional Services from the experts! Visit
 http://goo.gl/NWWaa2 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

 ---




-- 
*Justin Deoliveira*
Vice President, Engineering | Boundless
jdeol...@boundlessgeo.com
@j_deolive https://twitter.com/j_deolive
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [jira] (GEOS-6561) GeoServer file browser does not show labels for local drives

2014-07-03 Thread Mike Pumphrey (JIRA)
Title: Message Title










 

 Mike Pumphrey created an issue


















 GeoServer /  GEOS-6561



  GeoServer file browser does not show labels for local drives 










Issue Type:

  Bug




Affects Versions:


 2.5.1




Assignee:

 Andrea Aime




Attachments:


 nodrives.png




Components:


 Wicket UI




Created:


 03/Jul/14 2:53 PM




Environment:


 Windows




Fix Versions:


 2.5.2




Priority:

  Minor




Reporter:

 Mike Pumphrey










My system (Windows 7) has three drives:



[Geoserver-devel] [jira] (GEOS-6562) Python geoscript wps returns Could not convert -100 to target type [D

2014-07-03 Thread Vassilis Dalakas (JIRA)
Title: Message Title










 

 Vassilis Dalakas created an issue


















 GeoServer /  GEOS-6562



  Python geoscript wps returns Could not convert -100 to target type [D 










Issue Type:

  Bug




Affects Versions:


 2.5.1




Assignee:

 Andrea Aime




Attachments:


 bc1.py




Components:


 WPS




Created:


 03/Jul/14 3:00 PM




Environment:


 Ubuntu server




Labels:


 geoscript python input double




Priority:

  Major




Reporter:

 Vassilis Dalakas










I was trying a more advanced wps python script with Geoscript.  I have successfully installed the 2.5.1 Geoserver with the 

[Geoserver-devel] [jira] (GEOS-6563) SQL Server import doesn't preserve geometry SRID's

2014-07-03 Thread Justin Deoliveira (JIRA)
Title: Message Title










 

 Justin Deoliveira created an issue


















 GeoServer /  GEOS-6563



  SQL Server import doesn't preserve geometry SRID's 










Issue Type:

  Bug




Assignee:

 Justin Deoliveira




Components:


 Importer




Created:


 03/Jul/14 4:08 PM




Fix Versions:


 2.5.1




Priority:

  Major




Reporter:

 Justin Deoliveira










Reason being that unlike postgis we don;t have a geometry columns table to look up the srid from. Should be easily fixable by having the importer pass through the CRS via geometry user data (or pass through the srid on the geometry object itself). The JDBC datastores (including sql server) will pick that up. 












   

 Add Comment