[mapguide-users] RE: installation problem on Apache/Tomcat with Java

Vladimir G. Kogut vgkogut at chesterwater.com
Wed Mar 29 13:59:04 EST 2006


 
Thanks Alain,
Works perfectly!

Vlad 


-----Original Message-----
From: Alain Lebatard [mailto:alain.lebatard at autodesk.com] 
Sent: Wednesday, March 29, 2006 1:12 PM
To: Vladimir G. Kogut; users at mapguide.osgeo.org
Subject: RE: [mapguide-users] RE: installation problem on Apache/Tomcat
with Java

Vlad,

I don't have an answer to your third question, but for the first two:

1) In order to run the sample you need both lines. The second line is
necessary so Apache forward to Tomcat the requests made to the JSP pages
of the sample application (such as
/mapguide/javaviewersample/ajaxviewersample.jsp)

2) The port number in the redirect statement must be the Apache
listening port, not Tomcat's. In your case it's 8008. Also, the host
name should be your machine name (or IP) otherwise this redirection will
work only when the client runs on the same machine as the web server. 

Alain 

-----Original Message-----
From: Vladimir G. Kogut [mailto:vgkogut at chesterwater.com] 
Sent: Wednesday, March 29, 2006 8:08 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] RE: installation problem on Apache/Tomcat with
Java

 
Stacked with simple problem probably related to installation (Apache and
Tomcat with Java):

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

1)  According to "Installing and Configuring on Windows.pdf" (page 27),
Apache configuration file httpd.conf must have line:  

JkMount  /mapguide/mapviewerjava/* worker1 (and that's what script has
created).

On the other hand, the "Installing Sample Data and Viewer Sample
Application.pdf" (page 8) says that this line should be as follows:

JkMount  /mapguide/javaviewersample/* worker1


My question is, which line is correct or should I have both?
---------------

2)  The same page 27 says that there are 2 additional lines should be
added to httpd.conf: 

Redirect /mapguide/mapviewerajax/
http://<hostname>:<port>/mapguide/mapviewerjava/ajaxviewer.jsp

Redirect /mapguide/mapviewerdwf/
http://<hostname>:<port>/mapguide/mapviewerjava/dwfviewer.jsp

In my default installation case (Apache on port 8008 and Tomcat on port
8080) these lines, I guess, should be:

Redirect /mapguide/mapviewerajax/
http://localhost:8080/mapguide/mapviewerjava/ajaxviewer.jsp
Redirect /mapguide/mapviewerdwf/
http://localhost:8080/mapguide/mapviewerjava/dwfviewer.jsp

Is that correct?
----------------





More information about the Mapguide-users mailing list