Zachary,
use Apache it's easier. In the mail below are my deployment notes. Please
ignore any personal bits:
Apache
Version 2.2.21
64-bit version does not come with mod-jk (Chris found it though).
Integrate Tomcat instead with reverse proxy.
Mod-jk is advisable if SSL is used -- otherwise uncomment in the
httpd.conf:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
Add at the bottom then:
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /geoserver http://localhost:8080/geoserver
ProxyPassReverse /geoserver http://localhost:8080/geoserver
<Location /geoserver>
Order allow,deny
Allow from all
</Location>
See: http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
No installer for Windows services, so make it a service with the httpd –k
install command.
Insert:
So that makes your Tomcat accessible with: http://yourserver/your_program,
in your case Geoserver.
Apache will direct any geoserver request to port 8080.
You can achieve the same thing with IIS though. Please note: Apache has
dll's, so you need 32 or 64 bit version.
Next bit application server. My notes are the following:
Tomcat is pure Java! If the JVM is 64-bit, then Tomcat is.
Version 6.0.35
Parameters of the Tomcat JVM are:
-Dcatalina.home=C:\Tomcat 6.0.35
-Dcatalina.base=C:\Tomcat 6.0.35
-Djava.endorsed.dirs=C:\Tomcat 6.0.35\endorsed
-Djava.io.tmpdir=C:\Tomcat 6.0.35\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Tomcat 6.0.35\conf\logging.properties
-XX:PermSize=128m
-XX:MaxPermSize=512m
-XX:NewSize=900m
-XX:MaxNewSize=2700m
-XX:SurvivorRatio=6
-Xloggc:C:\logs\gc.log
-XX:+PrintGCDetails
With –Xmx 4048 or max memory pool
Running under local system
Do not forget user.xml, (no idea what I thought, when I wrote this)
Set log levels fairly high for production. They are:
SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL
Zach - next add-on:
I am only serving vector layers, in that case Geoserver is rather frugal 2.7
GB isn't that much in the 64-bit world. It pays to be generous with the
PermSpace because Geoserver has a lot of classes.
That is why the memory configuration is like it is. The max full garbage
collection is than less then 500ms.
Hope that helps.
Cheers
Christian
-----
____________________________
Dr Christian Maul
Project Manager
Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000
PO Box 500, East Melbourne Vic 3002
Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Exposing-WMS-WFS-services-tp4998424p4998473.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users