[mapguide-users] Can not run Simple Application(Java)

Zac Spitzer zac.spitzer at gmail.com
Tue Apr 1 02:21:08 EDT 2008


JkMount  /mapguide2008/javaviewersample/* worker1

looks wrong, the 2008 probably relates to the commercial mapguide, try

JkMount  /mapguide/javaviewersample/* worker1

z

On Tue, Apr 1, 2008 at 5:16 PM, messagesky <messagesky at 126.com> wrote:
>
>
> My Computer: Windows XP, Java:1.5
>
> (1) install MgServerSetup-2.0.0.exe
> (2) install MgWebServerExtensionsSetup-2.0.0.exe
>      Select "Bundled Configuration" ---> Java
> (3) Download Sheboygan.mgp from
> http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp. And
> put it to "MapGuideOpenSource\Server\Packages"
>
> (4) Visit:http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by
> Administrator, admin
>      load package:Sheboygan.mgp succeeded.
>
> (5) Visit:
> http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp
>     Just like this:
>
>           <%@ page import="org.osgeo.mapguide.*" %>
>           <%@ page import="java.util.*" %>
>           <%@ page import="java.io.*" %>
>           <%@ page import="java.text.*" %>
>           <%@ page import="javax.servlet.jsp.*" %>
>           <%@ page import="javax.servlet.http.*" %>
>           <%@ include file ="utilityfunctions.jsp" %>
>
>           <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> "http://www.w3.org/TR/html4/frameset.dtd">
>
> (6) When I Opet the file: WebServerExtensions\Apache2\conf\httpd.conf, add
> "JkMount  /mapguide2008/javaviewersample/* worker1" at the end of file.
>      restart apache. Visit:
> http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp
>   Just like this:
>           <%--
>             -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 import="org.osgeo.mapguide.*" %>
>           <%@ page import="java.util.*" %>
>           <%@ page import="java.io.*" %>
>           <%@ page import="java.text.*" %>
>           <%@ page import="javax.servlet.jsp.*" %>
>           <%@ page import="javax.servlet.http.*" %>
>           <%@ include file ="utilityfunctions.jsp" %>
>
>
>
> My Englis is very poor. Would you like give me some help?
> Thanks a lot.
>
>
>
>
> 2008-04-01 ________________________________
>
> messagesky
> _______________________________________________
>  mapguide-users mailing list
>  mapguide-users at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168


More information about the mapguide-users mailing list