[mapguide-users] MG 1.0.2

Andy Morsell amorsell at spatialgis.com
Wed Oct 25 20:34:32 EDT 2006


I realize that I mis-wrote.  That is the Apache http.conf file, not Tomcat.
 

Andy 


  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Wednesday, October 25, 2006 5:26 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MG 1.0.2


Haris,
It looks like your JSP is not compiling and executing correctly since you
are seeing the HTML output of that file.  Is Tomcat configured and running?
Did you do the bundled Apache/Tomcat install or did you configure Tomcat
manually?  Make sure this section is in Tomcat's http.conf file (paths may
be different for you):
 
#-----------------Start Tomcat connector support
 
LoadModule jk_module modules/mod_jk.so
JkWorkersFile "C:/Program Files/Apache
Group/Apache2/conf/workers.properties"
# Where to put jk logs
JkLogFile "C:/Program Files/Apache Group/Apache2/logs/mod_jk.log"
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send everything for context /examples to worker named
# worker1 (ajp13)
JkMount /mapguide/mapviewerjava/* worker1
Redirect /mapguide/mapviewerajax/
http://127.0.0.1/mapguide/mapviewerjava/ajaxviewer.jsp
Redirect /mapguide/mapviewerdwf/
http://127.0.0.1/mapguide/mapviewerjava/dwfviewer.jsp
 

#-----------------End Tomcat connector support
 

Andy Morsell, P.E. 
Spatial Integrators, Inc. 
http://www.SpatialGIS.com 

  _____  

From: Haris Kurtagic [mailto:haris at sl-king.com] 
Sent: Wednesday, October 25, 2006 5:01 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] MG 1.0.2


After installing mg 1.0.2 from instalation files I downloaded from osgeo, I
am getting this in layer preview or map or web layout in MG studio 2007.
Other things are working except I can't see anything :)
 
<%--
  -Copyright (C) 2004-2006  Autodesk, Inc.
  -This library is free software; you can redistribute it and/or
  -modify it under the terms of version 2.1 of the GNU Lesser
  -General Public License as published by the Free Software Foundation.
 
  -This library is distributed in the hope that it will be useful,
  -but WITHOUT ANY WARRANTY; without even the implied warranty of
  -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  -Lesser General Public License for more details.
 
  -You should have received a copy of the GNU Lesser General Public
  -License along with this library; if not, write to the Free Software
  -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
USA
--%>
 
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page import="org.osgeo.mapguide.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.io.*" %>
<%@ page import="javax.servlet.jsp.*" %>
<%@ page import="javax.servlet.http.*" %>
<%@ include file="mainframe.jsp" %>
 
<%
response.setContentType("text/html; charset=UTF-8");
request.setCharacterEncoding("UTF-8");
MgLocalizer.SetLocalizedFilesPath(getServletContext().getRealPath("/") +
"localized/");
 
GenerateMainPage(0, request, response);
%>
 
 
Any ideas?
Haris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061025/160aae9a/attachment.html


More information about the Mapguide-users mailing list