Dear Justin
I am again hoping that I will be able to impose on your good nature (or
anybody else who might be able to help). I am afraid that I have got stuck
with trying to link Apache and Tomcat.
I have installed Apache 2.2.4 on my PC (I have Windows XP). This was easy, I
followed the installation wizard and installed Apache without problems. I
can start and stop the service and can access the index.html via
http://localhost. This is on Port 80.
I then installed Tomcat 5.5.20. Again this was straight forward. I followed
the installation wizard. I can start and stop the service and can access its
own index.jsp via http:locahost:8080. (on Port 8080 this time!).
I then follow the following instructions on linking Tomcat to Apache.
http://tomcat.apache.org/connectors-doc/generic_howto/quick.html
1. I put mod_jk.so in C:\Program Files\Apache Software
Foundation\Apache2.2\modules
2. I update httpd.conf as detailed on the web page.
3. I create the worker.properties file on put it in C:\Program Files\Apache
Software Foundation\Apache2.2\conf
However, when I then restart the Apache2 service, I get the following error
message:
'Windows could not start the Apache2 on Local Computer. For more
information, review the System Event Log. If this is a non-Microsoft
service, contact the service vendor, and refer to service-specific error
code 1.'
I had a look at C:\windows\EventSystem.log but couldn't find a entry that
corresponded to this.
If I comment out all the new entries in the httpd.conf file, the Apache2
service will restart. As soon as I put in the first line:
LoadModule jk_module modules/mod_jk.so
The Apache2 service refuses to restart and ends up being stopped.
If you have any comments or suggestions, I would be very grateful to receive
them.
Thank you very much.
Kind Regards
John
Manchester, UK
-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 02 March 2007 15:57
To: John Roberts
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Advice regarding HTTP Servers & GeoServer
Hi John,
Responses inline. I have pointed you at some docs that should help as
well. Let us know if anything is still unclear or if you have any
problems setting it up.
I couldn't find anything in the GeoServer docs on how to set this up.
Perhaps if all goes well you would be willing to help us out with a
quick how to? Perhaps I am getting ahead of myself :).
-Justin
John Roberts wrote:
Dear All
Please could somebody help with my query, either some advice on where to
go
to get the information or the information itself!
I have my spatial data loaded in a PostGIS database and I want to install
MapServer, GeoServer, Deegree and MapGuide Open Source on the same windows
computer which would allow me to compare and contrast the products.
I thought that I would therefore install the latest version of Apache HTTP
server and run all of the products from the same Apache HTTP server.
What I am not sure about is:
1. I have gathered that GeoServer can be run using Apache Tomcat. How do I
configure GeoServer so that it is running from Apache Tomcat and not from
Jetty
Download the war install instead of the binary install. It should be
available in the place your found the binary install.
Assuming you already have tomcat installed you can just drop the
geoserver.war into your tomcat webapps folder and it should start.
2. I have looked the Apache site, and the Apache Tomcat 6.0 contains its
own
HTTP server internally. Therefore if I have already installed Apache HTTP
server, I will be have 2 HTTP servers installed. Can I link the Tomcat to
the independent installation of Apache HTTP server or can I use the HTTP
server bundled with the Tomcat as a HTTP server in its own right?
You can install mod_jk in your apache httpd installation, and the
connector into tomcat. Then apache will forward requests to tomcat and
the two will talk to each other. Information on how to do this can be
found here:
http://tomcat.apache.org/connectors-doc/
3. If I do install Apache and get GeoServer to run from it, how do I stop
Jetty starting up when I start Geoserver going?
With the war download you wont have to worry about jetty.
Any help would be very much appreciated!
Kind Regards
John
Manchester, UK
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:1004,45e836bd316491971556521!
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org