Re: [Geoserver-users] Native JAI
Hi Andrea, Thanks for your help. I also found the log in GeoWebCache and did a comparison with non populated tile cache :-). I thought I would double check by asking the list to cover all the bases - in case it's used elsewhere. Thanks again. Cheers Rini From: andrea.a...@gmail.com <andrea.a...@gmail.com> on behalf of Andrea Aime <andrea.a...@geo-solutions.it> Sent: Wednesday, 12 October 2016 3:44 PM To: Angreani, Rini (Mineral Resources, Kensington WA); Simone Giannecchini; Kevin Smith Cc: GeoServer Mailing List List; Warren, Peter (Mineral Resources, North Ryde) Subject: Re: [Geoserver-users] Native JAI Hi Rini, that log is actually from GeoWebCache, so a proper performance comparison should be done by hitting a non yet populated tile cache and force GWC to popupate it... like a seeding operation for example. That said, the JAI "crop" operation is actually doing nothing, it's just making the image look smaller to the callers by changing its origin, width and height (thus metadata), so I don't see how a native extension can make any difference. From the javadoc of CropOpImage: * Tiles that are completely inside or intersect the cropped region * (this image's bounds) are simply forwarded from the source. Do NOT * create a child raster even if a tile is not contained in this image's * bounds. Tiles that are outside the croppped region result in a * null return. My guess is that the comment actually relates to an issue in the Java JPEG encoder that fails to encode properly shifted images (ones with origin not 0,0). However this should have been fixed in the meantime. Simone, do you remember any better? To see if the code still has any merit, one should try to remove the BufferedImage extraction code here and see if that actually makes any difference: https://github.com/GeoWebCache/geowebcache/blob/master/geowebcache/core/src/main/java/org/geowebcache/layer/MetaTile.java#L319 It is also to be noted that GeoServer is using its own metatile subclass, with entirely different code, it would be nice to just push back the override, but I'm not 100% sure it's possible (due to dependencies that might be available in GeoServer, but not in GeoWebCache): https://github.com/geoserver/geoserver/blob/master/src/gwc/src/main/java/org/geoserver/gwc/layer/GeoServerMetaTile.java#L162 But yeah, in the context of GeoServer that warning is just noise, since the code depending on that variable is not even executed. Cheers Andrea On Wed, Oct 12, 2016 at 8:07 AM, <rini.angre...@csiro.au<mailto:rini.angre...@csiro.au>> wrote: Hi list, We notice a warning about Native JAI not being installed in the log files. I did a simple WMS GetMap performance comparison with and without native JAI, and they seem to be pretty much the same. Does anyone know if/how native JAI affect performance? WARN [layer.MetaTile] - * Native JAI is not installed, meta tile cropping may be slow Thanks Rini -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial
Re: [Geoserver-users] Native JAI
Hi Rini, that log is actually from GeoWebCache, so a proper performance comparison should be done by hitting a non yet populated tile cache and force GWC to popupate it... like a seeding operation for example. That said, the JAI "crop" operation is actually doing nothing, it's just making the image look smaller to the callers by changing its origin, width and height (thus metadata), so I don't see how a native extension can make any difference. From the javadoc of CropOpImage: * Tiles that are completely inside or intersect the cropped region * (this image's bounds) are simply forwarded from the source. Do NOT * create a child raster even if a tile is not contained in this image's * bounds. Tiles that are outside the croppped region result in a * null return. My guess is that the comment actually relates to an issue in the Java JPEG encoder that fails to encode properly shifted images (ones with origin not 0,0). However this should have been fixed in the meantime. Simone, do you remember any better? To see if the code still has any merit, one should try to remove the BufferedImage extraction code here and see if that actually makes any difference: https://github.com/GeoWebCache/geowebcache/blob/master/geowebcache/core/src/main/java/org/geowebcache/layer/MetaTile.java#L319 It is also to be noted that GeoServer is using its own metatile subclass, with entirely different code, it would be nice to just push back the override, but I'm not 100% sure it's possible (due to dependencies that might be available in GeoServer, but not in GeoWebCache): https://github.com/geoserver/geoserver/blob/master/src/gwc/src/main/java/org/geoserver/gwc/layer/GeoServerMetaTile.java#L162 But yeah, in the context of GeoServer that warning is just noise, since the code depending on that variable is not even executed. Cheers Andrea On Wed, Oct 12, 2016 at 8:07 AM,wrote: > Hi list, > > > > We notice a warning about Native JAI not being installed in the log files. > I did a simple WMS GetMap performance comparison with and without native > JAI, and they seem to be pretty much the same. Does anyone know if/how > native JAI affect performance? > > > > WARN [layer.MetaTile] - * Native JAI is not installed, meta tile > cropping may be slow > > > > Thanks > > Rini > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. --- -- Check out the vibrant tech community on one of the world's most engaging tech
Re: [Geoserver-users] Native JAI imageio
On Thu, Oct 31, 2013 at 8:40 AM, Hakala Oiva (MTT) oiva.hak...@mtt.fiwrote: Hi Seems that using native JAI and imageio causes problems with WFS-T. Tested with Geoserver 2.4.0, Tomcat7, Postgresql 9.1, Postgis 2. I, JDK 1.7.25, Ubuntu 12.04 *Problem: Cannot save data to database.* Not a big problem. Can live well without Native JAI etc. The likeliness of an accelerator to the raster subsystem affecting the ability to write on the database seems to be astronomically low. Please report more details and a way to reproduce, this report is way too generic :-) Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 --- -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI set to False
Ciao David, please, find my answers inline below... Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Mon, Sep 23, 2013 at 7:41 PM, David McKinney geomat...@gmail.com wrote: Ciao Simone, Thank you for responding. I'm on a Linux server. I am not running the GeoServer Suite. Rather, I am only using the GeoServer and GeoWebCache. I finally got the JAI installed correctly, I think. It took several attempts to download a .bin file from the documentation link that was not corrupted. I was able to install the following: jai-1_1_3-lib-linux-amd64-jre.bin An alternative way of installing them is to get the tar.gz and place the SO it contains under something like /usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64 or /usr/lib/jvm/jdk1.6.0_45/jre/lib/i386 After restarting Apache Tomcat6, I see TRUE for Native JAI. However, Native JAI ImageIO is still FALSE. That's because you only installed Native JAI. Native ImageIO is a separate set of SO to be installed similarly but separately. I need to do a little more testing and reading to see if Native JAI ImageIO = TRUE is required for my needs. Perhaps you can offer some insight? It speeds up PNG serving. For JPEG I do recommend using the Libjpeg turbo extension instead, http://docs.geoserver.org/stable/en/user/community/libjpeg-turbo/index.html I am now attempting to upload hundreds of Geotiffs as a bulk upload. This is the primary goal of my endeavor. To date, I have only been able to figure out how to upload one geotiff at a time. I need to be able to load the geotiffs to the GeoServer and have the WMS create the necessary 512x512 tiles at different resolutions. Do you know do I get hundreds of files uploaded as a coverage, such that they can be tiled and served? If these files are part of a mosaic (e.g. orthos) you can put them inside the directory and then use the imagemosaic to create a mosaic by pointing to the parent directory. I would give a shot at these slides (the new version will be online soon): http://goo.gl/TXJRS Just to add a bit to my thoughts, if you want to serve a mosaic off 100+ files at all scales this might be problematic since you might end up opening too many files at once to answer a request at large scales. Anyway, if you'll get to this point I'll help you again, I believe first thing is to get some confidence in using GeoServer. Thanks for any assistance you can offer. Regards, David On Mon, Sep 23, 2013 at 12:45 PM, Simone Giannecchini simone.giannecch...@geo-solutions.it wrote: Ciao David, if JAI is properly installed you need to check the relative checkbox in the JAI Settings panel: http://docs.geoserver.org/stable/en/user/webadmin/server/JAI.html However if in the status page native JAI is false that means it was not installed properly. Can you elaborate a bit on what your OS is and what you did to install native JAI? Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Mon, Sep 23, 2013 at 5:27 PM, David McKinney geomat...@gmail.com wrote: I am using the integrated installation of GeoServer and GeoWebCache (not the suite). I see in the documentation that Native JAI needs to be installed and set to True. It is installed. But the GeoServer Status page says that Native JAI is False. How do I change the status from False to True? Thanks! -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips
Re: [Geoserver-users] Native JAI set to False
Ciao David, if JAI is properly installed you need to check the relative checkbox in the JAI Settings panel: http://docs.geoserver.org/stable/en/user/webadmin/server/JAI.html However if in the status page native JAI is false that means it was not installed properly. Can you elaborate a bit on what your OS is and what you did to install native JAI? Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Mon, Sep 23, 2013 at 5:27 PM, David McKinney geomat...@gmail.com wrote: I am using the integrated installation of GeoServer and GeoWebCache (not the suite). I see in the documentation that Native JAI needs to be installed and set to True. It is installed. But the GeoServer Status page says that Native JAI is False. How do I change the status from False to True? Thanks! -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
Glad to hear it, Michael! I don't remember needing to set any parameters via Tomcat manager or in any files ... just directly in my Windows environment variables: These are the three related to Java or Geoserver that I had set (included the values just for example). BTW, I didn't see anything on PATH related to either. JAVA_HOME = C:\Program Files\Java\jdk1.7.0_04 GEOSERVER_DATA_DIR = C:\Program Files (x86)\geoserver-2.2\data_dir GEOSERVER_HOME = C:\Program Files (x86)\geoserver-2.2 Ben On Tue, Jul 3, 2012 at 3:10 PM, Michael Smith micha...@abag.ca.gov wrote: Ben and Andrea, I finally got it to work today. I ended up adding the JRE home, bin, and lib\ext locations to my PATH statement, probably overkill but it was late enough I just wanted to put all the key directories in the PATH. What really seemed to be the key, though, was entering the locations of the three native JAI JAR files to the 'Java Classpath' line (Java tab) in the Tomcat properties manager. Ben, I am using Windows Server 2003 (32 bit) and Tomcat 6.0.35 so I am not sure if it is directly applicable to your setup, but wanted to pass on what worked for me. Thank you for offering to help! Andrea, thank you for the troubleshooting help. Once I get my development server back I will redo the process to see the minimal steps required to get GeoServer on Windows 2003 to recognize the native JAI and will pass that on if you are interested. One might only have to update the classpath in the Tomcat properties manager, and nothing else, but I do not know as I did not go back and try that. Since the setup I need right now works, I am going to leave it alone. - Michael -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
Michael, I'm hoping to reinstall on a VM and document my install soon. Ben On Monday, July 2, 2012, Michael Smith micha...@abag.ca.gov wrote: The native JAI Windows installers install the files to JAVA_HOME\jre\lib\ext To try and get the Windows installers output recognized I tried the following: 1- set symlinks to the files installed in JAVA_HOME\jre\lib\ext in JAVA_HOME\jre\lib\i386 2 - set symlinks to the files installed in JAVA_HOME\jre\lib\ext in tomcat\webapps\geoserver\WEB-INF\lib (thought I would try this again and leave the 1.1.3 off the end of the file names to see if the name was what caused the server status to read false for native JAI) Neither option worked. I also added the JRE location within the JDK to the system PATH statement. When GeoServer is deployed as a WAR through Apache Tomcat it is not installed as its own service, so there is no wrapper.conf generated that can be edited. To make sure it was not in another location I did a search on the entire drive. - Michael Andrea Aime andrea.a...@geo-solutions.it 6/29/2012 12:11 PM Hmm.. native JAI should be installed in $JAVA_HOME/jre/lib/i386 on such platform. Aren't you using the windows installers? They do place it in the right position. Hum... and then there is the service wrapper, maybe that one needs some configuration as well, see here: http://geo-solutions.blogspot.it/2010/02/fix-gdal-extension-not-working-with.html Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob:+39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
Ben and Andrea, I finally got it to work today. I ended up adding the JRE home, bin, and lib\ext locations to my PATH statement, probably overkill but it was late enough I just wanted to put all the key directories in the PATH. What really seemed to be the key, though, was entering the locations of the three native JAI JAR files to the 'Java Classpath' line (Java tab) in the Tomcat properties manager. Ben, I am using Windows Server 2003 (32 bit) and Tomcat 6.0.35 so I am not sure if it is directly applicable to your setup, but wanted to pass on what worked for me. Thank you for offering to help! Andrea, thank you for the troubleshooting help. Once I get my development server back I will redo the process to see the minimal steps required to get GeoServer on Windows 2003 to recognize the native JAI and will pass that on if you are interested. One might only have to update the classpath in the Tomcat properties manager, and nothing else, but I do not know as I did not go back and try that. Since the setup I need right now works, I am going to leave it alone. - Michael -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
The native JAI Windows installers install the files to JAVA_HOME\jre\lib\ext To try and get the Windows installers output recognized I tried the following: 1- set symlinks to the files installed in JAVA_HOME\jre\lib\ext in JAVA_HOME\jre\lib\i386 2 - set symlinks to the files installed in JAVA_HOME\jre\lib\ext in tomcat\webapps\geoserver\WEB-INF\lib (thought I would try this again and leave the 1.1.3 off the end of the file names to see if the name was what caused the server status to read false for native JAI) Neither option worked. I also added the JRE location within the JDK to the system PATH statement. When GeoServer is deployed as a WAR through Apache Tomcat it is not installed as its own service, so there is no wrapper.conf generated that can be edited. To make sure it was not in another location I did a search on the entire drive. - Michael Andrea Aime andrea.a...@geo-solutions.it 6/29/2012 12:11 PM Hmm.. native JAI should be installed in $JAVA_HOME/jre/lib/i386 on such platform. Aren't you using the windows installers? They do place it in the right position. Hum... and then there is the service wrapper, maybe that one needs some configuration as well, see here: http://geo-solutions.blogspot.it/2010/02/fix-gdal-extension-not-working-with.html Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob:+39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
On Fri, Jun 29, 2012 at 1:29 AM, Michael Smith micha...@abag.ca.gov wrote: After following the insructions provided at http://docs.geoserver.org/stable/en/user/production/java.html#production-javaI am unable to get GeoServer to start after removing the three jai*.jar files from geoserver\WEB-INF on Windows 2003 Server. If the three jai*.jar files are in geoserver\WEB-INF then GeoServer does not recognize the native libraries. Has anyone using Windows 2003 gotten this to work? Windows 2003... 64 or 32 bits? Native JAI is available only for 32 bits on Windows (on Linux you also get 64 bit support) Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob:+39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
On Fri, Jun 29, 2012 at 7:47 PM, Michael Smith micha...@abag.ca.gov wrote: Andrea, Yes, that would have been helpful. I am using the 32 bit version of Windows 2003. I installed Java and the native JAI prior to deploying the GeoServer WAR. The location of the JDK bin directory is at the beginning of the PATH environment variable so it is read first. After I installed Java and set the JAVA_HOME and %JAVA_HOME%\bin environment variables I rebooted the server so the proper Java resource was registered with the system. After installing the native JAI I rebooted again to refresh the system. After deploying the WAR I logged onto GeoServer to check that native JAI was reading false (as it should) then stopped the GeoServer service in Tomcat, deleted the three GeoServer JAI jars and started the service again. Native JAI in Server Status still read false, same after restarting the Tomcat service and rebooting the server again. Hmm.. native JAI should be installed in $JAVA_HOME/jre/lib/i386 on such platform. Aren't you using the windows installers? They do place it in the right position. Hum... and then there is the service wrapper, maybe that one needs some configuration as well, see here: http://geo-solutions.blogspot.it/2010/02/fix-gdal-extension-not-working-with.html Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob:+39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
On Fri, Jun 29, 2012 at 10:05 PM, Benjamin Mearns mea...@udel.edu wrote: Michael, I have the native JAI functioning on Windows Server 2008 R2 Standard SP1 64-bit but with all other components of the stack being 32-bit ... these are the other components: -apache-tomcat-7.0.27.exe (32-bit) -jai_imageio-1_1 (32-bit) -jai-1_1_3 (32-bit) -jre-7u4 (32-bit) and geoserver-2.2-beta2-war It took me awhile (actually gave up for about a year and tried again) to get it working :-p If you need help obtaining any of the components, let me know. It would be great if someone could put togheter some documentation, installing and optimizing GeoServer on Windows 200x Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob:+39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
Michael, I have the native JAI functioning on Windows Server 2008 R2 Standard SP1 64-bit but with all other components of the stack being 32-bit ... these are the other components: -apache-tomcat-7.0.27.exe (32-bit) -jai_imageio-1_1 (32-bit) -jai-1_1_3 (32-bit) -jre-7u4 (32-bit) and geoserver-2.2-beta2-war It took me awhile (actually gave up for about a year and tried again) to get it working :-p If you need help obtaining any of the components, let me know. Ben -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users